Problem
The NetBackup catalog backup fails during staging.
error staging NBDB backup
none of the requested files were backed up (2)
Error Message
9/16/2015 8:57:55 AM - Info bpdbm(pid=7396) staging relational database files for catalog backup
9/16/2015 8:57:55 AM - Info bpdbm(pid=7396) staging BMRDB backup to C:\Program Files\Veritas\NetBackupDB\staging
9/16/2015 8:57:56 AM - Error bpdbm(pid=7396) error staging BMRDB backup to C:\Program Files\Veritas\NetBackupDB\staging
9/16/2015 8:57:56 AM - Error bpdbm(pid=7396) error staging NBAZDB backup to C:\Program Files\Veritas\NetBackupDB\staging
9/16/2015 8:57:56 AM - Info bpdbm(pid=7396) staging NBDB backup to C:\Program Files\Veritas\NetBackupDB\staging
9/16/2015 8:57:56 AM - Error bpdbm(pid=7396) error staging NBDB backup to C:\Program Files\Veritas\NetBackupDB\staging
none of the requested files were backed up (2)
Cause
The NBDB was moved to the staging folder:
Example:"C:\program files\veritas\netbackup\bin\nbdb_move" -data "C:\program files\veritas\netbackupdb\staging"
Solution
1. Determine the actual location of the database.
Example:C:\Program Files\Veritas\NetBackup\bin>bpgetconfig | findstr VXDBMS_NB_DATA
VXDBMS_NB_DATA = C:\program files\veritas\netbackupdb\staging
Note: The VXDBMS_NB_DATA is in the staging folder.
2. View the contents of the vxdbms.conf file.C:\Program Files\Veritas\NetBackupDB\staging\vxdbms.conf
Example:VXDBMS_NB_DATA = C:\program files\veritas\netbackupdb\staging
3. The NBDB backup uses the staging folder for the backup and if the active NBDB is present the backup cannot overwrite itself and therefore must be moved from staging.
Solution: Move the NBDB to another location other than staging.
Example: To move NBDB to the default location.C:\Program Files\Veritas\NetBackup\bin>"C:\program files\veritas\netbackup\bin\nbdb_move" -data "C:\program files\veritas\netbackupdb\data"
If this is cluster setup run following command on other nodes.
"C:\Program Files\Veritas\NetBackup\sec\at\bin\vssregctl" -s -f "C:\Program Files\Veritas\NetBackup\sec\az\bin\VRTSaz.conf" -b "Security\Authorization\Database" -k "AZDBPasswordFilePath" -t string -v "C:\program files\veritas\netbackupdb\data\vxdbms.conf" 1>NUL 2>&1
Move of database files successful.
4. Verify the move.
Example:C:\Program Files\Veritas\NetBackup\bin>bpgetconfig | findstr VXDBMS_NB_DATA
VXDBMS_NB_DATA = C:\program files\veritas\netbackupdb\data
5. Run the catalog backup.