diaster recovery for linux

January 5, 2008

boot from live cd
mount the partition
mv etc etc.ORG
mv sbin sbin.ORG
mv usr usr.ORG
mv var var.ORG
install the linux and keep all the mount point, do not format the partition
after installation
Restore account
cp /etc.ORG/passwd /etc; cp /etc.ORG/group /etc; cp /etc.ORG/shadow /etc; cp /etc.ORG/gshadow /etc
cp -a /etc.ORG/httpd /etc     <– any service config file you want to restore

Entry Filed under: Linux, redhat. .

1 Comment Add your own

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

January 2008
M T W T F S S
     
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts