Ask your questions here.
Post a reply
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.