Created
September 23, 2013 01:09
-
-
Save benkaiser/6665435 to your computer and use it in GitHub Desktop.
Rsync backup root folder to external drive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# command from archlinux wiki: https://wiki.archlinux.org/index.php/Full_System_Backup_with_rsync | |
sudo rsync -aAXh --progress --exclude /mnt/ --exclude /media/ --exclude /dev/ --exclude /proc/ --exclude /sys/ --exclude /tmp/ --exclude /run/ --exclude /lost+found/ --exclude /home/benkaiser/Copy --exclude /home/benkaiser/tmp /* /run/media/benkaiser/WD\ 2TB/rsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment