Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

backup OS

Ask your questions here.

backup OS

Postby nadir » 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.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: backup OS

Postby nadir » 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.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred