celeste
celeste copied to clipboard
[Feature]: Use `rclone bisync` for internal syncing
Feature Description
After discussion in Celeste's discussion rooms, using rclone bisync is looking more and more promising as a means to sync files. While rclone says the feature is in beta, looking through rclone's GitHub issue tracker doesn't show any glaring problems with the utility.
Key notes:
- We'll be using the
sync/bisyncRPC endpoint to initiate syncs. - We'll be running jobs with
_async, since they might take a while. - Since we'll only be syncing one server at a time, we can use the
core/statsRPC endpoint to keep track of the current sync. - We'll also need to keep track of the job through
job/status, which will show us if any errors arise.
What version of Celeste are you using?
0.8.3