Ask your questions here.
Post a reply

backup OS

Tue Nov 15, 2016 3:56 pm

I guess i could find the scripts by searching github for fsmithred, well i already found them there,
but someone can give me the rsync command to backup the whole OS including the --excludes?
Only as a one-line command, no script needed.
Thanks.

Re: backup OS

Tue Nov 15, 2016 4:21 pm

I guess the answer is round the lines of:
rsync -auv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup/folder

though there usage of:
rsync -aAXv
is recommended.
Post a reply