Last active
May 17, 2021 00:01
-
-
Save binshengliu/8d7a8194c9c390fac70d2185218900a3 to your computer and use it in GitHub Desktop.
Full System Backup
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
# https://wiki.archlinux.org/title/Rsync#Full_system_backup | |
rsync -aAXHv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup | |
# More human readable | |
rsync -aAXHh --info=progress2 --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment