Backing up the NetBackup Catalog
The Catalog is an integral part of NetBackup and should be protected. In a nutshell the NetBackup Catalog is the internal database containing two fundamental areas:
- Configuration containing information about backup schedules, policies, media and storage devices.
- Backups which contains information including records of the files that have been backed up and the media on which the files are stored.
This post provides a step by step guide to create a backup policy to proctect the NetBackup Catalog.
Creating the Backup Schedules
To protect the NetBackup Catalog, perform the following:
- Start the NetBackup Administration Console and create a new policy.
- On the Attributes tab:
- Select policy type: NBU-Catalog
- Select the desired Storage unit in the Policy Storage field
- Select the Schedules tab
- On the Schedules Attributes tab:
- Type the name of the schedule in the Name field. For example Catalog FULL
- Select Full Backup in the Type of backup field.
- In the Schedule type select Frequency:
- Enter 1 in the frequency field
- Select weeks in the frequency field.
- In the Retention field specify the retention period (how long to keep the backup of the Catalog). For our example select 2 weeks
- Click the Start Window tab
- On the Start Window tab, define a time window when full backups can start:
- In the Start day field select Sunday and in the Start time enter 18:00:00
- In the End day field select Sunday and in the End time enter 23:00:00
- Click Add.
- On the Attributes tab:
- Type the name of the schedule in the Name field. For example Catalog INC
- Select Differential Incremental Backup in the Type of backup field.
- In the Schedule type select Frequency:
- Enter 1 in the frequency field
- Select days in the frequency field.
- In the Retention field specify the retention period (how long to keep the backup of the Catalog). For our example select 2 weeks
- Click the Start Window tab
- On the Start Window tab, define a time window when incremental backups can start:
- Highlight the backup window from 18:00 through to 23:00 for every day with the exception of Sunday
- Click OK
- Click the Disaster Recovery tab
- In the Path field specify a path where the NetBackup DR file will be stored (the Catalog disaster recovery file is useful during recovering NetBackup Catalog and can be local path and remote).
- Specify the E-mail where the DR file will be sent (highly recommended).
- If you have CRITICAL policies that should be recovered before backups from other policies are recovered, you can add then in the Critical policies field.
- Click OK to save the policy.
Summary
In the above steps we have created two backup schedules:
- a Full Backup which runs once a week on a Sunday
- an Incremental Backup which runs everyday except Sunday
You can now run the policy at any time maually outside of the scheduled window.
WARNING: Without regular catalog backups, you risk losing regular backups if there is a problem with the disk that contains the catalogs.