Re: rsync

mward <mward@...>

What is/are the best options(s) for rsync? I seem to recall using -a previously.
I like to use:

rsync -av --stats $SRC $DST >> $LOGFILE

After a run you can see what happened, useful if there are errors. '--stats' gives a nice summary of how many files xferred, how long it took, etc. Give it a test run with:

rsync -avn --stats $SRC $DST >> $LOGFILE

a weekly basis, will that be any better/worse than setting it in crontab to backup music on Mondays, photos on Tuesdays, /home on Wednesdays at different times of the day?
Not really, considered in the long-term. It means each individual backup job will take less time - that might be an advantage in certain circumstances, e.g. to avoid a conflict with other services.

 Michael Ward

Join to automatically receive all group messages.