Veritas netbackup software

Hi All,

We have Disaster Recovery(DR) Test at Sungard. we need to test our two production servers. we have solaris 8 and veritas netbackup 5.1 running on them.

my question is when I restore my root data from 8mm tapes on Sungard's servers veritas netbackup software is automatically installed or i need to install it separately to restore my data from the veritas netbackup tapes.

this is the first time i am going for DR test, please help me out.

appreciate u r input.

Who is Participating?
I have done the SunGaurd disaster recovery process using ufsrestore, but our next trip down will be for the same setup as yourself.

As far as I am aware you have to reinstall a basic OS using your disaster recovery process, then install netbackup, restore your catalogues and then restore from your backup.

Also, AKAIK it's a kind of catch 22 scenario, you cant restore your data without netbackup, but you cant run a netbackup restore without there being an OS there in the first place, hence the need for a base OS there in the first place. (not 100% sure of this right enough - maybe someone can confirm??)

And dont worry about going down - they have got engineers on-site who will help you with any queries along the lines of what your after. We take a "battle box" down with us with things such as filesystem layouts and any media that we need (netbackup disks, solaris OS version disks, backup tape etc). These would be the things that you would keep of site to assist with a recovery in the event of a disaster.
You don't need any add on software at all for backup and Disaster Recovery(DR).

You can  mirror root (boot/OS) disk use ( Solstice DiskSuite 4.2.1 from Software CD 2 of 2).

and also perform full backup the OS + data to tape use "ufsdump" (including remote tape) in case on of the disk failed you can boot up from the mirror and replace the faulty HD and keep your system going.

In case all the disk failed (unlikely happen), you can boot from OS CD or (boot
server), partion the HD (make you you have a same number of partions and
the partion size >= the original size (unless to data can fit to a smaller partion).  then use ufsrestore to restore OS + data from the tape backup.
then use the following command to make the disk bootable: (eg disk c0t0d0)

   installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk \

To perform a fullsystem backup, you can do:

         mt -f /dev/rmt/0n rewind
         for fs in `df -Fufs|awk '{print $1}'`
            ufsdump 0uf /dev/rmt/0n $fs

     PS: if you are using remote tape, replace "/dev/rmt/0n" with "remotehost:/dev/rmt/0n "

            you can also use "rsync" donwload from:
      and use rsync to backup the data to another box.

       PS: if you don't want to setup mirror disk, you still can perform full backup to tape/remote-tape, and restore it from the tape backup.
       Just make sure that you keep a note of your current HD partions, and
how your backup the data (which order you backup your file system), eg the
output of "df -Fufs|awk '{print $1} " keep the note with your backup tape, incase
you need it.
If you have root backup on Veritas-managed tapes, then listen to me :-)
- First of all read "Veritas NetBackup troubleshooting guide" 
- Suppose you have absolutely clean disk and no other disk (mirror) is present.

1) Install minimalistic OS to your HDD, partition your disk, BUT install OS into SWAP partition. (probably s1, it _will_ be swap after full restore, but during and installation it's your root). Try to create the same partitions and in the same order as on original server (before crash).
2) Boot new OS from s1 partition
3) Configure network settings and rhosts trusted relations between your server and backup master server. Setup the same IP address and hostname. Also run rsh, rlogin services.
4) PUSH your Veritas Netbackup client software from Veritas Netbackup server to your  new system (read "Installation Guide for Unix". They call it "remote installation")
5) Create filesystems on your new server and mount to somewhere (suppose /mnt/s0 /mnt/s3 ...)
6) Run java version of veritas backup and restore application, select your host, then restore to new directories
7) Install bootrecord as yuzh said (with installboot command)
8) reboot.
9) From now you should have exactly the same sistem as before crash.

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

one more comment with step 8) reboot from partition 0 (previous root, OBP: boot disk:a). Probably Solaris installation will change your default boot device to swap partition. You need to change it then either in OBP or in Solaris with eeprom command)

Veritas uses a different facilty from ufsdump to backup data therefore a ufsrestore with a veritas tape would not work as far as I am aware. From the question though - Its not quite clear what how root filesystem is backed up, whether it is netbackup or ufsdump - could you clarify z670193 ?


You are assuming that the master/media server is seperate from the production server (again - maybe a bit more info on this z670193) . Fair enough. maybe a bit of hindsight on my behalf as our main production server is also our master/media server. In this example you have given - knowing how the diasaster recovery exercise works - it would mean that he would have to build his master/media server first - and then follow your example. SunGuard could pre-build the master/media server for you z670193 - but that defeats the purpose of the exercise does it not?

The whole point of the disaster recovery exercise it is that if you lost your server room - including your master/media server - what would you do to rebuild these servers back to production status from scratch once you got your nice new shiny servers (or SunGuards temporary replacements).
>Its not quite clear what how root filesystem is backed up, whether it is netbackup or ufsdump - could you clarify z670193 ?

it is inside the FOR loop:
  for fs in `df -Fufs|awk '{print $1}'`
            ufsdump 0uf /dev/rmt/0n $fs

  If you backup the filesystem one by one, for the root filesystem, you would type in:
             ufsdump 0uf /dev/rmt/0n  /

  you can run:
         df -Fufs|awk '{print $1}
         to see what filesytem it is backup.

   man ufsdump
   man ufsrestore
   to learn more details.
z670193Author Commented:
yes yuzh,

let me clarify; the root backup is backed up using ufsdump, while all the database and other file system are backed up with Veritas NBU. I will take care of root restore with ufs restore -- that's not a problem. But the main concern is with the the restore of other filesystems, that are backed up using Veritas NBU. After the system is up at DR, I was wondering if the Veritas client software have to be installed to be able to use Veritas for restoration procedure. Any clarification on the issue would be appreciated.

Thank you for all the efforts so far.
You still need to install the client, (re-link the mappings and restore the catalogues if for master/media server).

The pdf link nopius provides has all the info you need...

If its your master/media server you need to restore then page 534 of the documentation has exactly what your looking for by the sounds of it.

If its a client server your trying to restore, then page 537 is what your after.
it denpends on how  Veritas client software was installed and how the disk was

eg, if the  Veritas client software  installed in /usr and / /user are one filesystem,
after you ufrestore the files back to the new disk, you don't need to reinstall Veritas client software  for the box.

If you restore it from a full system backup, (you backup / /usr /var, all the OS part to the tape, then restore them back to the HD), you should be ok, all you app
should be there once you restore all of them from the tape.
z670193Author Commented:
Hi yuzh,

What about the mapping issues that Grass-hopper brought up -- I think he has a point there. After once the restoring is done, do I have to reconfigure the tape drives?

Grass-hopper, is there a link you could provide for the pdf file.. I sure would appreciate it.

Thank you.
>> After once the restoring is done, do I have to reconfigure the tape drives?

No, all your configurations will be restore from the tape.
nopius has provided the link in the his first post...
Hi  z670193,

    You shoul split the points for this question, please read the instructions

    thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.