Some rsync options #226
Closed
bigntallmike
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
Thank you, I'll implement this, but give me a few weeks...
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
The -W option is implemented in the development branch and I got transfer rates from 40 to 120 MB/s, thank you! The -u option maybe is not safe as the raspberry might not alway has got the correct time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There's no reason to support partial files and attempt changed-file rsync updates, so you should add the '-W' option to the rsync command-line which always transfers files as whole files instead. I also typically use '-u' to skip files that are newer on the backup drive. If for some random reason there's a matching but newer file on the backup, it means I've probably edited it and don't want it replaced with the camera card version.
Aside: I've also moved the 'sync' command to before the LED is turned off so the LED is truly informative of when the process is complete.
Beta Was this translation helpful? Give feedback.
All reactions