Latest update boots to blank screen (nvidia)

CS DBA cs_dba at consistentstate.com
Thu Aug 25 18:13:10 UTC 2011


On 08/25/2011 11:18 AM, linux guy wrote:
> How did you roll back the update ?
>
> Thanks !

I have a couple of rsync scripts. I run the rsync_backup.sh before I 
apply ANY updates no matter how trivial. Then I can always run 
rsync_restore.sh to roll back.  The only downside is that I have to have 
space in /stage/backup to hold a copy of most of my system (the parts I 
back up), however I have (2) 750GB drives in my laptop and /stage is the 
full second drive so it works out pretty well.  Anything I don't plan on 
backing up I stage on the /stage drive - I have a number of VM's that I 
do not back up in /stage/virtualmachines.  This has saved me from having 
a down / disabled system many many times...


Here's the scripts:

$ cat rsync_backup.sh

#!/bin/bash

for I in `cat dirlist`
do
         echo "[$I]"
         echo "=========="
         rsync -avXA --delete /${I} /stage/backup
done



  $ cat rsync_restore.sh

#!/bin/bash

for I in `cat dirlist2`
do
         echo "[$I]"
         echo "=========="
         rsync -avXA --delete /stage/backup/${I} /
done



and here's my dirlist files (note that I backup /home but in the list 
used for restore I don't bother to restore it, however it's nice to have 
that option):

$ cat dirlist

bin
boot
cgroup
etc
home
lib
lost+found
misc
opt
root
sbin
selinux
srv
tmp
usr
var



$ cat dirlist2

bin
boot
etc
lib
lost+found
misc
net
opt
root
sbin
selinux
srv
tmp
usr
var




-- 
---------------------------------------------
Kevin Kempter       -       Constent State
A PostgreSQL Professional Services Company
           www.consistentstate.com
---------------------------------------------



More information about the users mailing list