[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting to runlevel 1



I think you should just backup your / with rsync and its option --exclude-from in order to ignore /proc, /sys, /mnt, /media, /tmp and so on...
Simply put items to ignore into a text <file>:
/proc
/sys
/tmp
/mnt
/media
...

then call rsync:
   rsync <options> --exclude-from=<file>...

Indeed, It is also possible to only backup things that are not managed by apt: /etc, /root, /home, /usr/local, etc. & your aptitude/apt-get installed packages list !


On Friday 29 August 2008 02:15, Shachar Or wrote:
Hi.

In order to rsync my root, I switch to single user mode. While I'm quite
positive that it is good that I quit my desktop session before the rsync,
I'm not sure what good it does to switch to single user mode.

I switch to single user mode by 'shutdown -r now' and selecting it in grub.
Is there a quicker way? 'init 1' seems to get me in a state where there are
a few daemons running that wouldn't be otherwise.

Forgot to mention I'm not subscribed :)



Reply to: