Video Screencast Help

can DR email be customized ?

Created: 08 Feb 2013 • Updated: 22 Feb 2013 | 5 comments
This issue has been solved. See solution.

I'm looking to add an additional attachemt to the email that is sent after a hot catalog backup (which contains the DR instructions and the attached DR file).

 

Does anyone know where this is configured, what commands are involved, etc, such that I can possibly add an additional attachment ?

 

   Thanks,

      John

Comments 5 CommentsJump to latest comment

Nagalla's picture

I dont think its possible..

The DR mail already have the all instructions to recover the catalogs in case of Disastor.

see the sample below

Email:-  

 

Server
mastername
 
Date
Sun Dec 30 12:03:55 2012
 
Policy
Hot_Catalog_Backups
 
Catalog Backup Status
the requested operation was successfully completed (status 0).
 
To ensure that the NetBackup catalog data is protected through Sun Dec 30 12:03:55 2012, retain a copy of the attached file, and the media  or files listed below:
 
Catalog Recovery Media
        Media Server     Media ID
      * <Mediaservername>       EM0993
 
DR file written to
/NBU_DR_Files/Hot_Catalog_Backups_1356891049_FULL
 
* - Primary Media
 
 
Catalog Recovery Procedure for the Loss of an Entire Catalog
 
You should create a detailed disaster recovery plan to follow should it become necessary to restore your organization's data in the event of a disaster.  A checklist of required tasks can be a tremendous tool in assisting associates in triage.  For example, after the facility is safe for data to be restored, the power and data infrastructure need to be verified.  When these tasks are completed, the following scenarios will help to quickly restore the NetBackup environment, and in turn, restore applications and data.
 
Disaster Recovery Procedure using the DR Image File
 
In the event of a catastrophic failure, use the following procedure to rebuild the previous NetBackup environment.
 
Note: If new hardware is required, make sure that the devices contain drives
capable of reading the media and that the drive controllers are capable of mounting the drives.
 
1. Install NetBackup.
2. Configure the devices necessary to read the media listed above.
3. Inventory the media.
4. Make sure that the master server can access the attached DR image file.
Start the NetBackup Recovery Wizard from the NetBackup Administration
Console.  Or, start the wizard from a command line by entering
bprecover -wizard.
 
Disaster Recovery Procedure without the DR Image File
NOTE: ONLY ATTEMPT THIS AS A LAST RESORT If you do not have the attachment included with this email, use the following instructions to recover your catalog:
 
1. Install NetBackup.
2. Configure the devices necessary to read the media listed above.
3. Inventory the media.
4. Run:
bpimport -create_db_info [-server name] -id EM0993
5. Go to the following directory to find the DR image file
  Hot_Catalog_Backups_1356891049_FULL:
  /usr/openv/netbackup/db/images/mastername/1356000000/tmp
6. Delete the other files in the directory.
7. Open Hot_Catalog_Backups_1356891049_FULL file and find the BACKUP_ID
(for example: <mastername>_1356891049).
8. Run:  
bpimport [-server name] -backupid <mastername>_1356891049
9. Run:
bprestore -T -w [-L progress_log] -C <mastername> -t 35 -p Hot_Catalog_Backups -X -s 1356891049 -e 1356891049 /
10. Run the BAR user interface to restore the remaining image database 
if the DR image is a result of an incremental backup.
11. To recover the NetBackup relational database, run:
bprecover -r -nbdb
12. Stop and Start NetBackup
13. Configure the devices if any device has changed since the last
SOLUTION
Marianne's picture

Totally agree with Nagalla.

What 'additional attachment' do you feel is necessary?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Mark_Solutions's picture

As per the other thread it is not possible - checked this out previosuly and it is hard coded into the dll's /binaries - you could put it forward as an enhancement request

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Mark_Solutions's picture

Haviung said that ... if you just need an additional attachment then on Windows you could edit the mail_dr_info.cmd and edit the blat line that it uses to send the e-mail and attachment - not sure about Unix though

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.