Rsync Full Disk Backup
$ sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /mnt
Terrible Turkey
$ sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /mnt
we use rsync to perform the backup process in Linux/UNIX.
$ rsync –zvr /home/linuxconcept/newweb/ /var/www/linuxconcept/
$ ls –l /home/linuxconcept/newweb/index.html /var/www/linuxconcept/index.html
$ rsync –zva /home/linuxconcept/newweb/ /var/www/linuxconcept/
$ rsync –v /etc/ssl/linuxconcept/pubkeys /home/linuxconcept/pubkeys
$ rsync -avz /root/temp/ linuxconcept@192.168.2.10:/home/linuxconcept/temp/
$ rsync -avz linuxconcept@192.168.2.10:/home/linuxconcept/satish /root/temp
$ rsync -avz -e ssh linuxconcept@192.168.2.10:/home/linuxconcept/satish /root/temp
$ rsync -avzhe ssh –progress /home/linuxconcept linuxconcept@192.168.2.10:/root/rpmpkgs
$ rsync –avz – -delete linuxconcept@192.168.2.10:/home/linuxconcept/ .
$ rsync –avzhe ssh – -max-size=’400k’ /home/linuxconcept/satish/ linuxconcept@192.168.2.10:/home/linuxconcept/tmp