> 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
Attachment:
rsync_backup.sh
Description: application/shellscript
Attachment:
rsync_restore.sh
Description: application/shellscript
bin boot etc home lib lib64 lost+found opt root sbin selinux srv tmp usr var
bin boot etc lib lib64 lost+found misc net opt root sbin selinux srv tmp usr var
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines