Re: [Veritas-bu] NBU 6.5.3 master tanked
Hi You will need to know what was your offline catalog backup tape label before you start: 1. Make sure to call the server the same name as per the original server. 2. Get your robot and drives working on the new server. 3. Install netbackup and patch to 6.5.3. 4. Configure your robot and drives on netbackup. 5. Don’t worry about any other configs at this stage. After recovery the original settings will be back. 6. Run media inventory and check under media tab, check in which slot the catalog tape reside. Let’s say it’s in slot 5 for this example. 7. On command line in …\VERITAS\volmgr\bin\ run robtest. 8. Select your robot and then run m s5 d1 (this means move slot 5 to drive 1) 9. When it comes back successful loaded, exit out of robtest with Q. 10. Then in …\VERITAS\NetBackup\bin\admincmd\ run bprecover –l –tpath \\.\Tape0 11. This should come back with catalog information. If not do #9 again but change to Tape1, Tape1 and so on until you get the catalog info. 12. When you have the info, run in …\VERITAS\NetBackup\bin\admincmd\ bprecover –r –tpath \\.\Tape0 (or whatever tape drive gave you your catalog info) 13. It will start running and prompt you before it starts recovery of the next part of the catalog. 14. When done, stop and restart the netbackup services. 15. Or in …\VERITAS\NetBackup\bin\admincmd\ run bprecover –r ALL – tpath \\.\Tape0 (or whatever tape drive gave you your catalog info) 16. It will start running and when done, stop netbackup services and restart. 17. Check your settings and change where necessary. Hopes this help. JR From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Martin, Jonathan Sent: Wednesday, October 21, 2009 7:17 PM To: Spearman, David; VERITAS-BU@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] NBU 6.5.3 master tanked Install Netbackup and get your library working. Put your catalog backup tape in the library. Inventory the catalog backup tape. Run Phase I and Phase II import of the Catalog Tape Restore the drfile from the tape (unless you already have it available) Use the Catalog Recovery Wizard to restore the Catalog (and other bits) -Jonathan From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Spearman, David Sent: Wednesday, October 21, 2009 1:07 PM To: VERITAS-BU@mailman.eng.auburn.edu Subject: [Veritas-bu] NBU 6.5.3 master tanked Our Windows 6.5.3 master tanked at the worst possible time. We have a scaler i2000 with 10 lto-4 drives attached. I have read the instructions from veritas on using bprecover a dozen times and cannot for the life of me figure out what they are trying to say. 1. Put tape in drive (fine, which one?) 2. Run command bprecover –r –ALL –tpath device_path ? The examples are garbage Any help? David Spearman County of henrico ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] NBU 6.5.3 master tanked
I will state that this worked for me, I did not have the e-mail capture of the drfile setup and I followed that "LAST RESORT" and it worked successfully. Only thing it did not restore was the NBU encryption DB/keys for LTO-4 encryption. You need to know which tape you wrote the catalog to though. Luckily, I had an e-mail of which tape was written to last for the catalog. A regular restore w/drfile works well, have done it many times, but in this case it sounds like you lost everything. You need to get NBU installed etc, setup your robot/drives, then perform the steps under "LAST RESORT" -- you do need to know what tape was the catalog though. Justin. On Wed, 21 Oct 2009, Jonathan Dyck wrote: Were you performing hot-catalog backups? Here's a snip from the email I get after each catalog backup (incremental or full), maybe this will set you up? = 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 PD1158 5. Go to the following directory to find the DR image file Hot-Catalog-Backup_1256122911_INCR: 6. Delete the other files in the directory. 7. Open Hot-Catalog-Backup_1256122911_INCR file and find the BACKUP_ID (for example: _1256122911). 8. Run: bpimport [-server name] -backupid _1256122911 9. Run: bprestore -T -w [-L progress_log] -C -t 35 -p Hot-Catalog-Backup -X -s 1256122911 -e 1256122911 / 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 backup. 14. To make sure the volume information is updated, inventory the media to update the NetBackup database. = -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Spearman, David Sent: October 21, 2009 1:07 PM To: VERITAS-BU@mailman.eng.auburn.edu Subject: [Veritas-bu] NBU 6.5.3 master tanked Our Windows 6.5.3 master tanked at the worst possible time. We have a scaler i2000 with 10 lto-4 drives attached. I have read the instructions from veritas on using bprecover a dozen times and cannot for the life of me figure out what they are trying to say. 1. Put tape in drive (fine, which one?) 2. Run command bprecover -r -ALL -tpath device_path ? The examples are garbage Any help? David Spearman County of henrico La version française suit le texte anglais. This email may contain privileged and/or confidential information, and the Bank of Canada does not waive any related rights. Any distribution, use, or copying of this email or the information it contains by other than the intended recipient is unauthorized. If you received this email in error please delete it immediately from your system and notify the sender promptly by email that you have done so. Le présent courriel
Re: [Veritas-bu] NBU 6.5.3 master tanked
Were you performing hot-catalog backups? Here's a snip from the email I get after each catalog backup (incremental or full), maybe this will set you up? = 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 PD1158 5. Go to the following directory to find the DR image file Hot-Catalog-Backup_1256122911_INCR: 6. Delete the other files in the directory. 7. Open Hot-Catalog-Backup_1256122911_INCR file and find the BACKUP_ID (for example: _1256122911). 8. Run: bpimport [-server name] -backupid _1256122911 9. Run: bprestore -T -w [-L progress_log] -C -t 35 -p Hot-Catalog-Backup -X -s 1256122911 -e 1256122911 / 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 backup. 14. To make sure the volume information is updated, inventory the media to update the NetBackup database. = -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Spearman, David Sent: October 21, 2009 1:07 PM To: VERITAS-BU@mailman.eng.auburn.edu Subject: [Veritas-bu] NBU 6.5.3 master tanked Our Windows 6.5.3 master tanked at the worst possible time. We have a scaler i2000 with 10 lto-4 drives attached. I have read the instructions from veritas on using bprecover a dozen times and cannot for the life of me figure out what they are trying to say. 1. Put tape in drive (fine, which one?) 2. Run command bprecover -r -ALL -tpath device_path ? The examples are garbage Any help? David Spearman County of henrico La version française suit le texte anglais. This email may contain privileged and/or confidential information, and the Bank of Canada does not waive any related rights. Any distribution, use, or copying of this email or the information it contains by other than the intended recipient is unauthorized. If you received this email in error please delete it immediately from your system and notify the sender promptly by email that you have done so. Le présent courriel peut contenir de l'information privilégiée ou confidentielle. La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion, utilisation ou copie de ce courriel ou des renseignements qu'il contient par une personne autre que le ou les destinataires désignés est interdite. Si vous recevez ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre ordinateur toute copie du courriel reçu. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] NBU 6.5.3 master tanked
Install Netbackup and get your library working. Put your catalog backup tape in the library. Inventory the catalog backup tape. Run Phase I and Phase II import of the Catalog Tape Restore the drfile from the tape (unless you already have it available) Use the Catalog Recovery Wizard to restore the Catalog (and other bits) -Jonathan From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Spearman, David Sent: Wednesday, October 21, 2009 1:07 PM To: VERITAS-BU@mailman.eng.auburn.edu Subject: [Veritas-bu] NBU 6.5.3 master tanked Our Windows 6.5.3 master tanked at the worst possible time. We have a scaler i2000 with 10 lto-4 drives attached. I have read the instructions from veritas on using bprecover a dozen times and cannot for the life of me figure out what they are trying to say. 1. Put tape in drive (fine, which one?) 2. Run command bprecover –r –ALL –tpath device_path ? The examples are garbage Any help? David Spearman County of henrico ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
[Veritas-bu] NBU 6.5.3 master tanked
Our Windows 6.5.3 master tanked at the worst possible time. We have a scaler i2000 with 10 lto-4 drives attached. I have read the instructions from veritas on using bprecover a dozen times and cannot for the life of me figure out what they are trying to say. 1. Put tape in drive (fine, which one?) 2. Run command bprecover –r –ALL –tpath device_path ? The examples are garbage Any help? David Spearman County of henrico ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu