Linux backup, a breeze!

Backup in windows was a matter of installing a good software, such as allway sync or something similar. Most of the time, it worked, but sometime, it failed badly (files opened by other programs). Here comes linux:

rsync -vurt –progress –delete /mnt/photos/photos/ /mnt/storage/mnt/Donnees Rapides/Backup/Photos/

This is sooooo easy! No locked files, it works everytime!
/mnt/photos/photos is my local drive

/mnt/storage…. is a network drive

This command copies the new files, erase the ones that disappeared on the source. It mirrors the first path to the second.

This can be put into a cron job to be run periodically.

So efficient!

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *