- 论坛徽章:
- 1
|
LS发的是冷备份的恢复。
如果是热备份的恢复步骤如下,有些地方需要做相应的替换。
1. Install NetBackup.
2. Configure the devices necessary to read the media listed above.
3. Inventory the media.
4. Run:
bpimport -create_db_info -id /czy/dssu/srtsun1_1124273553_C1_F1
5. Go to the following directory to find the DR image file
Online-catalog-backup_1124273553_FULL:
/usr/openv/netbackup/db/images/srtsun1/112400000
6. Delete the other files in the directory.
7. Open Online-catalog-backup_1124273553_FULL file and find the BACKUP_ID
(for example: srtsun1_1124273553).
8. Run: bpimport -backupid srtsun1_1124273553
9. Run:
bprestore -T -w [-L progress_log] -C srtsun1 -t 35 -p Online-catalog-backup -X -s 1124273553 -e 1124273553 /
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. |
|