03-25-2022 06:40 AM
Hello everybody, I am trying to recover a NetBackup catalog from an old server and get the following error ...
ERR - Failed to execute command C:\Program Files\Veritas\NetBackup\bin\bprestore.exe -w -T -X -K -C OLDSERVER -t 35 -p DU10_CAT_02 -e 1635493171 -priority 90000 -L "C:\Program Files\Veritas\netbackup\logs\user_ops\NEWSERVER\Administrator\logs\jbpRestore-20220325140534.log" -f "C:\Program Files\Veritas\NetBackup\temp\bprecoverfilelist.tmp" on host NEWSERVER (5)
The old server 'OLDSERVER' was running Windows Server 2012R2, the new server 'NEWSERVER' runs Windows Server 2016. OLDSERVER had NetBackup 8.2 installed, NEWSERVER has NetBackup 8.2 installed.
Is it possible to recover the NetBackup catalog from OLDSERVER on a new server NEWSERVER, which runs a different Windows version, same NetBackup version, but has different name and IP address?
If not, what must be the same and is it possible to recover the catalog and later import it into another server, which has a different name and IP address?
03-25-2022 07:23 AM
For catalog recovery to work, NEWSERVER must have the same name as OLDSERVER.
If you need to fake the hostname, remove all DNS entries from NEWSERVER, and control name resolution in the Windows host name file.
What is written in C:\Program Files\Veritas\netbackup\logs\user_ops\NEWSERVER\Administrator\logs\jbpRestore-20220325140534.log ?
03-25-2022 07:48 AM - edited 03-25-2022 07:49 AM
first of all, thanks for replying so fast. No problem, in this case we moved from Windows Server 2012R2 to Windows Server 2016, but we changed the name and IP address. Obviously IP address change is not the problem, so the name is the real issue then. NetBackup version is also the same.
I suppose the drive and directories for the catalog must also be the same, as on the source server?
I will have a look into the log later!
Questions (as soon as I have recovered the NetBackup Catalog with tricking the host name)
1) Can we change the path of the catalog and dr files?
2) Can we upgrade the server from 8.2 to a more recent version and export the catalog for later use?
3) Can we get rid of the old name 'OLDSERVER' somehow?
03-25-2022 08:47 PM
You should review the NetBackup troubleshooting guide for your version. This has details on recovery operations such as you are attempting in the Disaster Recovery section. Also there is this article which describes (possible) what you are looking to do https://www.veritas.com/support/en_US/article.100022623 "How to use catalog backup and recovery to transfer NetBackup catalogs between Windows master servers as part of a hardware refresh".
Now to your questions: