Jeff Waugh wrote:
<quote who="david">
I'm doing a back up exercise, and google is not helping me.
I've done a copy of the entire root drive using <# rsync -a> onto a back
up drive (small because all data is on seperate drives).
To what extent are /proc and /sys recreated by the system as required, and
to what extent do they need to be backed-up? I hope that question makes
sense.
They're entirely virtual filesystems and don't need to be backed up at all.
In general, you should use the -x (or --one-file-system) parameter with
rsync when you're backing up -- saves backing up (and even reading) useless
crap like this.
So *that's* what -x means ;-)
I've been doing:
# rsync -a --exclude=/media/backupdrive / /media/backupdrive
Without --exclude I get some "interesting" results ;-)
Does the -x switch solve this problem too? It might sound naive, but I
understood the file system to be everything below /
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html