In my setup, I need to sync backups from backup sshfuse mount point to sia. Sync should be two way, i.e. it should delete files that are removed from backup location.
All files are quite large so calculation of sha256 checksum very long time (it should download each file from ssh).
When I use rsync to sync backups between hosts, I normally rely on --size-only option to exclude checksum calculation.
With this PR I have added following changes to the way siasync can be operated, to support my workflow:
ability to sync without monitoring fs for changes
dry-run mode
more verbose debug mode
ability to sync based on file size only
force sync of all files that have changed
remove files that are not present in source directory
In my setup, I need to sync backups from backup sshfuse mount point to sia. Sync should be two way, i.e. it should delete files that are removed from backup location. All files are quite large so calculation of sha256 checksum very long time (it should download each file from ssh). When I use rsync to sync backups between hosts, I normally rely on --size-only option to exclude checksum calculation.
With this PR I have added following changes to the way siasync can be operated, to support my workflow:
Hope you might find this useful as well.