Rsync sequence

Henri Shustak henri.shustak at gmail.com
Tue Jul 20 18:12:06 MDT 2010


> Can I just list them one after the other like so in crontab -e

You may wish to also consider using a single rsync command :

rsync -auv --delete \
/Godfather/Documents \
/Godfather/Setups \
/Godfather/Pictures \
/Godfather/Backups \
/Godfather/Videos \
/Backup # backup destination

With this approach I am not sure which order the source directories will be copied? If the execution order is critical then you are probably best to stick to a separate command for each source directory in a script as has been previously suggested.

Finally, I recommend excessing extreme caution when using the --delete option.
  
I hope this helps.


---------------------------
This email is protected by LBackup, 
an open source backup solution.
http://www.lbackup.org





More information about the rsync mailing list