KMail

Kevin Kempter kevink at consistentstate.com
Thu Feb 25 03:27:38 UTC 2010


> On 02/25/2010 07:15 AM, Jorge Fábregas wrote:
> > On Wednesday 24 February 2010 20:15:48 Kevin Kempter wrote:
> >> I never (ever, ever, ever, ever, ever, ever, ever...) run any updates
> >> (no matter how insignificant they seem) without first running an rsync
> >> of my system  to a backup directory. It's pretty fast given that it's a
> >> diff and in the inevitable case of occasional problems I can rsync my
> >> system back to a perfect "before I ran the updates" state if needed.
> >
> > Hi,
> >
> > I agree. I just posted on this thread that I do an image before applying
> > any updates.
> >
> > I'm wondering...when you rsync back (if you have problems with
> > updates)...do you switch to single-user mode or boot off from CD in order
> > to execute rsync?
> >
> > Best regards,
> > Jorge
> 
> @Jorge :
> The process seems to be great, can you please document the whole thing
> of backing up.
> 


See my scripts attached 

I have them all staged in a directory /stage/rsync and I run 'em as root

The rsync_backup script runs rsync from each directory in the dirlist file and 
sync's it into /stage/backup.  I skip directories such as /dev,  /media, /mnt 
and sys 


In the case of a restore I run rsync_restore.sh in single user mode

The rsync_restore does the reverse for all directories except for /home since 
in most cases I dont want or need to restore my /home dir 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync_backup.sh
Type: application/x-shellscript
Size: 118 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100224/68fce838/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync_restore.sh
Type: application/x-shellscript
Size: 170 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100224/68fce838/attachment-0001.bin 
-------------- next part --------------
bin
boot
etc
home
lib
lib64
lost+found
opt
root
sbin
selinux
srv
tmp
usr
var
-------------- next part --------------
bin
boot
etc
lib
lib64
lost+found
misc
net
opt
root
sbin
selinux
srv
tmp
usr
var


More information about the users mailing list