Disaster Recovery - Linux File System
Before you begin a disaster recovery, make sure to do the following:
- Perform regular backups of the Linux file system. These backups can be scheduled to run at convenient intervals.
- Ensure that the destination client is same as source client while performing a disaster recovery.
- Make sure to Install the Linux Operating System on the system that you want to restore. Make sure to install the Operating System exactly as it existed prior to a hardware or software corruption problem.
- The client computer must have a default install partition with the Linux File System iDataAgent installed on it. Make sure to enable the Networking option. The TCP/IP, hostname, and domain name settings of the default install must match those of the system that you are restoring.
- Create and mount a root file system on the system that you want to restore.
- Type the command to create partitions/slices on the disk.
fdisk [-l] [-b SSZ] [-u] device
- Type the command to create the root file system.
mkfs [-V] [-t fstype] [fs-options] /dev/<hda1> [size]
where <hda1> is the Drive Identifier of the partition where you want to create the root file system.
mkfs [-V] [-t linux] [devfs] /dev/<hda1> 
- Type the command to mount the new root file system at /mnt.
mount /dev/<hda1> /mnt
Where <hda1> is the Drive Identifier of the partition containing the root file system.
mount /dev/<hda1> /mnt
- If any other file systems existed on the root disk before the crash, type the command to recreate them as well.
mkfs [-V] [-t fstype] [fs-options] /dev/<hda2> [size]
- Create an empty directory called "proc" on /mnt.
- If you have recreated any file systems other than root, type the command to mount these as well.
mount /dev/<hda2> /mnt/<file_system_name>
where <file_system_name> is the name of the file system and <hda2> is the Drive Identifier of the partition containing the file system.
- If required, install either the lilo or grub boot loader (per the boot loader that was used in your environment) to the restored disk.
- Exit and restart the computer.
- From the CommCell Browser, navigate to Client Computers | <Client> | File System.
Right-click the defaultBackupSet and then click All Tasks | Browse and Restore.
- In the Restore Options dialog box, click the Advanced Options tab.
Select the Starting Path check box and enter the Linux file system path to the data you wish to restore. You can type "/" as the path to restore the entire content.
Click View Content.
- Click Recover All Selected.
- Clear the Restore to same folder check box.
In the Destination Client list, select the client. If you are mounting the new root file system at /mnt, type or accept "/mnt" as the restore destination in the Specify Destination Path box.
Do not select Unconditional Overwrite option.
Restored data retains its original permissions. The ACLs are restored after the permissions are restored.
- Click Immediate from the Job Initiation tab.
- You can monitor the progress of the restore job in the Job Controller window of the CommCell Console.
- Exit and reboot the computer.
If you have installed to a new server where the mount points may be different, be sure to edit the fstab and mtab files in the restored /etc directory to match the new server. Also, be sure to edit the /boot/grub/menu.lst file to match the new configuration. If there are hardware changes, be sure to reboot to single user first so that you can add new drivers to the operating system if needed.