0% found this document useful (0 votes)
267 views

Backup Tips

This document provides various commands for backing up and restoring data, managing tapes, and troubleshooting issues in a Veritas NetBackup environment. It includes commands to restore from disk or tape, clean tapes, check tape status and contents, manage media, expire backups, view drive information, add license keys, and restore backups from tapes imported from other domains or master servers.

Uploaded by

Praveen Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
267 views

Backup Tips

This document provides various commands for backing up and restoring data, managing tapes, and troubleshooting issues in a Veritas NetBackup environment. It includes commands to restore from disk or tape, clean tapes, check tape status and contents, manage media, expire backups, view drive information, add license keys, and restore backups from tapes imported from other domains or master servers.

Uploaded by

Praveen Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

iGate Sensitive

1. How to restore the backed up data from disk or from tape.


ALT_RESTORE_COPY_NUMBER =1 In Veritas->NetBackup then it will restore from primary
copy1 (Disk).

ALT_RESTORE_COPY_NUMBER =2 NetBackup then it will restore from primary copy 2 (Tape).

2. How to clean the tape from Netbackup.
Volmgrbintpclean C tapedrivename (Bangmed01-tld0) (tapedrive)
tpclean Lidentifies the drive which needs to be cleaned.

3. How to know the size of the data written to the tape and its state once the duplications
completed or list media details.
Netbackupbinadmincmdbpmedialist m (Mediaid) ---gives media (allocation date, expiration
date, data size in KB, state (full/active), density (hcart2/hcart3)).


4. Command to display the List of media.
Admincmd bpmedialist U mlist h igteblrnbumed01.igatecorp.com (Displays all the media done
on the media server).
5. Tape Drive Status

6. Tape drive reset or up or down.



iGate Sensitive
7. Delete a volume from the catalog database.








8. List Images written on the tape.

Tape Media Commands:
1. Displays all the Volume pools in the master server.

2. List Tape in specific Volume pool.

iGate Sensitive




3. Tape volume details.




iGate Sensitive




4. How to change Tape Expiration date & barcode of the tape.



Media Commands:
1. List the Storage Units- bpstulist U
2. Command to delete all the images in the required media- bpexpdate -M <mediaid> -d 0
3. How to freeze or unfreeze the media.
bpmedia [-freeze][-unfreeze] -ev <media ID>
4. List Media contents on a specific tape.







iGate Sensitive
5. If a Media server wants to communicate to the master server on a specific IP Address then do
the changes in the registry below.
HKLM\Software\VERITAS\NetBackup\Config\Current Version\Config then add a string value
of REQUIRED_INTERFACE and put the required IP in this string.

Tape drive & Inventory Commands:


1. Displays Tape drive status, host status & pending request of the tape drive.

2. Tape drives status.

3. Pending request for tape drives.


4. How to expire the Backup images on the disk.





iGate Sensitive
5. How to change the media type


6. If you wanted to know what IP address NetBackup was using to perform backups what
command would you run and where would you run it?
bptestbpcd -host <client name> would work, run from the media server



7. If you have a SCSI attached robot and in device monitor you see the drives marked as
AVR, what does that mean and how would you fix it?
It means either the robot control host has lost communication with the robot, or, the drives
have been configured as non- robotic. Either fix the commns issue, or rconfigure the
drives to be in the robot.
8. How to check media or tape is expired or not.



9. What is meant by frozen media and how to troubleshoot frozen media issues.

Media must be unfrozen one at a time.
A media being frozen does not necessarily mean that the media in
question is defective. Freezing media is a safety measure taken by the
NetBackup application to help prevent further errors, drive damage, or
possible data loss.
Investigate if there is any pattern to the media IDs, tape drives or media
servers involved when media are frozen
It is preferable to have bptm enabled at a verbosity of 5 to troubleshoot any media and drive
related issues. The bptm process log does not tend to take up excessive drive space or
resources, even at an elevated verbosity. When a media is frozen, the bptm logs may contain

iGate Sensitive
more detailed information on why the media was frozen that the Activity Monitor or Problems
Report does not state.

10. Command to view and add the license keys in NetBackup..

bpminlicense -list_keys verbose
bpminlicense -add_keys AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GGGG-H

11. List the media Details.

/usr/openv/netbackup/bin/goodies/available_media




12. Command to display information about NB images on media







iGate Sensitive
13. List the Tape drives.



14.

change a drives cleaning frequency tpclean -F <drive> <frequency>
set a drives cleaning time to zero tpclean -M <drive>



Tpconfig Command:
The tpconfig command can be used to configure drives, robots, drive paths, and NDMP hosts for use
with NetBackup. The default for install path is C:\Program Files\VERITAS.
When your device configuration changes are complete, stop and restart the NetBackup
Device Manager Service.


15. How to restore the backup images from the Tape.(Tape from Other domain/Master server).
Import Phase: It is used to update the EMM Database of the media for that we are performing an Import
operation. (Phase 1 & Phase 2)
Once the Media got the Time Assigned means the Media is updated on the EMM Database and will be
able to restore the data from the media.




iGate Sensitive
16. Ran the following command to remove credentials for the storage server configured with IP
address: 10.212.3.76, using below command:
<install_path>\volmgr\bin\tpconfig -delete -storage_server 10.212.3.76 -stype DataDomain -
sts_user_id Admin


17.

You might also like