cancel
Showing results for 
Search instead for 
Did you mean: 

Recovery images in second server

troskosys
Level 2

Hi. We have two Netbackup servers with different names. The servers run Solaris 10 with NetBackup Server 7.5.0.7
 

In NetBackup 5.1, we run this task copying de images of a client from server 1 to server 2:

Server1# tar -cf client.tar /opt/openv/netbackup/db/images/client && scp client.tar Server2:

Server2# netbackup stop && cd /opt/openv/netbackup/db/images/ && mv client client.old && tar -xf /path/client.tar && netbackup start

This steps doesn't works in NetBackup 7.5. It's possible do this?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

With partial catalog restore you won't actually need to run a catalog recovery. You'll use cat_export, cat_import for meta data, and the images under /usr/openv/db/images can just be copied to the other server. So you can add to the existing system. Only caveat is you cant put the media information into the other master server, so the media needs to be protected and will always look like they're blank.

View solution in original post

7 REPLIES 7

sdo
Moderator
Moderator
Partner    VIP    Certified

Not a supported action, because you are effectively missing the anciliary image table meta-data which is now stored in the NetBackup database.

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Please explain why you're trying to do this. There are methods available but it depends on the requirement. As SDO pointed out, just a copy won't work anymore.

StefanosM
Level 6
Partner    VIP    Accredited Certified

As sdo already answered, just copping of the image files is not working any more./

with netbackup 7.5 and up, you have to follow the following procedure (download the attachment)
http://www.veritas.com/docs/000026322

troskosys
Level 2

Thanks for the reply

This means that i need to do a partial catalog restore? Know you if this partial restore affect the previous backups of the clients in location2 of server2? 

The server2 have clients of his location

Thanks in advance!

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

With partial catalog restore you won't actually need to run a catalog recovery. You'll use cat_export, cat_import for meta data, and the images under /usr/openv/db/images can just be copied to the other server. So you can add to the existing system. Only caveat is you cant put the media information into the other master server, so the media needs to be protected and will always look like they're blank.

troskosys
Level 2

Thanks. I used this steps and now is working fine:

* Copy /opt/openv/netbackup/db/images/client from server1 to server2

* server1# cat_export -client client -staging -source_master server1

* Move db.export/ (location: /opt/openv/netbackup/) from server1 to server2 in /var/tmp

* server2# cat_import -client client -replace_destination -base /var/tmp/db.export/

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Great