Search Storage Mountain
Go to advanced search
(Formerly known as BackupCentral.com)
 

Storage software
Storage hardware
Storage books
Free storage software
Free storage info
Although the old domain name will still work, BackupCentral.com has now become StorageMountain.com. This name better symbolizes our storage-centric content that is no longer just about backup and recovery. Be sure to check out our new storage integrator and disk array directories.
Home
Privacy Policy
Contact Us

(Category) NetBackup Faq-O-Matic
This FAQ is automatically maintained by members of the NetBackup Mailing List. Feel free to browse the FAQ for information, but if you'd like to help maintain the FAQ, please get yourself a Backup Central User ID. (This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Question Categories:
(Category) About this FAQ(-o-matic)
(Category) Support
(Category) Versioning
(Category) Licensing
(Category) Terminology
(Category) Education
(Category) Configuration
(Category) Runtime
(Category) Integrity
(Category) Logging
(Category) Recovery
(Category) Administrative Tasks
(Category) Location of files
(Category) User Backups and Restores
(Category) Media Manager
(Category) Test/Nonsense Category
(Category) Troubleshooting
(Category) Questions About the Command Line Interface to NetBackup (some of which is undocumented)
(Category) Disaster Recovery
(Answer) How to FREEZE media after only 1 media error?
(Answer) Veritas netbackup problem log is contain "unlock 663496 F_UNLCK failed" . What does it mean and how to resoleve this error.is
[Add a New Answer in "NetBackup Faq-O-Matic"]
(Category) (Category) NetBackup Faq-O-Matic :
About this FAQ(-o-matic)
What is the purpose of this FAQ? Who maintains it? How can I get a copy?
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) Disclaimers and legal stuff
(Answer) What is the purpose of this FAQ?
(Answer) Who maintains this FAQ?
(Answer) How do I submit a question for the FAQ?
(Answer) How do I obtain a copy of the FAQ?

[Add a New Answer in "About this FAQ(-o-matic)"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) About this FAQ(-o-matic) :
Disclaimers and legal stuff
This FAQ may not be distributed for financial gain.
No warranties, no guarantees. The information below is believed to be correct, but I have included statements that I have not rigorously verified. If something in this document trashes your server, I'm not responsible, nor are any of my employers, present past or future, nor anyone quoted in this document.
The goal of this FAQ is to cover issues involving Veritas NetBackup. Unless otherwise stated, everything written here is the opinion of the FAQ maintainer, or the individual poster.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) About this FAQ(-o-matic) :
What is the purpose of this FAQ?
This FAQ is the list of frequently asked questions from the NetBackup users mailing list. (See the "support" section of the FAQ for information about this list, including how to subscribe and unsubscribe.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) About this FAQ(-o-matic) :
Who maintains this FAQ?
The FAQ-O-Matic is now maintained by the best people to do so -- people just like you! If you'd like to help us maintain this FAQ, then just get yourself a Backup Central User ID and help! We'd like to give special thanks goes to Doug Setser. Doug created the first version of this FAQ ex nihilo, and for that we will be forever grateful.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) About this FAQ(-o-matic) :
How do I submit a question for the FAQ?
If you have a question and know the answer, please get a Backup Central User ID, and post both the question and the answer to the appropriate category in this FAQ. If you know the question, but not the answer, please submit it to the netbackup mailing list, THEN get a Backup Central User ID and post both the question and the answer to the appropriate category in this FAQ.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) About this FAQ(-o-matic) :
How do I obtain a copy of the FAQ?
The FAQ is currently available on-line at http://www.backupcentral.com/cgi-bin/netbackup-fom
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Support
This section of the FAQ answers the question, "How do I get documentation and help with my NetBackup installation?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) Where is Veritas’ web site?
(Answer) How can I keep up with notifications and updates for NetBackup and Media Manager?
(Answer) How can I keep up with all of Veritas' product lines?
(Answer) What about documention? What's available?
(Answer) Is there an user's group mailing list for Veritas NetBackup?
(Answer) Can I search the archive of this mailing list?
(Answer) Is there a newsgroup for NetBackup?
(Answer) Is there a knowledge base that I can browse?
(Answer) Where can I get patches for NetBackup?
(Answer) How can I get special patches for NetBackup extensions?
(Answer) Can I get technical support from Veritas via email?
(Answer) How do I get technical support from Veritas?

[Add a New Answer in "Support"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Where is Veritas’ web site?
A: The expected - http://www.veritas.com/
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
How can I keep up with notifications and updates for NetBackup and Media Manager?
Visit http://maillist.support.veritas.com/ for a list of Veritas email notification services. Subscribe to the ones that are of interest to you.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
How can I keep up with all of Veritas' product lines?
Veritas publishes a quarterly product promotion magazine called VOX Veritas. Send an email to vox@veritas.com asking them to send you a free copy. Include your name and snail mail address.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
What about documention? What's available?

There's actually quite a bit:

On UNIX, there are actually three directories with manpages under /usr/openv  (/usr/openv/man, /usr/openv/netbackup/man, /usr/openv/volmgr/man).  If you set your MANPATH to include these directories, there's quite a bit of help there.

On NT, there is the standard NT help, of course.

On all platforms, there are PDF versions of all the manuals available.  These files are shipped with the software.  If you don't have them, you should contact your sales rep.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Is there an user's group mailing list for Veritas NetBackup?
Yes, there is an unmoderated mailing list available at http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu with an archive of the list available at http://mailman.eng.auburn.edu/pipermail/veritas-bu/ for mailings after Feb 2000. For archives of the Auburn mailing list from Jan 1997 through Feb 2000, visit http://www.eng.auburn.edu/pub/mail-lists/veritas-users/.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Can I search the archive of this mailing list?

Yes.  Therre is a search engine for the archive at http://mailman.eng.auburn.edu/search.html.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Is there a newsgroup for NetBackup?
A: Yes. Configure your NNTP client to access news://news.support.veritas.com/ for Veritas newsgroups. There are multiple news groups for NetBackup. They are moderated by Veritas staff.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Is there a knowledge base that I can browse?
A: Yes, visit http://seer.support.veritas.com/search/techsearch.asp to access Veritas’ free tech database.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Where can I get patches for NetBackup?
A: Visit ftp://ftp.support.veritas.com/pub/support/Products/ for patches. You should logon anonymously.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
How can I get special patches for NetBackup extensions?
A: NetBackup extension patches are username and password protected. Refer to technotes - http://seer.support.veritas.com/tnotes/NETBACKUP/204740.htm for details on obtaining these patches.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
Can I get technical support from Veritas via email?
A: Technical support via email requires a support contract. You may subscribe by calling 800.342.0652. If you have support, visit http://seer.support.veritas.com/email_forms/email_support.asp and enter the requested information into their web based form.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Support :
How do I get technical support from Veritas?
A: Support is available at 800.634.4747. You must have paid support to use this service. If you do not have a support contract you may subscribe by calling Veritas Software 800.327.2232.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Versioning
This section of the FAQ answers the question, "What are the different versions, how do I know which one I have, and how do they behave?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) What version(s) of NetBackup server am I running?
(Answer) What version(s) of NetBackup client am I running?</
(Answer) What patches have been installed for NetBackup?
(Answer) I am thinking about upgrading to 3.4. Must I upgrade my clients to 3.4 also?
(Answer) What version of Media Manager am I running?
(Answer) How can I tell what the firmware level of my tape drive is?

[Add a New Answer in "Versioning"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Versioning :
What version(s) of NetBackup server am I running?
A: On Unix, examine the file /usr/openv/netbackup/version for version and release date information.  On NT, use the Help | About tab.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Versioning :
What version(s) of NetBackup client am I running?</
A: On Unix, examine the file /usr/openv/netbackup/bin/version for client versioning information. On NT, use the Help | About tab.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Versioning :
What patches have been installed for NetBackup?
A: ON Unix server(s), examine /usr/openv/patch/patch.history file for UNIX systems. Examine the <install_dir>:\veritas\patch\History.Log file for NT systems. For the clients, examine the version file for the latest patch.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Versioning :
I am thinking about upgrading to 3.4. Must I upgrade my clients to 3.4 also?
It is normally supported to have your server at a higher version than your clients.  In the case of 3.4, however there were some changes made that give you two choices:

1. Upgrade all your 3.2 clients to the latest 3.2 jumbo patch before upgrading your server to 3.4.
2. Upgrade all your 3.2 clients to 3.4.

In either case, you just need to load the software and the latest patch, and issue the command update_clients (for UNIX clients).  For NT Clients, you will need to upgrade them from an NT server with the proper permissions.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Versioning :
What version of Media Manager am I running?
A: On Unix servers, examine the file /usr/openv/volmgr/version. On NT servers, use the Help | About tab.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Versioning :
How can I tell what the firmware level of my tape drive is?
A: On Solaris, you can run the command /usr/openv/volmgr/bin/sgscan –v. The last column of output will be the firmware level.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
While this is mostly (and rightfully) a unix forum for backup solutions, Hewlett Packard makes a spiffy lil tool for their Tape Drives that allows querying (firmware), updating (firmware), testing, etc. The URL for this nifty tool is:
http://www.hp.com/cposupport/information_storage/support_doc/lpg50123.html
Please note that in order to really squeeze all the life out of this tool possible, I would recommend installing it on a Windows NT system as many autoloaders, changers, etc. are not supported under Win 9x. I will post more information on getting firmware from various OS's soon (hopefully).

mailto:hemingways_whiterabbit@yahoo.com?subject=NetBackup Faq-O-Matic
The following tool can be compiled for the following OS's to query firmware, load and unload storage elements from the command line, etc. I have been having problems with my changer so it's been a lifesaver for me.
MTX OS Support: Linux, IRIX, Digital Unix, OpenVMS, Solaris Source Code & FAQ
http://mtx.sourceforge.net/
Hope this helps someone, somewhere.
mailto:hemingways_whiterabbit@yahoo.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Licensing
This section of the FAQ answers the question, "How is this product licensed, and how does that affect me?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) Is NetBackup licensed?
(Answer) How do I get my licenses?
(Answer) What type of licenses are there?
(Answer) How does upgrading work?

[Add a New Answer in "Licensing"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Licensing :
Is NetBackup licensed?
Version 3.4 has introduced licensing, although they are not tied to the host ID. Previous versions rely solely on legal protection of the software.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Licensing :
How do I get my licenses?
A: Your licenses should be included in the media & documentation kit you obtain when you purchase the product. If you have difficulties you may call 650.318.4265 or email license@veritas.com.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Licensing :
What type of licenses are there?
A: The licenses distinguish between evaluation, Not for Resale (NFR), and permanent. They also distinguish whether you have purchased NetBackup BusinessCenter or DataCenter version, whether the license is for NT or UNIX, and whether it is for the server, client, or is an add on module such as Oracle or NDMP.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Licensing :
How does upgrading work?
When upgrading to 3.4, from 3.1.1 or 3.2 be sure that you are purchasing NetBackup DataCenter. NetBackup BusinessCenter is derived from the version 3.3 workgroup software. Also make sure that you purchase all the clients and modules that you are using. Licenses are not currently node-locked, but you must have a license for each extension product that you plan to use.  If you have the server license key, but do not have a license key for Oracle, for example, you will not be able to run Oracle backups with RMAN.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Terminology
This section of the FAQ answers the question, "Just what do NetBackup folk mean when they say 'XYZ?'")
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) What is the difference between a backup and an archive?
(Answer) What is the difference between a backup and a "True Image" backup?
(Answer) What is the difference between multiplexing and multistreaming?
(Answer) What is the difference between a cumulative incremental backup and a differential incremental backup?
(Answer) What is busy file processing?

[Add a New Answer in "Terminology"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Terminology :
What is the difference between a backup and an archive?
A: When a backup is made, a copy of the file is written to media. When an archive is made, a copy of the file is written to media and then the original file is deleted.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Terminology :
What is the difference between a backup and a "True Image" backup?
A: A regular backup can backup and restore individual files. A "True Image" backup is a snapshot of files done at the directory level at a certain point in time. Additionally, when a "True Image" backup is restored, the directory restored will be brought to the same state as when it was backed up. Any files or sub-directories that did not exist at the time of backup will be deleted when the restore occurs if it is restored to the same location.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
And don't forget "Move Detection" - the Feature That Smells Like A Bugfix.
Turn on Move Detection when using True Image Recovery. Without Move Detection, there are directory changes that will not be tracked in the TIR information.
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Terminology :
What is the difference between multiplexing and multistreaming?
A: Multiplexing sends data from multiple sources to a single tape or disk device. This is useful if you have a tape or disk device that writes faster than a single system can send data. Multistreaming establishes multiple connections, or threads, from a single system to the backup server. This is useful if you have a large system with multiple I/O devices and large amounts of data that need backing up.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Terminology :
What is the difference between a cumulative incremental backup and a differential incremental backup?
A: A cumulative incremental backup is the backup of all files that have changed since the last full backup. A differential incremental backup is the backup of all files that have changed since the last backup.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Terminology :
What is busy file processing?
A: Busy file processing is a series of configurations and actions set in the bp.conf file that can be executed when a file that cannot be read (read-locked) is encountered.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Education
This section of the FAQ answers the question, "How can I learn more about NetBackup, and backup and recovery in general?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) How can I learn more about Veritas NetBackup?
(Answer) Where can I go for training on Veritas NetBackup?
(Answer) Are there any good books on backup and recovery?

[Add a New Answer in "Education"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Education :
How can I learn more about Veritas NetBackup?
A: Read the manuals provided with the software purchased. There are .pdf manuals for every product you purchased included on the product CD’s in addition to the hard copies you should have received.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
The PDF version of the NetBackup Product docs can also be obtained at:
http://support.veritas.com/
 -> Product Listing
   -> NetBackup Products
     -> NetBackup DataCenter
       -> Online Documentation
mailto:pkjohnston@yahoo.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Education :
Where can I go for training on Veritas NetBackup?
A: Visit http://www.veritas.com/us/services/education/ for the latest course offerings from Veritas.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Education :
Are there any good books on backup and recovery?
A: Unix Backup & Recovery, written by W. Curtis Preston, published by O’Reilly & Associates, is recommended. Other books about storage and backups can be found at Backup Central.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Configuration
This section of the FAQ answers questions about configuring NetBackup.
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:
(Category) How do you configure the OTM on NT/2000?

Answers in this category:
(Answer) What is NetBackup’s main configuration file?
(Answer) Why is there a bp.conf file on both the server and the client?
(Answer) What are some of the more common configuration options for bp.conf and what are they used for (version 3.2)?
(Answer) How can I receive email notification from NetBackup?
(Answer) How do I set the maximum number of client connections per client?
(Answer) How do I set the maximum number of streams for multiplexing?
(Answer) What is Media Manager’s main configuration file?
(Answer) How do I exclude files and directories from regular backups?
(Answer) How do I exclude files and directories from NDMP backups?
(Answer) How do I properly backup my Oracle/Sybase/Informix/NetApp, etc?
(Answer) How do I get Oracle/Sybase/Informix/NetApp/etc. to back up over a private network?
(Answer) How do I get <some script> to run before a backup job starts?
(Answer) How do I backup through a firewall?
(Answer) What registry settings should I make to NT servers in order for the OTM to work correctly?
(Answer) What is the archive bit in NT, and how does it affect me?
(Answer) Is there an easy way to make registry changes on multiple NT clients?
(Answer) I have a server with multiple interfaces. How do I get NetBackup traffic to go through both interfaces?
(Answer) How do you configure NetBackup to work with Network Appliances?
(Answer) Is there VMS support within a VERITAS NetBackup v3.4 environment?
(Answer) How do I disable OTM for NetWare?
(Answer) How do I improve slow backup times for NetWare clients?
(Answer) One way to backup data outside a firewall.
(Answer) How do I back up a Netbackup Catalog Database that is too large to fit on a single tape?
(Answer) What are the "client type" values, as used in bpbackup -t <client type>?
(Answer) What's with all of these different "max jobs" settings?
(Answer) How do I use an alternate media server for a restore?
(Answer) Why did the chicken cross the road?

[Add a New Answer in "Configuration"]
(Category) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do you configure the OTM on NT/2000?
How do you configure the Open Transaction Manager on NT/2000?
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) OTM - Status code 11
(Answer) How do you config OTM in NT4/Windows 2000 to fix error 11?

[Add a New Answer in "How do you configure the OTM on NT/2000?"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration : (Category) How do you configure the OTM on NT/2000? :
OTM - Status code 11
In response to this question:
I'm getting a status code 11 because there is not enough space on the C: drive for the OTM temporary files. I seem to remember you could specify in the OTM configuration where these files were put. Does anyone know the Registry key to do this?
Here are two answers:
1) One option is to find space on one of the disks and create and empty file say for example OTM_Cache.fil. Then hack the registry:
HKLM\software\veritas\netbackup\currentversion\config\OTM_Cache_file = G:\OTM_Cache.fil
HKLM\software\veritas\netbackup\currentversion\config\OTM_Cache_Size_Init = 7d0 (HEX for 2GB)
HKLM\software\veritas\netbackup\currentversion\config\OTM_Cache_Size_Max = 7d0 (HEX for 2GB)
2) According to the Veritas KB link http://seer.support.veritas.com/docs/180017.htm , you could also do the following:
Cache file full conditions, within Open Transaction Manager (OTM), cause exit status code 11 (system call failed). TechNote ID: 180017 Last Updated: July 26 2000 05:12 PM GMT
Caution! The information in this TechNote is based upon certain assumptions, including product, operating system and platform versions. You can review this information in the TechNote Summary portion of this document. This document (180017) is provided subject to the disclaimer at the end of this document.
--------------------------------------------------------------------------------
Symptom:
Cache file full conditions, within Open Transaction Manager (OTM), cause exit status code 11 (system call failed).
Exact Error Message:
status 11: system call failed
Solution:
When there is a cache full condition within Open Transaction Manager, backups may fail with an exit code of 11 (system call failed). The cache full condition is usually reached because the system is busy at the time of the backup and files are changing. There is another condition as well - just normal file transversal. As the backups proceed, the last access time is updated on each file and this information ends up being cached. Thus, if the system has a lot of files, a lot of access time update information ends up being cached which, depending on the size of the cache file, can end up in a cache full condition.
If disabling the last access time will not impair the operation of any applications that are running on this machine, doing so will stop it from increasing the size of your cache file.
A value must be added to the registry in order to disable the last access time update.
The key is: HKEY_LOCAL_MACHINE:\SYSTEM\CurrentControlSet\Control\FileSystem
and the value is:
NtfsDisableLastAccessUpdate with a type of REG_DWORD and a value of 1.
A reboot is required of the system after adding this value.
As an example, a test machine was setup with 10,000 subfolders and each one of those subfolders has 20 files. Without this value, the amount of data sent to the cache file was 260MB. With this value added, the amount of data sent to the cache file was 0MB.
Otherwise, increasing the cache size for OTM within the VERITAS registry keys or from the Configuration Application from an NT Master server will also help alleviate this condition. This is documented within the "VERITAS NetBackup for Windows NT Server System Administrator Guide" on page 502.
-------------------------------------------------------------------------------- TechNote Summary: TechNote Title: Cache file full conditions, within Open Transaction Manager (OTM), cause exit status code 11 (system call failed). TechNote ID: 180017 Last Updated: July 26 2000 05:12 PM GMT This information in this TechNote applies to: Products: NetBackup (Windows Platforms) 3.2
 
Subject: Application - Configuration
 
Languages: English
 
Operating Systems: Windows NT 3.1 Serv, 3.1 Wkst, 3.5 Serv, 3.5 Wkst, 3.51 Serv, 3.51 Serv SP1, 3.51 Serv SP2, 3.51 Serv SP3, 3.51 Serv SP4, 3.51 Serv SP5, 3.51 Wkst, 3.51 Wkst SP1, 3.51 Wkst SP2, 3.51 Wkst SP3, 3.51 Wkst SP4, 3.51 Wkst SP5, 4.0 Serv, 4.0 Serv SP1, 4.0 Serv SP2, 4.0 Serv SP3, 4.0 Serv SP4, 4.0 Serv SP5, 4.0 Wkst, 4.0 Wkst SP1, 4.0 Wkst SP2, 4.0 Wkst SP3, 4.0 Wkst SP4, 4.0 Wkst SP5
 
--------------------------------------------------------------------------------
VERITAS Software, 1600 Plymouth Street, Mountain View, California 94043 World Wide Web: http://www.veritas.com/ Tech Support Web: http://support.veritas.com/ E-Mail for Classic VERITAS Products: support@veritas.com E-Mail for Classic Seagate Software Products: helpdesk@support.veritas.com FTP:ftp://ftp.support.veritas.com/ or http://ftp.support.veritas.com/
mailto:kky@hotmail.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration : (Category) How do you configure the OTM on NT/2000? :
How do you config OTM in NT4/Windows 2000 to fix error 11?
From http://seer.support.veritas.com/docs/233254.htm:
Backup jobs end with an Exit Status Code 1 or Exit Status Code 11 when using NetBackup with the Open Transaction Manager (OTM) Feature.
TechNote ID: 233254 Last Updated: December 25 2000 02:42 AM GMT

Caution! The information in this TechNote is based upon certain assumptions, including product, operating system and platform versions. You can review this information in the TechNote Summary portion of this document. This document (233254) is provided subject to the disclaimer at the end of this document.

----------------------------------------------------------------

Symptom:
Backup jobs end with an Exit Status Code 1 or Exit Status Code 11 when using NetBackup with the Open Transaction Manager (OTM) Feature.

Exact Error Message:
exit status code 1: the requested operation was partially successful; or exit status code 11: system call failed
Solution:
This TechNote provides some general guidelines and recommendations for configuring Open Transaction Manager (OTM).
When utilizing OTM, the following two error conditions have been seen in some environments:
Exit Status Code 1 The Backup is started but the required quiescent period is not achieved. OTM is not enabled during the course of the Backup. The backup job will end with an exit status code 1 as open or active files are not included in the back up.
Exit Status code 11 The backup is started and OTM is successfully initialized (quiescent period achieved and snapshot taken). When OTM reaches this point but experiences a resource limitation within the system, the backup job will end in an exit status code 11.

Guidelines:
Disk Cache settings are an integral component for OTM operations. The documented defaults for the cache settings are "initial = 10MB" and "max = 50MB". However, best results have been achieved with the OTM cache settings as "initial=100MB" and "max=0MB". Because of the diversity of environments, these settings will vary. Manually configured values may be needed due to low free disk space or the amount of data to be backed up. Below are some recommendations to allow OTM to work as dynamically as possible. Sufficient disk space is required for OTM to be operational. Insufficient system resources may prevent implementation of OTM in the operating environment. Also, OTM may not be a viable open file manager solution on NT servers that are extremely busy. OTM needs a "quiescent" or inactive period of time (5 seconds by default) to create a snapshot of a disk partition. Backup jobs that run when the level of disk activity is high, or a "quiescent", or inactive period of time cannot be achieved, will end with an "exit status code: 1". This indicates the backup was only partially successful.

Recommendations:
These settings will allow the most scalability with OTM. These settings are not guaranteed to work on all NT servers. Depending on free disk space or available memory, these settings may have to be manually configured.
1. SNAPSHOT TYPE: Set OTM snap shot type to "Individual" unless multiple data streams is enabled. The "Individual" setting will allow OTM to create a snapshot per drive and will allow the cache file to be minimum size as a snapshot of one drive at a time will occur. This setting is recommended for servers with low disk space and when Multiple Data Stream backups are not enabled.
2. INITIAL CACHE SIZE: Set Initial cache size to 100MB. OTM will create the initial cache file before the backup starts. An initial cache setting of 100MB will allow the backup to start faster, but may slow performance slighty if the cache file needs to grow during the course of the backup due to open file activity. Setting this value higher will create a longer delay at the start of the backup until the cache file has been created. Creating a larger Initial cache file may increase performance during backups if frequent disk writes occur during the backup. The time for building the initial cache file will primarily depend on CPU speed and server activity.
3. MAX CACHE SIZE: Set Max cache size to 0MB. With the Max Cache Size set to 0MB, OTM will calculate 10 percent of the used disk space as its maximum.
- When "Global" is set for the snap shot type, OTM will calculate 10 percent of all used disk space for all disks included in the file list to be backed up.
- When "All Available" is set for the snap shot type, OTM will calculate 10 percent of all used disk space for all local disks on the server including drives that are not specified in the file list of files to be backed up. This value may need to be manually configured on some NT server that have over 35GB to be backed up (See below in Caveats).
4. CACHE FILE FIELD: Ensure the "Cache file" field is not configured or left blank. The Cache file field is used to allow the user to define the location of the Cache File. If this field is blank, OTM will dynamically and automatically place the cache file on a drive that has the most free space. OTM will attempt to place the cache file on a drive that is not being backed up. Due to available disk space, the cache file may end up on the drive that is active during the backup. When this occurs, the Initial cache file setting is not used and OTM will create an Initial cache file the same size as the maximum cache file size.
5. OTM ERROR CONTROL: Set "OTM Error Control" to "Retry OTM". This will allow NetBackup to pause the backup when the cache file fills up. OTM will then destroy the cache file, create another snapshot of the drive(s), and continue the backup.
6. CACHED FILES: It is recommended the minimal value for this field is set to 100. When this field is set to 0, the cache file will not grow beyond the size of the configured "initial cache file" size. This applies even if a maximum cache file size set. Setting this field to 100 allows the cache file to flush the changed files after every 100 open files have been backed up. Additionally, a setting in the cached file field allows the cache file to expand beyond the initial cache file setting. If the system contains a large number of small files (file size less than 100K), it is recommended to increase this setting.
CAVEATS
OTM cannot be used over a mapped drive or on a shared drive of a cluster if the node does not have control of the drive. Blue Screens are a common symptom of mapping drives on nodes that do not have control of the drive.
Multiple Data Streams Multiple Data Streams is set for improvements in performance. However, this setting also requires additional system resources to be available when configured.
If the class configuration in NetBackup is set for multiple data streams, it is necessary to set the following parameters for this feature to operate: - Snapshot type must be set to "Use all available drives". - On the Master server, within the NetBackup Global Attributes, the "maximum jobs per client" must be equal to, or more than the number of streams being used.
Please refer to the following link for Microsoft limitations while utilizing NetBackup's OTM feature:
http://support.microsoft.com/support/kb/articles/Q126/4/02.asp?LN=EN-US&SD=gn&FR=0&qry=Q126402&rnk=3&src=DHCS_MSPSS_gn_SRCH&SPR=MSALL
WIN2K Specific Caveats:
File Systems < 30GB

- Max Cache size can be set to 0MB, this setting will allow autocache configuration of 3000 MB (3GB or 10% of 30GB).

File System > 30GB
- The error control setting must be set to "Retry OTM". - Max cache size must be manually configured to 3000MB or less. - This setting will avoid the MS limitation listed above.


OTM uses a "Kernel" mode driver. The most memory kernel mode drivers in WIN2K can allocate is roughly 380MB of memory and is shared by all kernel mode drivers in the system. OTM uses 40KB of available memory per MB of OTM cache file. Depending on the number of kernel mode drivers on the server, the maximum cache file size on any WIN2K server is approximately 3GB. On servers with > 30GB of data, it may be necessary to manually configure the Maximum Cache file size downward. This is dependent on the memory being utilized by other kernel mode drivers on the server. To specifically validate if OTM has reached the available kernel driver memory limitation or have reached a physical memory limitation, look for the following in the bpbkar log "OTM: not enabled (err = 0x000005aa)" from the client. This indicates the kernel mode driver memory or available physical memory has reached its limit. The backup will continue but will not utilize OTM and the backup job will end with an exit code of "Status 1" - not all files backed up. A smaller Maximum cache file size will be needed if it has been determined that there is enough available physical RAM in the server.


NT 4.0 Specific Caveats:
File System < 20GB
- Max Cache size can be set to 0MB. - This setting will allow autocache configuration of 2000 MB (2GB or 10%). - This setting will avoid the MS limitation listed above.

File System > 20GB
- The error control setting must be set to "Retry OTM". - Max cache size must be manually configured to 2000MB or less. - This setting will avoid the MS limitation listed above.


OTM uses a "Kernel" mode driver. The most memory kernel mode drivers in NT 4.0 systems can allocate is roughly 192MB of memory and is shared by all kernel mode drivers in the system. OTM uses 40KB of available memory per MB of OTM cache file. Depending on the number of kernel mode drivers on the server, the maximum cache file size on any NT 4.0 Servers is approximately 2GB. On servers with > 20GB of data, it may be necessary to manually configure the Maximum Cache file size downward. This is dependent on the memory being utilized by other kernel mode drivers on the server. To specifically validate if OTM has reached the available kernel driver memory limitation or have reached a physical memory limitation, look for the following in the bpbkar log "OTM: not enabled (err = 0x000005aa)" from the client. This indicates the kernel mode driver memory or available physical memory has reached its limit. The backup will continue but will not utilize OTM and the backup job will end with an exit code of "Status 1" - not all files backed up. A smaller Maximum cache file size will be needed if it has been determined that there is enough available physical RAM in the server.

For further information, refer to the VERITAS NetBackup DataCenter for Windows NT/2000 System Administrator's Guide.

Acknowledgments: Microsoft


-------------------------------------------------------------------------------- TechNote Summary: TechNote Title: Backup jobs end with an Exit Status Code 1 or Exit Status Code 11 when using NetBackup with the Open Transaction Manager (OTM) Feature. TechNote ID: 233254 Last Updated: December 25 2000 02:42 AM GMT Related Documents: TechNote: 233219 - Special considerations to be made when using Open Transaction Manager (OTM) to backup and restore databases. TechAlert: 233307 - Backing up databases using Open Transaction Manager (OTM) can produce an inconsistent image of the database, leading to potential restore problems. Included in this Alert are links to general guidelines when utilizing the OTM feature.

 
This information in this TechNote applies to: Products: NetBackup BusinesServer 3.4 NetBackup DataCenter 3.4
 
Subject: NetBackup BusinesServer - Best Practice - Backup NetBackup BusinesServer - Best Practice - Configuration NetBackup BusinesServer - Best Practice - Restore NetBackup BusinesServer - Publishing Status - Techalert NetBackup DataCenter - Best Practice - Backup NetBackup DataCenter - Best Practice - Client Support NetBackup DataCenter - Best Practice - Configuration NetBackup DataCenter - Best Practice - Restore NetBackup DataCenter - Publishing Status - Techalert
 
Languages: English
 
Operating Systems: Windows 2000 Professional 5.00.2195 Windows 2000 Server 5.00.2195 Windows 2000 Advanced Server 5.00.2195 Windows 2000 Datacenter Server 5.00.2195 Windows NT 4.0 Serv SP5, 4.0 Serv SP6a
 
--------------------------------------------------------------------------------

VERITAS Software, 1600 Plymouth Street, Mountain View, California 94043 World Wide Web: http://www.veritas.com/ Tech Support Web: http://support.veritas.com/ E-Mail for Classic VERITAS Products: support@veritas.com E-Mail for Classic Seagate Software Products: helpdesk@support.veritas.com FTP:ftp://ftp.support.veritas.com/ or http://ftp.support.veritas.com/

 

THE INFORMATION PROVIDED IN THE VERITAS SOFTWARE KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. VERITAS SOFTWARE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL VERITAS SOFTWARE OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF VERITAS SOFTWARE OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

 

mailto:kky@hotmail.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
More OTM Registry info from Veritas Support:
OTM Settings
Open Transaction Manager Registry Settings
These are located in HKEY_LOCAL_MACHINE - Software - Veritas - Netbackup - CurrentVersion - Config:
· OTM_USE (if this is not present the default setting is YES and Open Transaction Manager is enabled) · Applicable Settings: "NO" = disabled "YES" = enabled
· OTM_Cache_File · If this is not present the cache file defaults to c:\temp If this is specified it must be specified down with the full path down to the FILENAME. Data type of Reg_SZ (eg. e:\temp\otm.tmp where otm.tmp is a 0 byte file)
· OTM_Cache_Size_Init · NetBackup Properties Specifies the initial size of the cache file (in megabytes). If a specific value is not set, NetBackup sets it to 10 megabytes. If the value is set to 0, NetBackup sets it to 10% of the used disk space. (Patch 326 or higher should be used for the Initial Cache Size = 0 setting)
· OTM_Cache_Size_Max · Specifies the maximum cache size (in megabytes) of the cache file. If the cache file reaches this size and more cache is required, Open Transaction Manager is turned off and the backup continues. However, relationships between the backed up files can be lost because the snapshot is not used. The default maximum cache size is 50 megabytes. This can also be set this to 0 and NetBackup will dynamically allocate space.
· OTM_Current · Applicable settings are: "YES" = Individual Drive Snapshots Specifies that Open Transaction Manager take a snapshot of each drive and back it up before proceeding to the next drive. For example, assume that drives C and D are being backed up. Here, Open Transaction Manager: 1. Takes a snapshot of drive C, backs it up, and discards the snapshot. 2. Takes a snapshot of drive D, backs it up, and discards the snapshot. Open Transaction Manager is enabled on only one drive at a time, depending on which one is being backed up. This mode is useful when it is not necessary to maintain relationships between files on the different drives.
"NO" = Global Drive Snapshots: Specifies that Open Transaction Manager take a snapshot that includes all drives that are part of the backup and then back up the drives. For example, assume that drives C and D are being backed up. Here, Open Transaction Manager: 1. Takes a snapshot of C and D. 2. Backs up C and then backs up D. 3. Discards the snapshot. Open Transaction Manager remains enabled on both the C and the D drives for the entire duration of the backup. This mode is useful when it is necessary to maintain the relationships between files on the different drives.
"ALL_AVAILABLE" Specifies that Open Transaction Manager be enabled on all drives, regardless of which ones are being backed up. If backing up clients in a class that is using "Allow Multiple Data Streams", this setting ensures that all the backups can use Open Transaction Manager. For example, assume the following: • A client has four drives: C, D, E, and F. • The class file list contains directives that split the client backup into two streams, each of which is an independent backup. Drives C and D are in one backup and drives E and F are in the other backup. • The server attempts to start both backups at the same time. If Individual drive snapshots or Global drive snapshots are selected, the following occurs: 1. The drive C and D backup starts. 2. NetBackup enables Open Transaction Manager for drives C and D. 3. The drive E and F backup starts. However, NetBackup cannot enable open transaction management for drives E and F. When open transaction management is active, another enable attempt succeeds only if the set of drives are the same as the active set. In this example, the sets are different. 4. The drive E and F backup continues, but without Open Transaction Manager. If "Use all available drives" is selected, the following occurs: 1. The drive C and D backup starts. 2. NetBackup enables Open Transaction Manager for all drives (even though E and F are not part of the current backup). 3. The drive E and F backup starts. 4. NetBackup enables transaction management for all drives. This attempt succeeds because the set of drives is the same as the one that is already using Open Transaction Manager. 5. Both backups use Open Transaction Manager.
· OTM_Exclude: · The Exclude tab allows you to create and modify the exclude lists on Microsoft Windows clients. An exclude list names files and folders that you want to exclude from automatic backups. The Files/Directories box shows the lists for clients that were selected when the dialog box was opend. If multiple clients were selected, a scroll bar is present at the bottom of the list box. Move the bar to display the list for the desired client (only one list at a time can be modified). • To add a file or directory to the list that is being displayed, click Add List Item. • To modify a file or directory entry, select it in the list, click Edit List Item, and make the change. • To Delete a file or directory entry, select it in the list and click the Delete key.
· OTM_Quiescent_Timeout: · Busy File Timeout Specifies the duration (in seconds) of the quiet period that must occur so the snap can be taken. The default is 60 seconds. This a 60 second time period in which the quiescent_wait must occur.
· OTM_Quiescent_Wait: · Busy File Wait Specifies how many seconds to wait for a quiet period to occur. If this time expires, the backup proceeds but without backing up the file. The quiet period is a period of time during which no writes are being performed on the drives or volumes to be backed up. The default is 5 seconds.
· OTM_Error_Control (Controls how OTM reacts when it encounters an error.) The default is abort. The applicable values are listed below. Data type is Reg_Dword:
0 = Abort on Error 1 = Disable OTM 2 = Retry OTM



mailto:kky@hotmail.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What is NetBackup’s main configuration file?
A: On both the server and the client, /usr/openv/netbackup/bp.conf on Unix (or <install_dir>\Veritas\NetBackup\bp.conf on NT) is the primary configuration file for NetBackup. Each system user can have his own $HOME/bp.conf file as well.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
Why is there a bp.conf file on both the server and the client?
A: Some options are universally applicable, and belong on the server. Some are client specific and therefore only are appropriate on the client. Some options can be used on either the server or client, but have different connotations.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What are some of the more common configuration options for bp.conf and what are they used for (version 3.2)?
  • ALLOW_MEDIA_OVERWRITE should be used on the server if you wish to overwrite previously used non-NetBackup media without prompting.
  • ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA should be used if you have a limited supply of media and a large number of retention periods.
  • ALLOW_NON_RESERVED_PORTS will allow ports 1025 through 5000 to be used for data streams instead of 512 through 1024.
  • Use BPBACKUP_CLASS to set the default class used for client initiated backups.
  • Use BPBACKUP_SCHED to set the default schedule used for client initiated backups.
  • Use BPEND_TIMEOUT to increase the amount of time bpend scripts have to finish (don’t forget CLIENT_READ_TIMEOUT must be greater than or equal to BPEND_TIMEOUT).
  • Use BPSTART_TIMEOUT to increase the amount of time bpstart scripts have to finish (don’t forget CLIENT_READ_TIMEOUT must be greater than or equal to BPSTART_TIMEOUT).
  • Use BUSY_FILE_ACTION to send email notification, try again, or ignore files that cannot be accessed.
  • BUSY_FILE_DIRECTORY sets the working temp directory when using busy file processing.
  • BUSY_FILE_NOTIFY_USER tells NetBackup whom to notify when busy file email is sent.
  • BUSY_FILE_PROCESSING turns on busy file processing.
  • CLIENT_NAME specifies the exact name that the client is known as to the NetBackup server(s) it is served by.
  • Use CLIENT_READ_TIMEOUT to give bpstart and bpend scripts enough time to finish.
  • Use DISALLOW_CLIENT_LIST_RESTORE to prevent clients from listing and restoring files backed up on their systems.
  • Use DISALLOW_CLIENT_RESTORE to prevent clients from restoring files backed up on their systems.
  • Use DISALLOW_SERVER_FILE_WRITES to prevent server initiated restores or server initiated updates to bp.conf.
  • DO_NOT_RESET_FILE_ACCESS_TIME can be used if you do not care about atime but do not want your ctime messed with.
  • INITIAL_BROWSE_SEARCH_LIMIT is used to set the default number of days that NetBackup will search to find files for restore.
  • Use KEEP_LOGS_DAYS to specify the number of days to keep client logs.
  • Use LIMIT_BANDWIDTH to throttle network saturation to a specified number of KB per client.
  • Use LOCKED_FILE_ACTION to skip files that have mandatory locking.
  • Use REQUIRED_INTERFACE to override the operating systems choice of network interface for server to client communications.
  • Use SERVER to specify the NetBackup server(s) the client should use.
  • Use the VERBOSE option to log additional information in NetBackup’s logs.
  • USEMAIL will specify the user to notify for NetBackup events.
  • USE_CTIME_FOR_INCREMENTALS will cause NetBackup to check both the ctime and the mtime when determining which files should be backed up for incrementals. You MUST also enable DO_NOT_RESET_FILE_ACCESS_TIME when using this option.

mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How can I receive email notification from NetBackup?
A: Specify an email address in the Global attributes to receive notifications for scheduled backups, administrator initiated backups, or NetBackup index database backups. Set the USEMAIL option in the bp.conf file on client systems for user initiated backups.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Along with including the email add in the Global Config. Add it in the Universal Config and check the "Server Sends" box. Note that a bug causes the Global Config email add to reset should you for any reason return to that tab.
You will need to run a SMTP command line util on Windows boxes, Veritas recommends BLAT (you will need to know the FQDN of an SMTP server or Exchange server handling SMPT for correct install. Locate the bpmail.cmd (web site to download BLAT contained within) and uncomment the @ (call to Blat)line.
mailto:lbinions@hotmail.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I set the maximum number of client connections per client?
A: Specify the maximum number of client connections per client in the Global attributes.  You can also set this value individually per client using the bpclient command.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I set the maximum number of streams for multiplexing?
A: You must set multiplexing for both the storage unit as well as the schedule. The storage unit can have between 1 and 32 streams per drive. When adding a storage unit specify whether or not multiplexing will occur, and set a value from 2 to 32 for each drive if using it. You also need to specify the number of streams allowed per drive for each schedule for which you wish to use MPX.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What is Media Manager’s main configuration file?
A: /usr/openv/volmgr/vm.conf or <install_dir>\Veritas\volmgr\vm.conf is the primary configuration file for Media Manager.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I exclude files and directories from regular backups?
A: On Unix clients, you create an exclude_list on the client. You may exclude globally, or by class and/or schedule. /usr/openv/netbackup/exclude_list[.<classname>[.<schedulename>]] should list the files, directories, or partitions you want to exclude. You may use wildcards.  On Microsoft Windows clients, specify exclude and include lists in the NetBackup Configuration dialog box in the user interface on the client. To open this dialog box, start the user interface on the client and click Configure on the Actions menu. Then, go to the Exclude List or Include list tab. For further instructions, see the NetBackup user’s guide for the client.

Here are some comments about excluding files from Larry Kingery <larry.kingery@veritas.com>

/proc and cdrom filesystems are recognized as such on the more common unix systems, and their contents are automatically excluded (see all log entries).  If you do wish/have to specify them, you might want to say something like "/proc/*" so that the /proc mount point exists in case of full system restore (Solaris for one will get mad if it doesn't).

Personally, I feel that excluding things like core files probably adds more in the preprocessing than it's worth (that's one more strcmp on every file).

I really hope that people will NOT exclude the nbu db during regular backups.  (Note from Curtis: I agree.) Let's say that just before leaving on Friday afternoon, you accidentally delete half your images directory.  Come Monday morning, you realize what you did, but by this time it's too late, both of your db tapes have been used, and now you're scanning tapes. Of course, depending upon your needs and time since last backup of the server, you may end up scanning anyway, but at least you're closer (if you're lucky and the master wasn't one of the clients you've just blown away).
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I exclude files and directories from NDMP backups?
From a NetApp engineer (via Rob Worman <rob@colltech.com>):

The way to exclude files on NetApp when using NetBackup with NDMP is to use an entry in the file list that sets the EXCLUDE NDMP environmental variable.

For example, if you wanted to exclude a directory named /vol/vol1/A, but wanted to dump the rest of the volume, your NetBackup class file list would look like this:

SET EXCLUDE = A
/vol/vol1

To exclude multiple files or directories, you would use commas to delimit the field:

SET EXCLUDE = A,B,C
/vol/vol1

The rules are stated as being the same as they are for native dump commands.

The exclude list is specified relative to the dump path.  If a directory name or file name contains a space, you probably need to enclose the string in quotes:

SET EXCLUDE = 'file with space in name'
/vol/volx

Take a look at the ontap manuals for DUMP for more information.

Q: What files and directories should I exclude from a backup?

A: On UNIX systems, you should exclude /proc, which is your system’s memory represented as a filesystem. You may also want to exclude files such as core files, he cdrom partition, and the /tmp partition. Remember that the /usr/openv/netbackup/logs/ directory can grow at an enormous rate if bpdbm is logging.  On both NT and Unix systems, you should also exclude database files that you are backing up by other means (e.g. Oracle, SQL Server, etc.).
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I properly backup my Oracle/Sybase/Informix/NetApp, etc?
A: To properly backup these systems, you should use the appropriate module interface for Netbackup. i.e. NetBackup for Oracle or NetBackup for NDMP (NetApp).
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I get Oracle/Sybase/Informix/NetApp/etc. to back up over a private network?
From: Bob Bakh <bbakh@veritas.com>

Use the REQUIRED_INTERFACE setting on the Oracle client to tell it what NIC to use.

This seems to help.  It's in the NBU System Admin Guide under bp.conf settings.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I get <some script> to run before a backup job starts?
A: Use the bpstart_notify and bpend_notify scripts found in /usr/openv/netbackup/bin/goodies. (It's bpstart_notify.bat and bpend_notify.bat on NT.)  Copy them into the /usr/openv/netbackup/bin directory (or <install_dir>\Veritas\NetBackup\bin on NT), and add the commands you want to run in the appropriate places in the script. You may customize the scripts to the class and schedule level by naming them bpstart_<start|end>[.<classname>[.<schedulename>]] if you desire.  In 3.2 and 3.4, there is a problem with bpstart_notify and bpend_notify being used with multistreaming.  It causes the bpstart/bpend script to run once for each filesystem.  The easy fix for this is to disable multistreaming on classes that you need to run bpstart_notify and bpend_notify scripts.  There is a work around for this problem on Unix clients.  You can download a copy from http://www.backupcentral.com/bpstart-workaround.tar.gz.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Solution: A problem exists within NetBackup regarding the use of both notify scripts and multiple streams, i.e., getting the notify scripts to only run once, not with each stream. Following is a workaround to build intelligence into a script in order to handle that situation.
Due to the fact that multi-streamed backups are treated as separate jobs, the "bpstart_notify" and "bpend_notify" will be run for each stream. It is necessary to modify both of the scripts with the following logic: From Page 303 (bpstart_notify) and 308 (bpend_notify) of the NetBackup System Administrator's Guide for 3.2, the following information is passed to each script run.
Command Line Arguments: clientname classname schedname schedtype
Shell Environment Variables: BACKUPID UNIXBACKUPTIME BACKUPTIME
One suggestion is to use "Lock" files.
As the script starts touch a file in /tmp called "LOCK.clientname.classname.schedname.schedtype.BACKUPID".
This will make a unique filename for a specific backup job group and specific job id. ie: touch /tmp/LOCK.$1.$2.$3.$4.$BACKUPID
In the "bpend_notify" remove the file named "/tmp/LOCK.$1.$2.$3.$4.$BACKUPID" then check to see if any files called "LOCK.$1.$2.$3.$4.*" exist. If yes, just exit. If no, run the "bpend_notify" in its entirety.


Michael Fenton Veritas Software - Technical Support Engineer Direct Phone: 651-604-3230 Email: Michael.Fenton@veritas.com Hours: 9 AM - 6PM CST Mon-Fri Dispatch 1-800-342-0652 for immediate assistance
mailto:g_sperano@hotmail.com?subject=NetBackup Faq-O-Matic

The solutions given here are to run a script on the _client_ I have asked this same question before but my question was how to run a job on the master server. There is a backup_exit script which runs at the end of a job on the master server (single stream so it has the same problem addressed above.) and there is a session notify which runs whenever a bunch of jobs start, no backup start job, no way to open lock files!

mailto:mdaigle@yorku.ca?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I backup through a firewall?
This question is discussed in detail in the following technote: http://seer.support.veritas.com/tnotes/netbackup/187321.htm.  Short answer: open up a bunch of ports! ;)  Version 4.1 is allegedly going to have more "native" support for firewalls. Rob Worman pointed out that the above page doesn't point out that the "allow inbound 512-1024 connections" can be modified by use of the ALLOW_NON_RESERVED_PORTS bp.conf option.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Notice that Bob Bakh has an interesting suggestion for this in another answer in this FAQ. (follow the link below) http://www.backupcentral.com/foms/netbackup-serve/cache/169.html
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Two additional notes on this topic:
(1) If you want to modify the NBU behavior so that the port range is 1025-5000, there are basically three steps you need to take:
     * add ALLOW_NON_RESERVED_PORTS to the bp.conf on master server
* add ALLOW_NON_RESERVED_PORTS to the bp.conf on client
* run on your master server as root: bpclient -client $CLIENT -add -connect_nr_port 1
(2) NBU 3.4 introduced the ability to further define/reduce the number of ports NBU will use. Use of the SERVER_PORT_WINDOW and CLIENT_PORT_WINDOW allows the definition of a port range on which the server and client will listen. (there are corresponding SERVER_RESERVED_PORT_WINDOW and CLIENT_RESERVED_PORT_WINDOW entries if you're not using the nonreserved port configuration.
Both of the above topics are actually described in sufficient (IMO, anyway) depth in the NBU 3.4 System Administration Guide. (UNIX version for 3.4 = http://seer.support.veritas.com/docs/232348.htm NT version for 3.4 = http://seer.support.veritas.com/docs/232347.htm)

Just for posterity's sake, here's an example configuration:
Client's bp.conf includes the following:
ALLOW_NON_RESERVED_PORTS
CLIENT_PORT_WINDOW = 13740 13750
RANDOM_PORTS = NO
master server's bp.conf includes the following:
ALLOW_NON_RESERVED_PORTS
SERVER_PORT_WINDOW = 13740 13750
RANDOM_PORTS = NO
Ports that need to be open on the firewall: TCP on port 13782, 13720 & 13740 through 13750

mailto:rob@worman.org?subject=NetBackup Faq-O-Matic

Can you please let us know how to allow those ports across the firewall, in order to get the client backedup across the firewall.
We are using Checkpoint 4.1 Firewall-1

mailto:seedhu@hotmail.com?subject=NetBackup Faq-O-Matic
I have a question regarding backup using NetBackup through Firewall.
I have set up all the ???_PORT_WINDOW and it works fine on UNIX server and clients.
There is another backup client on the DMZ which runs Window NT. I have installed the backup client but I cannot fine the way to specify the ???_PORT_WINDOW. How can I do it.
Thanks
Francis Lam
mailto:francislam@rogers.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What registry settings should I make to NT servers in order for the OTM to work correctly?
Set HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config\OTM_Cache_Size_Max to 0.  See also:
http://seer.support.veritas.com/docs/180011.htm
http://seer.support.veritas.com/docs/188500.htm
http://seer.support.veritas.com/docs/180017.htm
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What is the archive bit in NT, and how does it affect me?
In NT, the archive bit is a attribute of a file that identifies whether or not it has been "backed up."  If a file is modified in any way, the archive bit is cleared until the file is backed up again.  Unfortunately, a backup of almost any type will cause the archive bit to be set.  That is, it will indicate that the file has been backed up.  If you run an NT backup, a NetBackup backup of any kind, a tar or cpio (if you have NT versions of those commands), or an xcopy, it will set the archive bit.   This is why it is the opinion of the FAQ maintainer that one should not use the archive bit to determine if a file has been backed up.  If you agree, then you will want to change the default behavior of NetBackup by setting the following registry setting:

[HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config]
"Use_Archive_Bit"="NO"
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

CORRECTION: The concept of how the archive bit is used is correct, however the logic state of the bit is the opposite of what is stated in the article above. When a file is created or modified, the archive bit is set until a process comes along to clear it. The process is usually a backup program but can take the form of a copy executable or a file attribute management tool. Copy programs will not change the status of the archive bit of source files unless directed to do so.
One example of the use of the archive bit is the command line:
xcopy c:\*.* a:\ /S /M
In the old days of floppies this command was used to copy all the files, that had the archive bit set, from drive c: to the floppy drive and then clear the archive bit of the source files. The copy process would continue until the floppy was full. Repeating the command line with additional floppies would complete the copy process without creating duplicate files. The archive bit of the files on the floppy would then be set because the files had just been created.
Regarding the conclusion of the above article, using the archive bit to determine the backup status of a file is legitimate. Windows based products such as Backup Exec determine what should and should not be incrementally backed up based entirely on the status of the archive bit.
Whether or not NetBackup uses the archive bit correctly is a matter of debate. The purpose of this correction is to more accurately describe the operation of the archive bit on Windows operating systems.
mailto:walter_gaede@mentorg.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
Is there an easy way to make registry changes on multiple NT clients?
From: W. Curtis Preston

There's a way that I've been working on to do this with NetBackup, but I've never actually done it.  Here are the steps:

1. Create a class that will backup some file that will be on every NT client (e.g. C:\Winnt\system32\drivers\etc\hosts).  Let's call the class "UPDATE."
2. Write a batch file that contains the command below, and call it bpstart_notify.UPDATE.bat.
    start /wait c:\winnt\regedit.exe c:\temp\update.reg
    del c:\temp\update.reg
3. Create a file that contains the registry key you want to edit and call it update.reg.  For example:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config]
    "Use_Archive_Bit"="NO"
4. Push the bpstart file out to each NT client. (There are at least two ways in NBU to do this.)
5. Push the update.reg file out to each NT client, and put it in C:\temp
6. Run the UPDATE class.

Here's another way, From: Scott Kendall <Scott.Kendall@ln.ssw.abbott.com>

For changes like this, I usually run a "for" loop against my NT servers using the NT Resource Kit utility "reg.exe".  This utility lets you remotely edit/add/delete Registry keys.

The command below from an NT box would add the value of the second column for each server listed in the first column of each line in fileA, assuming you
have the reskit and it is in your path (note: "add" does not replace if it already exists.  If so , you must either "update" or "delete" then "add").

fileA contents:
server1     server1
server2     somethingelse
server3     server3

command:
C:\>for /f "tokens=1-2" %i in (fileA) do reg add
HKLM\Software\Veritas\NetBackup\CurrentVersion\Config\REQUIRED_INTERFACE=%j
REG_SZ \\%i
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
I have a server with multiple interfaces. How do I get NetBackup traffic to go through both interfaces?
Steve Bazinet contributed this:

He had three clients, each with a different inter

In the master's bp.conf file:

SERVER=master-neta
SERVER=master-netb
SERVER=master-netc

One entry for each NIC in the box.

For the clients on NETA - SERVER=master-neta
For the clients on NETB - SERVER=master-netb
For the clients on NETC - SERVER=master-netc
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do you configure NetBackup to work with Network Appliances?
From: Chandra Kalle <ckalle@ns.naren.com>

Lets say the hostname of your Network Appliance box is "toaster" and the hostname of your Master Server is "dumpster"

Do the following:

1) Login to dumpster as root, and install the NDMP packages (SUNWnbdmp). If you are not aware, you have to purchase the NDMP option from Veritas for NetBackup. You get the NDMPD package, documentation, and paper license at least with 3.2.

2) Set your NDMP authorization:

dumpster# /usr/openv/volmgr/bin/set_ndmp_attr -auth toaster root

It will ask you for a Password, and enter toaster's password. 

3) Put the following line in /usr/openv/netbackup/bp.conf:

ALLOW_NDMP

4) Connect toaster to one of the drives in your Jukebox, and reboot it so it can recognize the drive. Unfortunately, NetApps dont have drvconfig or alike.. 

Check to make sure the drive is recognized after reboot:

toaster % sysconfig -t

This will show you the drive, and all device files you can use with it. I normally use the norewind device nrst0a. (or b.. whatever comes up in sysconfig's output)

5) On toaster, start the ndmpd daemon. ndmpd daemon comes with DataONTAP so it should be there (atleast in recent versions). To start ndmpd, do

toaster % ndmpd on 

To see the usage of ndmpd, just enter ndmpd. 

6) Come back to your master server (dumpster), and add the NDMP drive:

Pull up xdevadm, select DRIVES -> ADD DRIVE. This will pull up the ADD DRIVE window. In that window, select/provide the following information:

DRIVE TYPE: DLT (or what ever type your drive is)
DRIVE INDEX: 0 (or any number of your choice)
DRIVE NAME: toaster_jukeboxname_drive# (or what ever you like)
NO REWIND DEVICE: toaster:nrst0a
DRIVE STATUS: UP
CLEANING FREQUENCY: 300 (or what ever you like)
ROBOTIC DRIVE: YES
ROBOT TYPE: TLD (or what ever type your Jukebox is)
ROBOT NUMBER: <your robot's number>
ROBOT DRIVE: <drive number of the drive thats connected to toaster>

At this point, you're ready to test NDMP backups. Use xbpadm to create a class of type NDMP, and include toaster as client, and a sample directory under file list. Create a schedule "manual_backup" dont put any regular dates on it, and start a manual backup of that NDMP class for toaster and see how it goes. 

You do not have to install any software on toaster. All you need to do is start ndmpd. You want to put that in its rc file so its started every time its rebooted.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
Is there VMS support within a VERITAS NetBackup v3.4 environment?
Yes, you can use the 3.2 VMS client within the 3.4 environment. A full 3.4 VMS client is planned for release by the end of 2001. (From VOX Magazine)
mailto:ryan_anderson@udlp.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I disable OTM for NetWare?
In SYS:\OPENV\NETBACK\BP.INI under [otm] have 'use = no'. One caveat: BPCD.NLM autoloads OTM's PMTHREAD.NLM. If it isn't present BPCD will not load, so if you opt not to load the OTM NLMs, you must at least include this one.
mailto:ryan_anderson@udlp.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I improve slow backup times for NetWare clients?
Configure your NetWare client in the target configuration (see NetBackup Target Version User's Guide). Then, on the master server, do this:
1) Click on 'Allow Multiple Data Streams'.
2) In filelist attributes, make each target or groups of targets separate streams:

NEW_STREAM
/SYS
/SSI
NEW_STREAM
/VOL1
NEW_STREAM
/VOL2
NEW_STREAM
/VOL3

3) Set the schedule's to match MPX with the number of streams; in this case 4.
This change improved backups for some large NetWare fileserver from 9.7 Gig an hour to 20.3 Gig an hour.
mailto:ryan_anderson@udlp.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

Configure your NetWare client in the target configuration (see NetBackup Target Version User's Guide). Then, on the master server, do this:
1) Click on 'Allow Multiple Data Streams'.
2) In filelist attributes, make each target or groups of targets separate streams:

NEW_STREAM
/SYS
/SSI
NEW_STREAM
/VOL1
NEW_STREAM
/VOL2
NEW_STREAM
/VOL3

3) Set the schedule's to match MPX with the number of streams; in this case 4.
This change improved backups for some large NetWare fileserver from 9.7 Gig an hour to 20.3 Gig an hour.
mailto:ryan_anderson@udlp.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
One way to backup data outside a firewall.
One way to backup you data on the outside of the firewall, and maintain security is to set up multiple masters, one inside and one outside, while still sharing a robot.
Since you can run Media Manager independent of NetBackup, I say set up two Media Manger servers, Server A as the robot control host and volume Database host, and the Server B as a slave owing a driver in the robot controlled by server A.
Now have NetBackup set up as a master on both nodes, now you have a master on both sides of your firewall, and still one storage of tapes. Now all you need are two ports to communicate through the firewall. One for VMD to manage tape assignments, and one for tldd, or tl8d or whatever to control The robot.
This reduces security holes, and makes backups and restores are easier and faster. For more security, delete the import bimary on the server on the outside of the firewall.
mailto:bbakh@veritas.com?subject=NetBackup Faq-O-Matic
I'm adding this link as a cross-reference to the other FAQ on backups through a firewall.

http://www.backupcentral.com/cgi-bin/netbackup-fom?_highlightWords=firewall&file=70
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I back up a Netbackup Catalog Database that is too large to fit on a single tape?
For a long time, this was an "unsupported, but we'll tell you how to do it" 
tactic from Veritas support.  With the release of 3.4, it became the official 
way to do it and it's documented on page 157 of the NetBackup Admin Guide.

But if you're running NBU 3.2 you might wonder how to do this.  Here it is, 
as excerpted from the 3.4 documentation:

Multiple-Tape Backups 
===================== 
The basic concept behind the protection of large NetBackup catalogs is
to split the catalog-backup process into two steps. The first step backs
up the majority of the data from the images subdirectory on the master
server, while the second step backs up a small sub-set of the images
subdirectory, together with the remainder of the NetBackup and Media
Manager catalog files and directories from the master and media servers.

Since the first backup contains the majority of the data, it must be
able to span tapes. This is achieved by using a normal NetBackup job to
back up the data. As a result of this normal backup, an entry is placed
in the images subdirectory tree for the master server. This catalog
entry allows the user to browse the catalog for files during a restore
operation.

The second backup must back up the portion of the images subdirectory
that contains the catalog entries for the master server, together with
the other parts of the NetBackup and Media Manager catalogs. Since this
is a relatively small amount of data, it fits onto a single tape. It
must also be possible to recover this backup without the NetBackup
catalogs being available. This is achieved by using the normal NetBackup
catalog-backup mechanism to perform the backups.

Setting up Multiple-Tape NetBackup Catalog Backups 
================================================== 
In order to configure NetBackup to perform multiple-tape backups of its
catalogs, you must define both a normal NetBackup class and make changes
to the NetBackup catalog-backup configuration. In addition, you must
create a shell script or executable file that will initiate the
multiple-tape catalog backups. These steps are detailed below.

Define a NetBackup Class 
------------------------ 
1. Use the NetBackup Administration interface to create a new class. 
Set the class attributes as follows: 
--Set the Class type to Standard if the master server is a UNIX machine 
or MS-Windows-NT if the master server is a WindowsNT/2000 machine. 
--Do not choose Cross mount points if the master server is a UNIX or
Windows 2000 machine.
--Do not choose Follow NFS for UNIX or Backup network drives for Windows 
NT. 
--Pick a suitable storage unit and volume pool. 
--Set Limit jobs per class to 1. 
--Do not choose Compression. 
--Set Job priority to 0.

2. Add the master server to the client list

3. Put the following path in the file list: /usr/openv/netbackup/db/images

Note On UNIX, if /usr/openv/netbackup/db/images is a symbolic link to
another filesystem, you MUST specify the true location of the images
directory here. Symbolic links do not apply to Windows NT/2000.

4. Set up schedules to meet your requirements. VERITAS recommends that
the class contain only a full backup schedule, since this will minimize
tape mounting and positioning during restores.

Do not set any backup windows for the schedules that you define. This
ensures that the backup class is never initiated automatically by the
NetBackup scheduler. Instead, you must initiate the backup job manually.

5. Save your changes.


Configure the NetBackup Catalog Backups 
======================================= 
Use the NetBackup Administration interface to set up the configuration
of the NetBackup catalog backups. Make the following changes:

1. Ensure that the Media server setting is for the required backup server. 
2. Specify the following for Absolute pathname.

  masterserver:/usr/openv/netbackup/db/[A-Za-hj-z]* 
  masterserver:/usr/openv/netbackup/db/images/masterserver 
  masterserver:/usr/openv/var 
  mediaserver1:/usr/openv/netbackup/db/media 
  mediaserver1:/usr/openv/volmgr/database (repeat for all media servers) 
  
3. Change the schedule to Only when manually initiated. This stops the
NetBackup catalog backups from running automatically and allows you to
control when they run manually.

4. Select appropriate media types, densities, and IDs for the two
catalog-backup media. 

5. Save your changes. 


Create a Shell Script to Initiate the Backups 
=============================================
It is also important that the second-stage backup of the NetBackup
catalogs occurs directly after the first-stage backup. A good way to
ensure this is to write a script that initiates both backups, one after
the other. The following is an example catalog-backup script:

#!/bin/sh
#
# catalog_backup script
#
# Performs a two-stage backup of the NetBackup catalogs
#
CLASS=nbu_cat_backup # Change to the name of the correct class
SCHED=full_backup # Change to the name of the correct schedule
LOGDIR=/usr/openv/netbackup/logs/catalog_backup
if [ -d $LOGDIR ]; then
exec >> $LOGDIR/log.`date “+%m%d%y”` 2>&1
else
exec > /dev/null 2>&1
fi
echo “Running first stage catalog backup”
/usr/openv/netbackup/bin/bpbackup –w –i –c $CLASS –s $SCHED
EXIT_STAT=$?
if [ $EXIT_STAT –ne 0 ]; then
echo “First stage catalog backup failed ($EXIT_STAT)”
exit 1;
fi
echo “Running second stage catalog backup”
/usr/openv/netbackup/bin/admincmd/bpbackupdb
EXIT_STAT=$?
if [ $EXIT_STAT –ne 0 ]; then
echo “Second stage catalog backup failed ($EXIT_STAT)”
exit 1;
fi
exit 0;
## end of script

How To Initiate a Multiple-Tape Catalog Backup 
==============================================
Similar to how the automatic-catalog backup works, it is important to
ensure that no other NetBackup operations that modify the NetBackup
catalogs are in progress while the two catalog backups are performed.
Such operations include:
--Backups and archives 
--Catalog compression 
--TIR record expiration or retrieval (during a restore operation) 
--Catalog image record expiration 
--Image imports 
--Image duplication 

Performing the catalog backups when any of these operations are in
progress can cause an inconsistent catalog backup. Since both image
import and image duplication operations must be initiated manually by
the NetBackup administrator, it is relatively easy to ensure that these
are not in progress during the catalog backup. However, it is more
difficult to ensure that no backups or restores are running, since both
the NetBackup scheduler and other users can initiate these.

More difficult still are operations that are started automatically by
NetBackup, such as catalog compression, TIR record expiration or
retrieval, and image record expiration. Due to the way the NetBackup
scheduler interlocks processes, do not start the two-step backup script
with the /usr/openv/netbackup/bin/session_notify script.

We suggest using another scheduler (such as cron on UNIX) to start the
two-step backup script or execute it manually when the above operations
are not occurring.


Multiple-Tape Restores
======================
A restore of the NetBackup catalogs is also achieved in two steps. The
first step is to use the most recent NetBackup catalog backup to recover
the portion of the image catalog containing information about the
backups taken from the master server, together with the other parts of
the NetBackup and Media Manager catalogs on the master and, if
configured, the media servers.

Once this information has been recovered, NetBackup can be started and
one of the user interfaces can be used to browse the files backed up
from the master. These will include the files and directories that
constitute the NetBackup images catalog, which were backed up using the
first step of the catalog backup described above. Using the normal
restore process, these files and directories are restored, completing
the operation. You must ensure the option Overwrite Existing Files is
not selected, since this replaces the files previously recovered in
stage 1.
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What are the "client type" values, as used in bpbackup -t <client type>?
Here are the ones that I know...

standard = 0
apollo = 3
auspex = 12
afs = 22
msnt = 13
netware = 10
os2 = 14
SAP = 17
MS-SQL = 15
SQL-Backtrack = 11
Sybase = 7
DB2 = 18
Oracle = 4
MS-Exchange = 16
Informix = 6
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
What's with all of these different "max jobs" settings?
The number of simultaneous active backup jobs that can run on a client is regulated by five different NetBackup configuration parameters:
1. "max jobs per client" value, set globally 2. "max jobs per class" value, set for each class 3. "max jobs" value, set for each client (*) 4. "max multiplex per drive" value, set for each storage unit 5. "max multiplex per drive" value, set for each backup schedule in a class
So when a backup job is being prepared for a particular client, the scheduler checks to make sure that the new job won't challenge any of the limits above and thus decides if the backup job can go active right away or if it has to wait in the queue.

(*) this configuration option is barely documented so it's not well known. If specified, it will override the global "max jobs per client" value. To specify a client-level "max jobs" parameter:
bpclient -client $CLIENTNAME -add -max_jobs $MAXJOBS

===== These topics are discussed in the NetBackup SysAdmin Guide as part of the discussion of the "Allow Multiple DataStreams" and "Multiplexing" features.
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
How do I use an alternate media server for a restore?
The bp.conf file will need the following entry:
FAILOVER_RESTORE_MEDIA_SERVERS = <media server> <failover media server> <failover media server> etc.
This also works if your media server hostname changes. I ran into a problem after the a media server I use had its hostname changed. When I went to restore files that were backed up under the media server's old name, the restore would fail because the master couldn't connect to the media server by the old name.
Another way to look at the bp.conf entry is: FAILOVER_RESTORE_MEDIA_SERVERS = <old media server name> <new media server name>
mailto:tallen201@hotmail.com?subject=NetBackup Faq-O-Matic
You can also use the FORCE_RESTORE_MEDIA_SERVER = fromhost tohost in the bp.conf. Also you can refer to the "Server Independant Restores" section of the NetBackup System Administrators guide.
mailto:lhamonic@canada.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Configuration :
Why did the chicken cross the road?
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Runtime
This section of the FAQ answers the question, "What does NetBackup behave like when it's running?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) How can I tell what processes are running under NetBackup?
(Answer) How can I tell what processes are running under Media Manager?
(Answer) How do I make sure that all NetBackup processes are completely shut down?
(Answer) How do I make sure that all NetBackup processes are completely shut down?
(Answer) How can I check the status of my tapes?
(Answer) Why do my tapes keep ejecting after every backup?
(Answer) Is there a way that I can find out in advance what backups are going to be scheduled?
(Answer) I have tapes in the library, and yet NetBackup isn't using any of them. I'm getting error 96s.
(Answer) What to do with jobs that APPEAR to be active, but have hung?

[Add a New Answer in "Runtime"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
How can I tell what processes are running under NetBackup?
A: Use the command bpps -a.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
How can I tell what processes are running under Media Manager?
A: bpps -a will also work, or you can use vmps.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
How do I make sure that all NetBackup processes are completely shut down?
If doing the standard stop for Netbackup on Unix (/etc/rc0.d/K77netbackup) leaves processes running, then run the script bp.kill_all in the goodies directory. (Thanks to Tim McMurphy for this addition.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
How do I make sure that all NetBackup processes are completely shut down?
If doing the standard stop for Netbackup on Unix (/etc/rc0.d/K77netbackup) leaves processes running, then run the script bp.kill_all in the goodies directory. (Thanks to Tim McMurphy for this addition.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
How can I check the status of my tapes?
A: Run the command $NETBACKUP/goodies/available_media. This will give a fairly comprehensive report of you tape status. You may also check xvmadm for additional information.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
Why do my tapes keep ejecting after every backup?
This is the default behavior of NetBackup.  If you don't want your tapes ejected every time NetBackup is through with a drive, then you need to add the -nsu flag to ltid. This stands for "no standalone unload."  Edit the startup script that you use to look this this:

ltid -nsu
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
Is there a way that I can find out in advance what backups are going to be scheduled?
From: "David A. Chapa" <david@datastaff.com>

bpschedreq -predict mm/dd/yyyy
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
I have tapes in the library, and yet NetBackup isn't using any of them. I'm getting error 96s.
From: "Dennis Dwyer" <dfdwyer@tecoenergy.com>

The only thing I can think of off hand would be to look at your retention periods. NetBackup will not mix retention periods on a tape unless you force it (which I wouldn't recommend). If all the tapes that have space don't match the retention period you're going after, and there are no other tapes available in the storage unit, you might get the "No Available Media" message.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

In addition to the retention level answer above, here are some other reasons you could be having this problem:
1. volume pool mismatch i.e. the tapes in your library are all assigned to volume pool "foo", but your backup classes are configured to use tapes in volume pool "bar".
2. frozen or suspended tapes i.e. your tapes have been marked as unusable by NetBackup. The easiest way to rule this out is to run the netbackup/bin/goodies/available_media script and verify that your tapes show up as AVAILABLE or ACTIVE, as opposed to FROZEN. A tape can be unfrozen via the bpmedia command.
3. loss of scratch pool definition i.e. you normally use a scratch pool (search this FAQ if you don't know what a scratch pool is) and somehow your vm.conf file has had it's SCRATCH_POOL entry removed.
mailto:rob@colltech.com?subject=NetBackup Faq-O-Matic
You can also get an idea as to why the tapes aren't being selected or why they are being frozen or suspended by having a look at either the "All Log Entries" or Problem reports. They will usually indicate why media is not being used.
mailto:lhamonic@canada.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Runtime :
What to do with jobs that APPEAR to be active, but have hung?
I'm sure most of you have seen this, the master rant out of space which caused the backup jobs to hang. Or the master was rebooted, and some of the jobs were hung.
If you have jobs that appear to be active, key word here APPEAR, but in reality aren't ACTIVE, my suggestion is:
1. Make sure no other jobs are ready to start and REAL active jobs aren't running.
2. Note the jobid numbers for each of the 'hanging' jobs.
3. Stop the daemons if possible (NBU Daemons)
4. From the /usr/openv/netbackup/db/jobs db area, remove those jobid* numbers. Simply a ./jobid* will do the trick and remove all associated files as well.
5. Restart your NBU Daemons (initbprd)
You hanging jobs will be gone. I have done this many, many times without issue.

mailto:david@datastaff.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Integrity
This section of the FAQ answers the question, "How do I maintain the integrity of my backups, and the backups of the NetBackup database?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) How often should I backup my indexes if I decide to use bpbackupdb?
(Answer) Should I make duplicates?
(Answer) How can I do tape duplication and off-site rotation with NetBackup?
(Answer) How many copies can I make of a given image?
(Answer) What is a good generic backup schedule?
(Answer) When should I do my full and cumulative incremental backups?
(Answer) How long should I keep tape archives?
(Answer) Can I backup a live database with NetBackup?
(Answer) How often should I send tapes off-site?
(Answer) Is there a way to check the consistency of the database?
(Answer) Is there a way to backup the NBU Databases onto a specific tape besides one in the NetBackup Pool?

[Add a New Answer in "Integrity"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
How often should I backup my indexes if I decide to use bpbackupdb?
Ideally, you should back up the database indexes once every day that the system is being actively monitored by the NetBackup administrator. If you choose to back up after every job, you will end up thrashing your drives. Also, because only two alternating copies of the indexes are kept on tape by default, you will end up corrupting your index tape backups quickly if your online disk index does get corrupted. Backing up less often than once a day will result in the need to rebuild indexes off of tape for the most recent backups should a restore be needed and the online index should become corrupted.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
Should I make duplicates?
If you have the resources (drives, media, and time), you should make duplicate tapes with the read verify feature enabled. If you are developing a Disaster Recovery Business Continuity Plan, you probably should be doing duplicates. You will need to extend the expiration date of the tapes sent off-site so that the indexes expire shortly after they are rotated back into the library.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
How can I do tape duplication and off-site rotation with NetBackup?
A: You can either purchase the BPVault option or write a procedure and scripts to do this.  (My opinion, FWIW, is that bpvault, although not perfect, is worth the price you pay for it.  Your own scripts will take years to reach the level of flexibility and granularity that bpvault has -- Curtis.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
How many copies can I make of a given image?
A: NetBackup currently limits you to two copies per image, one of which is the original.  You can expire one of the copies with bpexpdate -copy n, allowing you to make another copy, but the copy that you expired will no longer be tracked by NetBackup.

mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
What is a good generic backup schedule?
A: A good backup schedule would be to do full backups every four weeks, cumulative incremental backups once a week, and differential incremental backups daily. Appropriate retention periods would be a year, 3 months, and one month respectively.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
When should I do my full and cumulative incremental backups?
A: You should spread out your full and cumulative incremental backups over the entire week (or month) to spread the load on your server(s) and network. It is not necessary to do all of your full backups on the same day, or to do your cumulative incremental backups on Friday. This just causes unnecessary system loading.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
How long should I keep tape archives?
This will vary based upon legal requirements, however, two years is a good general rule. Some data will require infinite retention periods, and the NetBackup administrator will need to size his index partition appropriately to deal with this situation.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
Can I backup a live database with NetBackup?
A: Yes and No. If you have the proper database option installed and configured, you can backup live databases. There is a script available for download from Backup Central that will allow you to perform hot backups of Oracle without the Oracle extension for NetBackup.  While it does not offer all the functionality provided by RMAN, it is a lot simpler to use, and a whole lot cheaper - free.  If you've got DBAs that can understand RMAN, and can afford the database extension for Oracle, RMAN is probably your best choice.  (There are similar scripts for Informix and Sybase.) If you don't have such a script, you must shutdown the database for the duration of the backup. Not doing so will result in corruption of the database and render your backup useless.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
How often should I send tapes off-site?
This depends upon why you are sending your tapes off-site. It also depends upon how time-sensitive your data is to both data loss and down time. This question really is out of the scope of this document
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
Is there a way to check the consistency of the database?
Yes.  Just run the command:

bpdbm -consistency


You might want to pipe the output to a file as it can be quite large and quickly scrolls off the page. It also can take quite a while to run. For example, it took a 2 processor Sun450 with a 14GB database about 45 minutes to execute.

This command does not actually fix the inconsistency.

At least two strings that can be searched for to find problems:
"Bad image header"
"does not exist"

I've also found it useful to filter out lines containing the strings "checking image file" and "checking files file". What's left will be a list of machines followed by errors.

Generally your only recourse to correct the problem is to delete the offending images. Delete the image header, the image '.f' file, and the image indexes. The indexes for the image are located in /usr/openv/netbackup/db/images/client-name/INDEX and will have the same file name as the header file plus suffixes that match '.i?'.
mailto:vandevegt@yahoo.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

Gerald Patterson pointed out an error in the above text that has been corrected. Thanks, Gerald!
mailto:gerald.patterson@noos.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Integrity :
Is there a way to backup the NBU Databases onto a specific tape besides one in the NetBackup Pool?
From the command line you would use tpreq to mount the particular tape you require.
tpreq -ev MEDIAID -d DLT -p SOMEPOOL -f /tmp/MEDIAID
Then you would initiate your bpbackupdb command line:
bpbackupdb -ev MEDIAID -p POOLNAME -tpath /tmp/MEDIAID \ /usr/openv/netbackup/db \ /usr/openv/netbackup/var \ /usr/opnev/volmgr/database \ /usr/local/data/drplan.doc
This is a good idea when you are performing duplication for offsite vaulting. In this way you are able to say that you have your "environment" at a particular point in time, including your drplan.doc. Remember bpbackupdb will backup anything you tell it, so using it like this will also ensure you meet those offsite requirements of your DR Plan too.
mailto:david@datastaff.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Logging
This section of the FAQ answers the question, "Where are the logs, what do they do, and how can I get more of them?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) How do I get additional logging to occur?
(Answer) Where does NetBackup put its logs?
(Answer) Where does NetBackup place logs for user initiated activity?
(Answer) Where can I find tape drive errors?
(Answer) Where do the processes log information?

[Add a New Answer in "Logging"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Logging :
How do I get additional logging to occur?
A: For verbose logging use the VERBOSE = n option in bp.conf, where n is a number specifying how verbose you want the logs to be.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Logging :
Where does NetBackup put its logs?
A: NetBackup places general information logs in /usr/openv/netbackup/logs/admin or <INSTALL_DIR>\netbackup\logs.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Logging :
Where does NetBackup place logs for user initiated activity?
A: For user initiated archives, backups, and restores on Unix, logs are kept under /usr/openv/netbackup/logs/user_ops/username/jobs and /usr/openv/netbackup/logs/user_ops/<username>/logs. For NT, these logs are kept under <install_path>\VERITAS\NetBackup\logs\bpkar\yymmdd.log. Win95/98 activity logs are kept under <install_path>\VERITAS\NetBackup\logs\bpcd\yymmdd.log.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
If you allow client side restore i.e., you dont specify DISALLOW_CLIENT_LIST_RESTORE, you should look under the /usr/openv/netbackup/logs/user_ops same path as the master, but the logs will be created locally.
mailto:rkc0818@yahoo.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Logging :
Where can I find tape drive errors?
A: Media (tape) errors will be shown under /usr/openv/netbackup/db/media/errors on Unix, <install_path>\VERITAS\NetBackup\db\media\errors on NT.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Logging :
Where do the processes log information?
A: Processes can be forced to write debug logs by creating a log directory for each process under /usr/openv/netbackup/logs/<process>/ on Unix, or <install_path>\VERITAS\NetBackup\Logs\Process. Logs that can be created are listed in the table below:

Master Server Logs

  • bpadm - Admin
  • bprd – request daemon
  • bpdbm – database manager
  • bpsched – backup scheduler
  • xbpadm – X administrator interface
  • xbpmon – job monitor

Media Server Activity Logs
  • bpbrm – Backup/Restore Manager
  • bpcd – Client Daemon
  • bptm – Media manager for tape
  • bpdm – Disk Manager

Client Logs
  • bp – Menu user interface (curses)
  • bparchive – Client archive program
  • bpbackup – client backup program
  • bplist – lists backup and archive images
  • bprestore – client restore program
  • bpbkar – manages backups and archives
  • bpcd – client daemon
  • bphdb – hot database backup program
  • db_log - backup log for databases

mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
These logs dirs doesn't exist by default. To activate any particular logging you have to create a dir. Otherwise don't keeps your hope high if you have installed the software and didn't create these dirs
mailto:nauman.shah@siemens.co.uk?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Recovery
This section of the FAQ answers questions about restoring files with NetBackup.
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) What do I need to know before I do a recovery of a whole system?
(Answer) How do I recover a filesystem, directory, or file?
(Answer) How can I tell which tapes will be needed for a particular restore?
(Answer) How do I restore from NDMP tapes, especially without NetBackup?

[Add a New Answer in "Recovery"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Recovery :
What do I need to know before I do a recovery of a whole system?
A: You need to know that you have good backups. You should verify media that is written to if practical. Otherwise periodically and randomly read verify data. You need to know what portion of the filesystem is data, which is application, and which is operating system. You need to know the filesystem layout. You need to have license keys that are required to build the base system before restoring data. You need to possess the operating system disks. You need to know basic network topology for the system you are restoring. You should have a run book for your system with all critical documentation. Some systems allow you to recover your root filesystem using specific commands. You should consider using them for a quick recovery of a root filesystem.

There is a product available for NetBackup users called Intelligent Disaster Recovery (IDR) that completely automates this process.  IDR is available for NT in 3.4, and Veritas intends to have support for popular Unix platforms in 4.1 (3Q 2001).

This is referred to as a bare metal recovery.  This topic is covered in some detail in Unix Backup & Recovery.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Recovery :
How do I recover a filesystem, directory, or file?
A: Go to Chapter Five of the NetBackup Troubleshooting Guide and follow the detailed steps outlined there. If you cannot find your manual, but have the your CDs, look for the file nbts_unix.pdf or nbts_nt.pdf for UNIX and NT respectively. Read this before you need to recover something.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Recovery :
How can I tell which tapes will be needed for a particular restore?
  1. If you are using the Java GUI, start the restore, and click "Preview Media Required".
  2. You can also perform the restore (either via the GUI or command line), and have messages written to a log file.  The beginning of the log will contain a list of tapes needed for the restore.

mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Or you can avoid the GUI (and avoid having to kick off a restore) with the bpimagelist command.

Let's assume you want to restore from a backup of CLIENTA that happened on August 1st.

(these commands would be run on your NBU master server)
### First you need to find the exact start time of the backup you want:

 nbumaster# bpimagelist -U -client CLIENTA -d 08/01/2001 -e /08/01/2001

 Backed Up         Expires       Files       KB  C  Sched Type   Class
 ----------------  ---------- -------- --------  -  ------------ ------------
 08/01/2001 05:05  08/15/2001   729846 52624096  N  Full Backup  CLIENTA_OS
 08/01/2001 02:05  11/02/2001    58233  5029312  N  Full Backup  CLIENTA_DATA
### Next you use the -media flag to see what volume(s) were used for that backup:

 nbumaster# bpimagelist -media -U -client CLIENTA -d 08/01/2001 05:05 -e 08/01/2001 05:05

 Media ID   Last Written       Server
 --------   ----------------   ----------
 602595     08/01/2001 05:05   nbumaster
 603084     08/01/2001 05:05   nbumaster 
poof!
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Recovery :
How do I restore from NDMP tapes, especially without NetBackup?
From: Chris Graves <cmg@bow.rsc.raytheon.com>

We have read backup tapes created on the NetApp using NDMP manually using the following two methods:

1) Veritas via NDMP just uses the NetApp "dump" command to creat the backups.  This format is compatible with ufsdump, thus the tape can be read on a Solaris system using ufsrestore (though some information maybe lost if using NT ACL's).

2) the following is cut and paste from my notes. empress is the Sun where Veritas is installed and odin is the NetApp...

to restore files on odin without the aid of netbackup:

from empress, have a tape mounted:
tpreq -ev def100 -p odin-vol0-full /tmp/tp

now do look at /tmp/tp to find out what tape drive has the tape
cat /tmp/tp
odin /ndmp/nrst0a

from odin, we can manipulate the tape using mt.

First, fast forward past the volume header
mt -f nrst0a fsf 1

Second, fast forward past the partition header
mt -f nrst0a fsr 2

cd to the directory where you want files restored to

to list dumpfile contents:
restore tf nrst0a

(If you issue the restore command above, you will need to rewind the tape and reissue the fsf 1 and fsr 2 commands before you issue the command below.)

to restore the files:
restore xf nrst0a ./dir/path

when finished, unload tape:
tpunmount /tmp/tp
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Administrative Tasks
This section of the FAQ talks about tasks that must be done on a regular basis if you're administering NetBackup...
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) Can non-root or non-Administrator personnel administer NetBackup?
(Answer) How is the NetBackup product installed and configured?
(Answer) How do I start the administrative GUI?
(Answer) How do I add a robot to a Media Server?
(Answer) How do I add a tape drive to a Media Server?
(Answer) How do I bring a drive up or down?
(Answer) What volume pools do I want to setup?
(Answer) How do I add a volume pool?
(Answer) How do I delete a volume pool?
(Answer) What is a volume group?
(Answer) How do I delete a volume group?
(Answer) How do I inventory my library?
(Answer) How do I compare my library inventory to the media database?
(Answer) My library inventory and volume configuration don’t match. What should I do?
(Answer) How do I label media?
(Answer) When do I replace media?
(Answer) How do I replace media in my library?
(Answer) How do I recycle (or deassign) Netbackup database (catalog) backup tapes?
(Answer) Why do I want to recycle media?
(Answer) How do I recycle media?
(Answer) How do I change the attributes of media?
(Answer) How do I add a volume to the media database?
(Answer) What does a class influence?
(Answer) How do I add a class?
(Answer) How do I delete a class?
(Answer) How does scheduling work?
(Answer) How do I add a schedule?
(Answer) How do I modify a schedule?
(Answer) How do I delete a schedule?
(Answer) How do I add a client?
(Answer) How do I delete a client?
(Answer) What is the difference between Cross Mount Points and ALL_LOCAL_DRIVES?
(Answer) How can I securely push a UNIX NetBackup client?
(Answer) How do I clear the client list in the NetBackup Windows client?
(Answer) How do I empty my tape silo's inport (CAP) from the command line?

[Add a New Answer in "Administrative Tasks"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
Can non-root or non-Administrator personnel administer NetBackup?
A: This is possible in a number of ways.

On UNIX:

Use the suggestions in the NetBackup Admin Guide labelled "Allowing nonroot users to administer NetBackup."  They amount to using chmod to change the permissions of the executables, and possible making a special group for non-root administrators.


On NT:

Just use the NT Administrative Client:

From Bob Bakh <bbakh@veritas.com>:

"It slices it dices and does all you ask for and more.  Just set up the users pc as a server in the bp.conf, restart the daemons or on NT sacrifice a lamb, or is that add their PC to the server list and restart services. The Administrative client can be found on any NetBackup Server CD, run the server install and select Server install, you get 3 choices, Master, Media, and Admin Client."


mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Note that the documented solution for Unix non-root administration (basically lots of chmod'ing of the important binaries) is not exactly perfect:
     - it needs to be re-enabled after any patching or upgrading
- it will NOT work when you are using the java GUI (aka jnbSA). The first thing jnbSA asks for is the root password.
I understand that "multilevel role-based authentication" is a very often-requested feature, I wouldn't be surprised to see it in NBU 4.
mailto:rob@colltech.com?subject=NetBackup Faq-O-Matic
Note that the documented solution for Unix non-root administration (basically lots of chmod'ing of the important binaries) is not exactly perfect:
     - it will NOT work when you are using the java GUI (aka jnbSA).  The
     first thing jnbSA asks for is the root password.
pkj> True, chmod is not the way to go for selective access to the Java GUI - That's why there's a logon dialog for server-user-password. The user CAN BE non-root [root is just the default, that's all]! There's a comprehensive chapter in the NetBackup Admin Guide on Authentication & Authorization that illustrates how to allow other administrators/operators selective access to jnbSA. With the new NetBackup 4.5 bp.conf "MEDIA_SERVER = xxx" [on the MASTER server] remote operators can be blocked from "accidentally" administering the MASTER server, and be allowed to just admin the MEDIA server they are managing.
mailto:pkjohnston@yahoo.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How is the NetBackup product installed and configured?
A: Before you can backup a client you need to configure your robots, add your tape drives, configure your volume pools, add volumes to the volume pools, define a class for you client, and make a backup schedule for the client.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I start the administrative GUI?
A: To start the Java GUI, run the command jnbSA.  The NT GUI can be selected from the Start Menu.  The xpbpadm GUI can be started from xnb, or by itself.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

mailto:jsrihari@hotmail.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a robot to a Media Server?
A: Physically attach the library to the Media server and follow the specific configuration instructions specified by the manufacturer and the OS vendor. Verify that you can give the robot instructions at the OS level. This can be done with xdevadm, the Java GUI, or the NT GUI. 

If using xdevadm, select Add Robot from the Robot dialog menu. 

If using the Java or NT GUIs, start Media and Device Management and click on the Media Manager that you wish to add the robot to and select New | Robot from the Actions dialog menu.

Select the appropriate robot type by consulting the Release Notes document – Supported Peripherals (release_notes.pdf). Specify a unique robot number that will not be used within the rest of the organization, and specify the volume database host that will store the client indexes (it is recommended that you always specify your master server). If your robot is being controlled by another system, specify the host that is controlling it. If your robot is locally controlled, specify the specify the robot control file. Consult the Media Manager Device Configuration Guide for additional details. 

The JAVA and NT GUIs will then prompt you to restart the media manager daemon, and do it for you automatically.  If you are using xdevadm, you must restart the media manager daemon (ltid) when you are ready for NetBackup to see the robot. To do this, use the command /usr/openv/volmgr/bin/stopltid followed by /usr/openv/volmgr/bin/ltid to restart it. Any backups that are in progress at that time may fail. 
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a tape drive to a Media Server?
A: Physically attach the drive to the Media server and follow the specific configuration instructions specified by the manufacturer and the OS vendor. Verify that you can give the drive instructions at the OS level. Then you can use xdevadm, or the JAVA or NT GUIs. 

If using xdevadm, select Add Drive from the Drives dialog menu. 

If using the Java or NT GUIs, start Media and Device Management and click on the Media Manager to which you’re adding the drive.  Select New | Drive from the Actions dialog menu. 

Select the appropriate drive type and give it a drive index number that will be unique for the media server the drive is connected to as well as a drive name which should be unique for the organization. If on Unix, specify the no-rewind device file for the device using the Berkley style close and compression (if available). If using Solaris, verify that the type of drive you are using is in the st.conf file. Consult the Media Manager Device Configuration Guide for details. If the drive and OS do not have native tape alert cleaning features (generally Exabyte 8900 Mammoths, Quantum and Tandberg DLT2/4/7000s, Sony AIT SDX-300Cs, STK ˝ inch cartridge, and STK 9840s) select a frequency based cleaning routine (in hours). Set the robot type and robot number that is feeding the drive media.

The JAVA and NT GUIs will then prompt you to restart the media manager daemon, and do it for you automatically.  If you are using xdevadm, you must restart the media manager daemon (ltid) when you are ready for NetBackup to see the robot. To do this, use the command /usr/openv/volmgr/bin/stopltid followed by /usr/openv/volmgr/bin/ltid to restart it. Any backups that are in progress at that time may fail.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I bring a drive up or down?
You can use vmoprcmd or the device manager GUI. (Select Device Manager from the NT or JAVA GUIs, or from the xnb GUI.) See the man page for details on vmoprcmd.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
What volume pools do I want to setup?
A: Netbackup will setup a Netbackup pool that is used for database (indexes) backups. It will also setup a None pool which is available to any user or application for backups. You will likely want a scratch volume pool from which unused tapes can be automatically pulled. You will want additional volume pools based upon who is allowed to use certain resources. You may also wish to assign volume pools for duplication, archives, or other purposes.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Setting up a scratch pool, FYI, is documented in the "Media Manager System Administrator's Guide". Basically you create the pool and then add a line to the volmgr/vm.conf file (on each media server) that reads SCRATCH_POOL = "poolname"

Also important to note is that a "DEFAULT" barcode rule is a good thing to have when you are using a scratch pool. This will insure that volumes that are automatically added to your media database will be assigned to the scratch pool.
mailto:rob@colltech.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a volume pool?
A: You can do this with any of the GUIs, or with vmpool.  If using the JAVA or NT GUIs, select the Actions menu under Media and Device Management, select New | Volume Pool.  If using xdevadm, select the Actions menu, and select New | Volume Pool. Enter the pool name, the NetBackup server hostname, the user and group allowed to access the pool (use "ANY" for all users, and "NONE" for no groups), and a description of the pool.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I delete a volume pool?
A: Ensure that all volumes are NOT assigned to the volume pool to be deleted. If using the JAVA or NT GUIs, select the Actions menu under Media and Device Management, click on the volume pool to be deleted and make sure there are no volumes assigned, then select Actions | Delete..  If using xvmadm, select the volume pool to be deleted, then select Action | Delete from the main xvmadm window.  This can also be done with the  vmpool command.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
What is a volume group?
A: A volume group is a group of volumes that have some common physical location or characteristic, such as being in the same library, at the same offsite location, having the same media density, or the like. There may be more than one group in a location, however, all media in a volume group must be in the same location.

Q: How do I add a volume group?

A: You can add a volume group when you are adding new volumes. When adding a single volume and specifying the volume group, simply type in the name of the new volume group you wish to create.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I delete a volume group?
A: Verify that all volumes that were in the volume group have been deassigned from that volume group. Using the xvmadm program, select the desired volume group from the media management window, then select Actions | Delete.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I inventory my library?
A: If using the Java or NT GUIs, start Media and Device Management, click on the Media Manager that hosts the robot you wish to inventory.   Then select Inventory Robot from the Actions menu.  Then select the robot on the host you wish to inventory and select Show contents of robot and Start to obtain an inventory.  If using xvmadm, select Robots | Use Inventory to Update Volume Information… Then select the robot on the host you wish to inventory and select Show Robot Contents to obtain an inventory. Note that ACS and TLM type libraries are not managed by NetBackup and you cannot inventory through this method.  This can also be done with vmupdate.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Also available as command line: vmcheckxxx -rt robot_type -rn robot_number -list. Not found in documentation as of writing. Provided as is.
mailto:jonathanrc@yahoo.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I compare my library inventory to the media database?
A: Follow the steps outlined to inventory a library except you should Compare Contents with Volume Configuration instead of Show Robot Contents.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
My library inventory and volume configuration don’t match. What should I do?
A: If you are using barcodes with your library, you can do this automatically.  If using the JAVA or NT GUIs, then start Media and Device Management, select Perform volume configuration update button found under Actions | Inventory robot.  If you are using xvmadm, then select the Update Volume Configuration button found under Robots | Use Inventory to Update Volume Information… If you are not using barcodes, then you must physically move the media to the position indicated by the media volume configuration. This can also be done with vmupdate.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I label media?
A: Normally, NetBackup will label tapes as it needs to.  If you wish to label tapes to get rid of old headers or some other reason, utilize multiple ALLOW_MEDIA_OVERWRITE directives in bp.conf file to overwrite previously used media of a recognized type (ANSI, AOS/VS, CPIO, DBR, MTF1, or TAR). Use the bplabel command to write a label.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
When do I replace media?
A: If you are encountering too many errors, or if the media has exceeded the recommended maximum number of mounts. You may also wish to replace media in your library if the tape is full, or if the tape has expired, but you wish to retain the data.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I replace media in my library?
A: If you do not wish to reuse the media ID of the replaced media, move the old media out of the library and replace the old media with new media with identical characteristics except for the media ID. If you wish to reuse the media ID, expire the old media with bpexpdate –d 0 –ev media id, move the old media out of the library, delete the media from the NetBackup media database, insert new media with identical characteristics including the media ID. The second method will result in data loss if the tape is not already expired.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I recycle (or deassign) Netbackup database (catalog) backup tapes?
(From Geoffrey-Booher <gbooher@officedepot.com>)

vmquery -deassignbyid media_id n 0

media_id is the tape media id
n  is the pool number assigned to NBDB pool.  You can determine the pool number with:

vmquery -m media_id

This will deassign it unless it is frozen.  The vmquery command is in
\Veritas\Netbackup\Volmgr\bin
(or /user/openv/netbackup/volmgr/bin for UNIX)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
Why do I want to recycle media?
A: Sometimes you will need to expire media before the normal expiration date. You may have a shortage of media or slots that necessitates recycling.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I recycle media?
A: Utilize the command bpexpdate –d 0 –ev media id to force recycling of your media. Normally, the media will expire and recycle itself.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I change the attributes of media?
A: You can change the volume group, logical location, expiration date, barcode, description, volume pool, maximum mount, number of mounts / cleanings, media type, robot type, and other attributes, by using the vmchange command.  You can also do this in the media manager GUIs.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a volume to the media database?
A: Physically place the volume in the library. If using the Java or NT GUIs, start Media and Device Management, select Actions | Inventory Robot. Select the device host and robot you wish to inventory.  Next select the Perform volume configuration update button.  If using xvmadm, select Robots | Use Inventory to Update Volume Information… Then select the Update Volume Configuration button. If the tapes have barcodes, they will be read. If they do not, then you will be prompted for a media id to enter. There is a six character limit.  You can also do this with vmupdate.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
What does a class influence?
A: A class groups a set of common characteristics. A class influences the files to be backed up, when backups occur, and whether to do full, cumulative, or differential backups. The storage units and pools that should be used are specified. Whether a class is active, the priority of the class and which clients belong to it are also factored in.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a class?
A: If using the Java or NT GUIs, start Backup Policy Management, click on the Master Server you wish to manage.  Select Edit| New.  If using xbpadm, select Actions | New Class. Specify a name describing the common characteristic of systems in this class. You may then either copy the characteristics from an existing class or create it from one of the available class types. Specify the Class Type, the Storage Unit you wish to use, as well as the Volume Pool. You may specify the Maximum number of Jobs for that class, and may set the Class Priority and a Keyword phrase to associate with the class. Pick the options you wish to use and then proceed to add the clients, schedules, and files you want. Once you are satisfied with the class, make it active and apply.  You will also need to add clients, schedules, and a file list to this class.

Q: How do I copy a class?

A: If using the Java or NT GUIs, start Backup Policy Management, click on the Master Server you wish to manage, then right-click on the Class you wish to copy.  Select Copy then specify a name for the copy in the New class box.  Edit any of the class characteristics you wish to change, then click OK.  If desired, modify the schedules, files, or clients as necessary.

Q: How do I modify a class?

A: If using the Java or NT GUIs, start Backup Policy Management.  To change basic class attributes (such as Multiplexing, Class Storage Unit, etc.), click on the Master Server you wish to manage, then select the class you wish to modify, right click, and choose Change.  Select the attribute(s) you wish to change and apply.   If you wish to change schedules, files, or clients, click on the “+” symbol next to the desired class.  Then click on the area below the class you wish to change (Schedules, Files, or Clients).  The existing items will display in the right window.  If you wish to change/delete an existing item, right-click on the specific item you wish to change/delete, and select Change or Delete as appropriate.  Change the desired attribute(s) and select OK.  If using xbpadm, select the class you wish to modify, right click and choose Change Class. Select the attribute you wish to change and apply.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I delete a class?
A: If using the Java or NT GUIs, start Backup Policy Management, click on the Master Server you wish to manage, then select the class you wish to delete, right click, and choose Delete. If using xbpadm, select the class you wish to delete, right click, and choose Delete Class.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How does scheduling work?
A: Scheduling is based off of classes. To have a common schedule throughout your classes, utilize the copy option when creating new schedules. With schedules, you may override the default storage unit and volume pool for the class in question. You specify within the schedule what type of backup (full, cumulative, differential, user backup, or user archive) as well as the retention period, frequency, and whether or not to multiplex. You also specify the start time and window for the backup schedule.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a schedule?
A: This can be done with any NetBackup GUI.

If using the Java or NT GUIs, use Backup Policy Management click on the Master Server you wish to manage, then click on the “+” sign for the class you wish to work on, and right-click Schedules and select New.  Give the schedule a meaningful name and specify the frequency period and what level of multiplexing (if any) to allow.  Next specify the type of backup this schedule is for, how long to retain the backups, and specify whether or not you wish to override the default storage unit or volume pool.  Finally, you should specify what days of the week you wish to do backups, specifying the start time and the duration of the backup window for starting backup jobs in the class.  When satisfied with the settings, click OK.  If you wish to copy an existing schedule, locate the class that contains the schedule you wish to copy.  Click the “+” symbol next to the class, then click on Schedules below that class. The individual schedules will display in the right window.  Right-click on the desired schedule and select Copy.  Select the name for the new schedule and what class it should be added to.  Make any changes desired in the schedule and click OK. 

If using xbpadm, select the class you wish to work on, then select the schedule tab/button. Select New, and either copy the schedule from an existing class or give it a name and select okay. At that point you will have to specify whether or not you wish to override the default storage unit or volume pool. You will need to specify what type of this schedule is for as well as the retention period, frequency, and whether or not to multiplex with this schedule. Finally, you should specify what days of the week you wish to do backups, specifying the start time and the duration of the backup window for starting backup jobs in the class.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I modify a schedule?
A: Select the schedule button for the class in question and then select the schedule desired and select modify. Make changes to the characteristics desired.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I delete a schedule?
A: Select the schedule button for the class in question and then select the schedule desired and select delete.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I add a client?
A: You add clients to a class. If using the Java or NT GUIs, start the Backup Policy Management, click on the Master Server you wish to manage, click on the “+” symbol next to the class you wish to add the client to, right-click on Class and right-click on Clients below the class and select New.  You will need to specify the type of hardware and OS that the client is as well as the name of the client.  If this is a new client, you can install the client software from the Master Server.  This can be done from a trusted NT system to other NT systems, or from a Unix server that can rsh to other Unix clients. To do this, make sure rsh (or the trust) is enabled from the NetBackup server to the NetBackup client then right-click on the Master Server and select Install UNIX Client Software.  Set the clients to be installed and click the Install Client Software button.  If rsh (or a trust) is not enabled,  then you will need to use an alternate method, such as /usr/openv/netbackup/bin/install_client_files ftp clientname username. If using xbpadm, select the class you wish to add the client to, and right click and select Change Class. Within the class dialog box, select the clients button, and select New. You will need to specify the type of hardware and OS that the client is as well as the name of the client. You may add multiple clients of the same hardware and OS at a time. You may also install the client software by selecting the button as long as rsh is enabled from the NetBackup server to the NetBackup client. If it is not, then you will need to use an alternate method such as by the command /usr/openv/netbackup/bin/install_client_files ftp <clientname> <username>.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I delete a client?
A: If using the Java or NT GUIs, start Backup Policy Management, click on the Master Server you wish to manage then click the “+” symbol next to the class that contains the client you wish to delete.  Click on Client and the clients will display in the right window.  Right-click on the client you wish to delete and select Delete.  If using xbpadm, select the class you wish to delete the client from, and right click and select Change Class. Within the class dialog box, select the clients button. Select the clients you wish to delete and select Delete.

Q: How do I merge two media servers?

Find out all the tapes assigned to the old slave server, run bpmedia -movedb on all of them to move them to the new media server.  You will need both the old server and the new server up running during this command.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
What is the difference between Cross Mount Points and ALL_LOCAL_DRIVES?
ALL_LOCAL_DRIVES can do the same as / and Cross Mount Points as long as Allow Multiple Data Streams is turned off, both will backup all the file systems using a single stream. If you use Allow Multiple Data Streams then ALL_LOCAL_DRIVES will spawn a stream per file system of disk on NT.
so let me try and put this in a matrix

Single Stream
ALL_LOCAL_DRIVES no Allow Multiple Data Streams
/ + Cross Mount Points Allow Multiple Data Streams doesn't matter

Multiple Streams
ALL_LOCAL_DRIVES With Allow Multiple Data Streams.
mailto:bbakh@veritas.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

It should be noted that ALL_LOCAL_DRIVES also works for UNIX(or at least Solaris) clients as well.
mailto:lalartu@obscure.org?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How can I securely push a UNIX NetBackup client?
A supported method for pushing a NetBackup client to a UNIX sever uses rcp and
rsh. This method is insecure, since each client must trust the NetBackup server
(via an entry in .rhosts). To make pushing a client more secure, it would be
nice to use ssh and scp in place of the "r" utilities. The modification
described here does just that.

Requirements:

1. The clients must be running sshd, and sshd must permit (a) root logins, and
(b) allow RSA (or DSA for ssh v2) authentication.

2. The NetBackup server which is to push the software

3. There must exist an ssh passkey, with the private key on the server, and
the public key in root's authorized_hosts (authorized_hosts2 for ssh2) file 
on the clients.

The Modification:

Edit the install_client script appropriate to your client's arch/OS. For
example, for Solaris 7, this would be:
/usr/openv/netbackup/client/Solaris/Solaris7/install_client
Rewrite the section defining rcp and rsh to point to your local versions of
scp and ssh, as follows:

---begin original---                                                            

# Find the rsh and rcp commands                                                 
if [ -x /usr/net/rsh ] ; then                                                   
        RSH=/usr/net/rsh                                                        
elif [ -x /usr/bin/remsh ] ; then                                               
        RSH=/usr/bin/remsh
... and so on ...
else
        /bin/echo Cannot find rsh command
        exit 1
fi

if [ -x /usr/ucb/rcp ] ; then
        RCP=/usr/ucb/rcp
elif [ -x /usr/bsd/rcp ] ; then
        RCP=/usr/bsd/rcp
elif [ -x /usr/bin/rcp ] ; then
        RCP=/usr/bin/rcp
else
        /bin/echo Cannot find rcp command
        exit 1
fi

---end original---

If ssh and scp are installed in /usr/local/bin, modify the above sections to
read as follows:

---begin modified section---

# Modified to use ssh and scp instead of rsh and rcp;                           
# unmodified file is install_client.orig -jon                                   
#                                                                               
# Find the ssh and scp commands                                                 
if [ -x /usr/local/bin/ssh ] ; then                                             
        RSH=/usr/local/bin/ssh                                                  
else                                                                            
        /bin/echo Cannot find ssh command                                       
        exit 1                                                                  
fi                                                                              
                                                                                
if [ -x /usr/local/bin/scp ] ; then                                             
        RCP=/usr/local/bin/scp                                                  
else                                                                            
        /bin/echo Cannot find scp command                                       
        exit 1                                                                  
fi                                                                              
# End modified section    
       
---end modified section---

Example:

Once you've made that change to any client you want to push, you can            
install clients via scp/ssh easily enough:                                      
                                                                                
(add clients to NetBackup, but don't let it push the clients)
(put public key on all clients, private key on NB server)
# ssh-agent bash
bash # ssh-add backup-key      # if "backup-key" is the name of your key...
Need passphrase for backup-key
Enter passphrase for jon@tweety.main.gnac.com
Identity added: backup-key (jon@tweety.main.gnac.com)
bash # /usr/openv/netbackup/bin/install_client_files rsh ALL  # really ssh!
       192.168.2.1 ...
Client 192.168.2.1 -- Solaris hardware running Solaris2.6
Installing NetBackup software on 192.168.2.1
...

One final note: it is possible to push a client using ssh with passwords, but
you'll have to type in the password a few dozen times for each client. If you
only need to push one client, it's marginally bearable.

Jonathan Tourtellot
Global Networking and Computing (GNAC)
mailto:jon@gnac.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I clear the client list in the NetBackup Windows client?
If you use a centralized system to perform restores for all clients, eventually the client list in Source and Destination tabs for the machine lists becomes very large. Here is a method used to clear the client list and reset it. Be aware that this method involved editing the registry. Don't do this if you are not comfortable with that.
1) With a registry editor (regedit, reged32) go to: HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config and find the "Clients" key.
2) Edit the Clients key so it contains only the client you wish to have in the list by default. The easiest way to do this is to add the client to the client list, then remove everything except that client with the registry editor. Double null terminate the key.
3) Export the registry branch and with a text editor, remove all the keys except the Clients key.
This file can now be used to 'reset' the client list by importing it into the registry. It can be automated using AT if desired as well.
mailto:ahrensj@psi.ca?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Administrative Tasks :
How do I empty my tape silo's inport (CAP) from the command line?
The vmupdate command is used to achive this. The most basic form of the command to empty the inport is:
vmupdate -rn < robot_num > -rt < robot_type > -interactive -empty_ie
Where robot_type and robot_num are the NetBackup type and number.
There are other options for vmupdate which allow changing the default behaviour (pool, ID's, etc...) of the loaded tapes.
mailto:jason.ahrens@telus.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Location of files
This section of the FAQ answers the question, "Where are the important files for NetBackup, and what do they do?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) What directory structure does NetBackup and Media Manager use?

[Add a New Answer in "Location of files"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Location of files :
What directory structure does NetBackup and Media Manager use?
A: NetBackup is located under /usr/openv/netbackup on Unix, or <install_dir>\Veritas\NetBackup on NT. Media Manager is located under /usr/openv/volmgr, or <install_dir>\Veritas\VolMgr on NT.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
User Backups and Restores
This section of the FAQ answers the question, "How can users do their own backups and restores?"
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) How do I start the Backup and Restore GUI?
(Answer) How do I do a basic user initiated backup?
(Answer) How do I do a basic user initiated archive?
(Answer) How do I do a basic user initiated restore from a backup?
(Answer) How can I get a list of my backups and archives?

[Add a New Answer in "User Backups and Restores"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) User Backups and Restores :
How do I start the Backup and Restore GUI?
A: If using the Java GUI, run jbpSA, or select Backup and Restore from the main jnbSA GUI.  If using NT, select it from the main NT GUI.  If on Unix, you can run xbp.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) User Backups and Restores :
How do I do a basic user initiated backup?
A: This can be done with any of the GUIs.

If using the Java or NT GUI, select the Backup and Restore GUI and click on the Backup Files tab.  Verify/set your server.  In the left browse window, expand the directory tree until you get to the directory that you want to backup (or the directory that contains the file(s) you want to backup).  Click on the small dot next to the directory to backup the whole directory.  If you wish to backup certain files within the directory, click on the directory name in the left window then select the small dot next to the file(s) you want to backup in the right browse window.  When all files have been selected, click Backup in the lower-right corner.  If you desire to have a keyword phrase, type it into the window that pops up, then click Start Backup. .  You may check progress of the backup by clicking on the Task Progress tab. 

If using the xbp GUI, go to File | Configuration and verify/set your server and client. Go to File | Browse file system (backup or archive). Set the "Directory to Search" to be the base directory of what you are interested in backing up to media. Set an appropriate "Directory Depth" so that you can see the directory tree you are interested in. Select the files and directories that you want to backup. Select Backup | Backup Selected Files and Directories. Verify the files and directories you are going to backup. Select a phrase or mnemonic that will identify the backup when you wish to find it later. Select a location for writing the progress log. Select OK, and the backup will be initiated. You may check progress of the log file by using tail –f or by using the GUI.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) User Backups and Restores :
How do I do a basic user initiated archive?
A: This can be done with any of the GUIs.

If using the Java or NT GUIs, select Backup and Restore GUI and click on the Backup Files tab.  Verify/set your server.  In the left browse window, expand the directory tree until you get to the directory that you want to backup (or the directory that contains the file(s) you want to backup).  Click on the small dot next to the directory to backup the whole directory.  If you wish to backup certain files within the directory, click on the directory name in the left window then select the small dot next to the file(s) you want to backup in the right browse window.  When all files have been selected, click Backup in the lower-right corner.  Select the Archive files box.  If you desire to have a keyword phrase, type it into the window that pops up, then click Start Backup.   You may check progress of the archive by clicking on the Task Progress tab. 

If using the xbp GUI, go to File | Configuration and verify/set your server and client. Go to File | Browse file system (backup or archive). Set the "Directory to Search" to be the base directory of what you are interested in archiving to media. Set an appropriate "Directory Depth" so that you can see the directory tree you are interested in. Select the files and directories that you want to archive. Select Backup | Archive Selected Files and Directories. Verify the files and directories you are going to archive. Select a phrase or mnemonic that will identify the archive if you wish to find it later. Select a location for writing the progress log. Select OK, and the archive will be initiated. You may check progress of the log file by using "tail –f" or by using the GUI. 

Your archived files will be deleted from disk after they are written to media. 
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) User Backups and Restores :
How do I do a basic user initiated restore from a backup?
A: This can be done with any of the GUIs.

If using the JAVA or NT GUIs, select Backup and Restore.  Click on the Restore Files tab.  Verify/set the server, source client, type of client, and destination client.  Note that restoring to a different client is usually best done from the Master Server rather than from a client.  Set the source of the backup and then choose the date range you wish to search.  If the backup used a keyword phrase, complete the Keyword phrase to search for box.  Set the Browse directory to the base directory of the file(s) you’re interested in restoring.  Click on the Update File List button.  This should result in a directory structure that meets your search criteria showing in the lower left window.  Expand the directory structure as necessary to locate the directory you wish to restore from.  If you want to restore the whole directory, click the small circle next to the directory name.  If you wish to restore files within the directory, click on the directory name and a list of files will appear in the right window.  Click on the small circle next to the files you wish to restore.  When all the files you wish to restore are selected, click on the Restore button.  If you wish to restore the files to an alternate path, choose the appropriate selection (Restore everything to a different location or Restore individual directories and files to different locations) and set the source and destination paths.  Set whether or not you want the restore to overwrite existing files and whether or not the restore should cross mount points.  Once the selections are correct, click on the Start Restore button.  You may check progress of the archive by clicking on the Task Progress tab.

If using the xbp user interface. Go to File | Configuration and verify/set your server and client. Go to File | Browse backups (restore). Set the "Directory to Search" to be the base directory of what you are interested in archiving to media. Set the date & time range you are interested in browsing. Specify the phrase or mnemonic used for the backup you are interested in restoring from. Set an appropriate "Directory Depth" so that you can see the directory tree you are interested in. If multiple copies of the files appear, select the backup image that you are interested in. Select the files and directories that you want to restore. If you wish to restore to an alternate path, select Restore | Specify Alternate Path and enter the alternate restore location. Select Restore | Restore Search Directory to restore. Verify the files and directories you are going to restore. Determine whether you want to overwrite existing files and/or restore to an alternate path. Select a location for writing the progress log. Select OK, and the restore will be initiated. You may check progress of the log file by using "tail –f" or by using the GUI.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) User Backups and Restores :
How can I get a list of my backups and archives?
A: Use the bplist command. See the man page for details
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Category) (Category) NetBackup Faq-O-Matic :
Media Manager
Questions regarding NetBackup's Media Manager...
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) I have tapes whose physical expiration date is shorter than I'd like. How do I change that date?
(Answer) How do I tell the Media Manager that I have a cleaning tape?
(Answer) How often should I clean my drives?
(Answer) What is the expected DLT tape longevity ?
(Answer) What is the expected 9840 tape longevity?
(Answer) How do I know if I have a volume that is FROZEN or SUSPENDED?
(Answer) What's the difference between the media manager expiration date (given by vmquery) and NetBackup's expiration date (given by bpmedialist)?
(Answer) How do I show how many cleanings are left on the cleaning tape?
(Answer) How do I show how many cleanings are left on the cleaning tape?

[Add a New Answer in "Media Manager"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
I have tapes whose physical expiration date is shorter than I'd like. How do I change that date?
The date to which we are referring is the date that you see in vmquery, and is the date that the volume itself should be expired, and no longer used.  This is not related to the expiration date of the images on the tape.

vmchange -M master -h volhost -exp 0 -m mediaid

The command above will tell media manager that the tape should never expire.

vmchange -M master -h volhost -exp mm/dd/yy -m mediaid

This will set it to expire on a specific date.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
How do I tell the Media Manager that I have a cleaning tape?
From: "Dennis Dwyer" <dfdwyer@tecoenergy.com>

When you enter a Cleaning Tape into a library via NetBackup you have to tell it how many cleanings the tape is good for. A new tape is good for 20 cleanings and when that number is exhausted, it will not be mounted again. 

From: "RYAN C. ANDERSON" <RYAN_ANDERSON@udlp.com>

One can make a home-brewed approach to finding out cleanings that are
left by lifting the cleaning data using this command (with DLTs):

vmquery -mt dlt_clean -b
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
How often should I clean my drives?
This question comes up quite a bit, and there is no really good answer.  The manuals for many modern drives (DLT, AIT, others) say to clean the drives only when they say they need it (e.g. "when the light comes on").  The way this is done in NetBackup is via the "TapeAlert" feature.  You tell NetBackup that the cleaning frequency is 0, and it will clean it only when the drive requests to be cleaned.  Unfortunately, there are many configurations under which the TapeAlert feature does not work.  As you can see in the quote below, cleaning a drive too often can actually cause more harm than good.  You will need to find a frequency that works for you.  If TapeAlert doesn't work, I would start by talking to your tape drive vendor.  Ask them (a) why it doesn't work and what they're doing about it, and (b) how often you should clean the drives in the meantime.

From: "Dave Pearson (EML)" <Dave.Pearson@eml.ericsson.se>

We also have an L11000 and haven't been able to get TapeAlert (cleaning when a drive requests it) to work. Sun told us it is a known problem and they have reported it to Veritas.
 
We used to clean our drives every 20 hours until we started getting lots of media write errors. We had all the drives replaced and the problems went away. The engineer said the drives are basically self-cleaning and even if the light does come on it usually goes out when the next tape is loaded. However, he suggested 120 hours as a reasonal interval for scheduled cleaning. So we set it to that and, so far, no cleaning lights and no more errors.
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic

[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
What is the expected DLT tape longevity ?
Tape media longevity can be broken down in to 2 sections:

1) Shelf life; What is the estimated time a tape can retain the data that is 
stored on it.

2) Usage life; How many times can a tape be accessed before it becomes 
unreliable.

Shelf life:
The DLT tape media shelf life is more than 30 years. The environment is 
specified as 18°C to 28°C (68°F to 82°F) with 40% to 60% relative humidity
(non-condensing).
The cartridge should be stored in its protective case to keep out dust and 
contaminants. 

Usage life:
The DLT tape cartridges are specified at one million passes. In laboratory 
tests, the media has been usable even after very high numbers of passes and
the media actually seems to improve with use. At one million passes the tape
should continue to function normally, unless it is being used in an environment
 with heat, humidity or contamination levels beyond those recommended.
A pass refers to a single movement of a section of the tape media across the
head assembly. The number of passes may be determined by the number of times
the cartridge is read or written "end to end". 

In short:
You should be probably more worried regarding if you have still the equipment
 available to read the tapes as opposed to if your tape is still readable.
mailto:ysbrand@usa.net?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
What is the expected 9840 tape longevity?
Tape media longevity can be broken down in to 2 sections:
1) Shelf life; What is the estimated time a tape can retain the data that is stored on it.
2) Usage life; How many times can a tape be accessed before it becomes reliable.
Shelf life: The 9840 tape media shelf life is 15 to 30 years. The environment is specified as 18°C to 26°C (65°F to 79°F) with 40% to 60% relative humidity (non-condensing).
Usage life: The 9840 tape cartridges are specified at 80.000 write/read passes minimum. A minimum of 10.000 loads/Unloads is specified as well.
[Append to This Answer]
mailto:ysbrand@usa.net?subject=NetBackup Faq-O-Matic
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
How do I know if I have a volume that is FROZEN or SUSPENDED?
well, you'll be able to tell if you look at the error logs when NetBackup tries to use it... :-)
You cannot see this information in the Media Management GUI, but you can run the /usr/openv/netbackup/bin/goodies/available_media script to see this info.
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic
(Version 3.2) The "Media Summary" report run either from the administration GUI or the command line (bpmedialist -summary) also will flag you on frozen media, but only if the tapes are in a pool. The report doesn't give much useful information for the scratch pool, unfortunately.

The training materials I have say that a tape goes into the frozen state when it is first used and NetBackup detects another format already on the tape.

It goes on to say that the frozen state can be "set by command to protect backups from aging out of the images database." I don't know what that means. (Will update here when I find out.)

In my experience I find myself with several tapes in the frozen state that have valid images on them, and I never issued the command to freeze them. (Will update here when I find out more.)
mailto:vandevegt@yahoo.com?subject=NetBackup Faq-O-Matic

You can use a command line utility to set a tape volume to FROZEN or SUSPENDED.
Run:
bpmedia -suspend -ev XXXXXX
or
bpmedia -freeze -ev XXXXXX
where XXXXXX is the tape number.
If a volume is SUSPENDED the system will not write to it until all the backup images on that volume have expired.
If a volume is frozen the system will not write to it even after all the backup images on that volume have expired.
mailto:dave.pearson@eml.ericsson.se?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
You also might want to try using the available media script. This will provide the infomation you might want about the tapes in the scratch pool.
generally located at: /usr/openv/netbackup/bin/goodies/available_media
-nat
mailto:rattydukes@yahoo.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
What's the difference between the media manager expiration date (given by vmquery) and NetBackup's expiration date (given by bpmedialist)?
The expiration date given by vmquery and other media manager commands is the date the tape ITSELF should expire (i.e. get thrown away). This is sometimes referred to as its _physical_ expiration date.
The expiration date give by the bp* commands is the date the data on the tape expires (i.e. can get overwritten).
I personally do not use the MEDIA expiration date for anything. In normal use, date has little to do with a tape's usefulness. What matters is the number of tape passes. Even so, most people never get anywhere near the useful life of a tape before they move on to some other type of media. Most modern tapes are rated at over 30,000 passes. Even at 10 passes a day, that tape would last your almost 9 years. However, most tapes don't get 10 passes in a month. They get written to and then set on a shelf in the library for quite a while. (I will state that I am just one person, and their are people that disagree with the above opinion. That's OK. They're wrong.) ;)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
How do I show how many cleanings are left on the cleaning tape?
[Append to This Answer]

(Answer) (Category) NetBackup Faq-O-Matic : (Category) Media Manager :
How do I show how many cleanings are left on the cleaning tape?
Type: vmquery -mt dlt_clean
This will show how many cleanings are left.
[Append to This Answer]
mailto:tsu3000@hotmail.com?subject=NetBackup Faq-O-Matic
(Category) (Category) NetBackup Faq-O-Matic :
Test/Nonsense Category
Use this category to make test posts to the FAQ-O-Matic. Please don't post any real questions here.
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:

[Add a New Answer in "Test/Nonsense Category"]
(Category) (Category) NetBackup Faq-O-Matic :
Troubleshooting
Tips and tricks for working around various problems.
(This FAQ is only for questions that have already been answered, please post all new questions to the NetBackup Mailing List.)
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Subcategories:

Answers in this category:
(Answer) Error 11 with OTM
(Answer) Status 134 errors with NetBackup 3.4?
(Answer) Error 14 on NT Clients
(Answer) Error 24 on Unix clients but WinXX clients work
(Answer) How fast should my tape drive go? (i.e. what does it mean to "stream" a tape drive?)
(Answer) Error 41 - bpbkar using 98% cpu
(Answer) Status 74 on Win2k backup

[Add a New Answer in "Troubleshooting"]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Troubleshooting :
Error 11 with OTM
See the same heading in this FAQ under "configuration -> OTM configuration."
mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Troubleshooting :
Status 134 errors with NetBackup 3.4?
In patch 645 for NetBackup 3.4, the workaround for the Status 134 error messages indicates that the file /usr/openv/volmgr/DISABLE_RESOURCE_BUSY needs to be touched(an empty file created). There is supposedly now a TechNote from Veritas to correct this but the correct workaround is to touch the file
/usr/openv/volmgr/DISABLE_RESOURCES_BUSY
The difference is between RESOURCE and RESOURCES.
This needs to be touched/created on all the master/media servers.

[Append to This Answer]
mailto:paul.weaver@stratech.com?subject=NetBackup Faq-O-Matic, mailto:gosta.jonsson@barret.se?subject=NetBackup Faq-O-Matic
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Troubleshooting :
Error 14 on NT Clients
This is explained further at
http://seer.support.veritas.com/docs/200380.htm
However by upgrading to Service Pack 6a on NT, the TCP/IP stack is updated and made more stable.
This is seen on Service Pack 3, 4 and 5 Servers.
mailto:bbakh@veritas.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Troubleshooting :
Error 24 on Unix clients but WinXX clients work
This may manifest itself if you are using "True Image Restore" and patch J0850645 or it may show up after you enable "With Move Detection" under TIR. This was the case for us.
----------------------------------------------------
Are you using patch J0850645? And have "Collect True Image Restore info" enabled? If so, you need P0850697
Thanks to Douglas Ritschel for pointing me in the correct direction.
mailto:tim.mcmurphy@telus.com?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
Developed a growing problem with Error 24 last week. Traced it down to the fact that all machines with the problem are on one switch. The switch we found had a bad port. Shut off that port forcing all traffic through another port on the switch. Backups completed without error. -
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Troubleshooting :
How fast should my tape drive go? (i.e. what does it mean to "stream" a tape drive?)
First off, keep the following conversion in mind:

1 MegaBytes/sec =  3.6 GigaBytes / hour
100  Megabits/sec = 12.5 MegaBytes/sec = 45 GB/hr

If you're not getting at least  "native speed" 
(e.g. 5MB/sec or 16GB/hr from a DLT 7000 drive) performance from your tape 
drives, there is very likely some fixing that needs to be done to your backup
system.

Many tape drives are "streaming" drives, which means that the drive's 
native speed should be considered a MINIMUM incoming data rate.  If one of 
these types of drives is always getting data at a fast enough rate, it's said
 to be "streaming".   If the drive doesn't get data at that speed, it is 
"NOT streaming" and a performance penalty results.

The source of this performance penalty (as I understand it) is basically time 
wasted due to contant head repositioning.  Below is my "quick and dirty" 
explanation of what happens when a streaming-type tape drive doesn't get fed 
fast enough:

     1-incoming data stream begins

     2-tape spins up to write the incoming data

     3-the data buffer is written to tape

     4-look for more data, but it's not arrived yet! 
(the tape is spinning fast enough that we've gotten a bit ahead of ourselves
 at this point)

     5-stop the tape, rewind to the last bit that got written

     6-go back to step 1 (or more likely step2, more data probably arrived and 
piled up during step 4)


the end result is that your tape drive writes even more slowly than the 
incoming stream of data.

The solution:  depends on the problem, but it's probably one or more of the 
following:
    -tweaking the buffer sizes on the media server.  tweaking the netbackup 
data buffers is discussed in this FAQ and on the veritas-bu mailing list.
    -use of multiplexing
    -improvement of network bandwidth into the media server
    -use of FlashBackup (if your backup happens to be slow because of a large 
number of small files)
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
First off, keep the following conversion in mind:

1 MegaBytes/sec =  3.6 GigaBytes / hour
100  Megabits/sec = 12.5 MegaBytes/sec = 45 GB/hr

If you're not getting at least  "native speed" (e.g. 5MB/sec or 16GB/hr from a
DLT 7000 drive) performance from your tape drives, there is very likely some 
fixing that needs to be done to your backup system.

Many tape drives are "streaming" drives, which means that the drive's native 
speed should be considered a MINIMUM incoming data rate.  If one of these types 
of drives is always getting data at a fast enough rate, it's said to be
"streaming".   If the drive doesn't get data at that speed, it is 
"NOT streaming" and a performance penalty results.

The source of this performance penalty (as I understand it) is basically time
wasted due to contant head repositioning.  Below is my "quick and dirty" 
explanation of what happens when a streaming-type tape drive doesn't get fed 
fast enough:

     1-incoming data stream begins

     2-tape spins up to write the incoming data

     3-the data buffer is written to tape

     4-look for more data, but it's not arrived yet!  (the tape is spinning 
       fast enough that we've gotten a bit ahead of ourselves at this point)

     5-stop the tape, rewind to the last bit that got written

     6-go back to step 1 (or more likely step2, more data probably arrived and
       piled up during step 4)


The end result is that your tape drive writes even more slowly than the 
incoming stream of data.

The solution:  depends on the problem, but it's probably one or more of the 
following:
    -tweaking the buffer sizes on the media server.  tweaking the netbackup 
     data buffers is discussed in this FAQ and on the veritas-bu mailing list.
    -use of multiplexing
    -improvement of network bandwidth into the media server
    -use of FlashBackup (if your backup happens to be slow because of a 
     large number of small files)
mailto:rob@worman.org?subject=NetBackup Faq-O-Matic, mailto:curtis@backupcentral.com?subject=NetBackup Faq-O-Matic
[Append to This Answer]
(Answer) (Category) NetBackup Faq-O-Matic : (Category) Troubleshooting :
Error 41 - bpbkar using 98% cpu
---------------------------------------------------------------------------- PROBLEM DESCRIPTION: --------------------------------------
The manual backup job works but the scheduled ones die with an error 41 and leave 3 bpbkar processes hanging and sucking up cpu resources.
You go in and manually kill the bpbkar processes that are hung but the next day it does it again and fails all 3 attempts leaving 3 more processes in limbo.
This may be related to vold not behaving properly. This can occur if you use vold to mount CDROMs and then kill it afterwards. Even though the process isn't running it still has a lock on a directory (usually /vol or /cdrom). The process vold appears to have an NFS server inside it (see Sun patch 102081).
A second symptom is that trying to look at the /vol filesystem hangs up: # cd / # ls -al NFS server for volume management (/vol) not responding still trying ^CNFS getattr failed for server for volume management (/vol): error 23 (RPC: Unitdata error)
# umount /vol nfs umount: cbaicidcweb01:vold(pid2457) server not responding: RPC: Rpcbind failure - RPC: Unable to receive
# umount /cdrom umount: warning: /cdrom not in mnttab umount: /cdrom not mounted
Once you can do a "ls -al" in the root directory and can see /vol it should work. -------------------------------------------------------------------------
SUMMARY: vold dies and won't restart PROBLEM DESCRIPTION
From time to time vold crashes and it will not restart.
Mon Jan 29 17:55:30 2001 fatal: mounting of "/vol" failed A second symptom is that trying to look at the /vol filesystem hangs up:
% ls /vol NFS server for volume management (/vol) not responding still trying it can take tens of minutes to time out.
SOLUTION This worked for me, but it will probably not cure all the ills of vold. I assume you do not have vold running, but you _want_ it to be running.
1. check /etc/mnttab for old mounts belonging to vold: % grep vol /etc/mnttab attila:vold(pid2058) /vol nfs ignore,noquota,dev=2b807f6981095587 % grep cdrom /etc/mnttab
Vold appears to have an NFS server inside it (see Sun patch 102081) and it seems that it will not restart if these entries are present in /etc/mnttab.
The error messages are not very helpful in this regard - they don't give any clues _why_ /vol cannot be mounted.
2. Clean out the mnttab by umounting the relevant mount points # umount /cdrom/cdrom # umount /vol (you may need to unshare these first if they are nfs-exported; check in /etc/dfs/sharetab)
2a. I did this, but don't know if it matters # rm /tmp/.remov