rsync backup ubuntu server

print
run from root directory /

cd /

sudo rsync -aAXv –delete –exclude={“/dev/*”,”/proc/*”,”/sys/*”,”/tmp/*”,”/run/*”,”/mnt/second/*”,”/media/*”,”/lost+found/*”} /  /mnt/second/backupserver

Restore Syntax

sudo rsync -aAXv –delete /backup /system

from

How To Backup Your Entire Linux System Using Rsync

and

https://wiki.archlinux.org/index.php/Rsync#As_a_backup_utility

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.