Recovery of a NetBackup Sun Solaris client or server

Article: 100022049
Last Published: 2020-12-07
Ratings: 0 0
Product(s): NetBackup

Problem

Recovery of a NetBackup (tm) Sun Solaris client or server

Solution

A step-by-step procedure to recover a Sun Solaris box from scratch is given below:

Note: C0T0D0S0 (disk0) is the primary original disk (that is being restored to) and C0T1D0S0 (disk1) is the alternate boot disk.

1. Ensure that a complete backup of the client exists

2. At the client's OK prompt, insert the OS CD

3. Enter boot cdrom

4. At the prompt, the network information for the client will need to be provided

 
(This guideline assumes Network Information System (NIS) is in use. If the data is relying on the password and group files for permissions, these files must be restored to an alternate location, put the files in place, and then continue with the restore of data to preserve the permissions that were used to back up the data. If this is not done, files will be restored with root permissions.)
 

5. Select initial install from the Solaris CD, and then select the alternate location boot disk to load the OS
 
6. Use the auto layout option (root and swap partitions only)

7. Make sure that network connectivity exists by pinging the server

8. Run Format and verify that the disk structure for the alternate boot disk is the same as the original disk
 
9. Run newfs -v /dev/rdsk/C0T0D0S0 to create inode info (actual device info will vary)
 
10. Create a directory named /recdisk
 
11. mount /dev/dsk/C0T0D0S0 /recdisk

12. Load NetBackup onto the alternate disk, and install the latest NetBackup patch from the support Web site ( https://www.veritas.com/support/en_US.html)
*** If the master server resides on another machine and is fully operational, skip to step 14. Otherwise, continue with step 13.

13. Perform a NetBackup database recovery. Refer to the Disaster Recovery Report generated by the hot catalog backup.  Often, the hot catalog backup is configured to send the report via email.  See the " Veritas NetBackup Troubleshooting Guide " for further details.


 
    a). Configure the devices necessary to read the media listed above.
 
    b). Inventory the media.
 
    c). Make sure that the master server can access the attached DR image file.
 
    d). Start the NetBackup Recovery Wizard from the NetBackup Administration Console or start the wizard from a command line by entering:
 
bprecover -wizard.
 

 
14. Restore the data by using the restore GUI or bp.  Select the data to be restored and do an alternate path restore to the original disk

 
Note: Rename hard links (turned on) and do not rename softlinks (turned off) must be selected.
 

15. Install the boot block on the original disk by running:

 
installboot /usr/platform/'uname -i'/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0
 

16. Make a directory called /proc on /recdisk

17. Get to OK prompt, and then run setenv boot-device disk

18. If the machine being recovered is a Solaris 10 machine, the following needs to be performed or the boot will fail:
 
/etc/mnttab file will need to exist prior to boot:
 

 
touch /etc/mnttab
 
chmod 444 /etc/mnttab
 

 
Failure to have a skeleton /etc/mnttab prior to boot on a Solaris 10 machine will result in the following error:
 
Warning: Cannot find /etc/mnttab
 

 
Also, messages similar to the below may appear:
 
Sep 11 11:43:00 svc.startd[7]: svc:/system/filesystem/root:default: Method "/lib/svc/method/fs-root" failed with exit status ONE (1).
 


19. At the OK prompt, run boot -r kernel/unix
 
 

 

Was this content helpful?