Tuesday 11 June 2013


HOW TO BACKUP AND RESTORE OS

STEPS:
-----------
  1. Tar command to take backup of os files.
root@ebs # tar -zcvf EBS_15MAY2012_OS.tar.gz /*
    1. To restore the backup we need to install new os same as the backup os version (If you are having rhel 4.0 tar file means you have to install new rhel4.0 os in a separate hard disk.)
    1. After installation of new os, Boot the server with another running os or live CD.
    1. Then Restore the backup tar file to newly installed os files.
root@ebs # tar -xzvf EBS_15MAY2012_OS.tar.gz
    1. Now the newly installed os files are overwritten by the backup files.
    1. Now boot the server using os restored hard disk.
    1. Now we can successfully start the old os without missing a single file.
    1. For instance restore simply, we untar the tar file using -xzvf above command in the instance tar.gz files.

No comments:

Post a Comment