NetBackup Scripting Sheet
I created a spreadsheet that can generating commands to create and modify NetBackup policy configuration. Now(Mar 24 2013), this sheet is based on NetBackup 7.5, but you can disable each attribute options to fit the commands to your version. I hope this greatly helps you. XLSX: https://docs.google.com/spreadsheet/pub?key=0Au84Otyr1NpndE5GWXhfVzUzX3o4S05QTXd5OFRIdFE&output=xls ODS: https://docs.google.com/spreadsheet/pub?key=0Au84Otyr1NpndE5GWXhfVzUzX3o4S05QTXd5OFRIdFE&output=ods2.6KViews8likes12Commentsbplist EXIT STATUS 227: no entity was found (Again!)
Dear All, The bplist command lists all you want, and exactly all you ask for (even not being aware of it), as 1E100 counts problems are not rare. Basing on the already noticed and described cave-eats (short summary): https://www-secure.symantec.com/connect/forums/bplist-exit-status-227-no-entity-was-found Remember to choose policy type, if not you are using type == 0 (not Windows, not SQL, not Oracle etc...) https://www-secure.symantec.com/connect/forums/bplist-command As above and provide date range. Nice list of NetBackup policy types http://www.symantec.com/docs/TECH27299 bplist detailed syntax description http://www.symantec.com/docs/HOWTO43668 I would like to propose a set of "golden rules" for bplist command: 1. Always specify policy type (-t). 2. Always provide relevand data range (-s, -d). 3. Mind the listing recursiveness (-R) as it may be too verbose when you just put the "/" or it may not show anything for non-file like backup types. 4. Provide as many other details as possible to speed up the search. Template for good examples: bplist -C <ClientName> -S <MasterServer> -t <PolicyType> -k <PolicyName> -s MM/DD/YYYY HH:MM:SS -e MM/DD/YYYY HH:MM:SS -R / That may result in something like: bplist -C MyClient -S MyMaster -t 4 -k OraclePolicyName -s 08/08/2014 08:00:00 -e 09/09/2014 08:00:00 -R / Hopefully I will find this article prior loosing few hours solely on bplist syntax refresh ;-)2.6KViews2likes2CommentsSAP/MaxDB backup of transaction logs - status code 6 resolution
If you are backing up transaction logs of SAP/MaxDB you probably have often failed backups with status code 6. But nothing wrong happened. Just no transactions was available for backup. It's a behavior of dbmcli - anything except successful backup returns exit code 1. But parent wrapper script provided by Symantec is not able to distinguish real errors from situation where there are just no transactions to backup. (Read TECH129715). By Symantec we have to wait until SAP will provide dbmcli with more granular exit codes. Seems that we cannot do anything. Or can? What is the standard output of successful backup? Here is one example of stdout log file from bphdb log directory: SAP_SCHEDULED = 1 SAP_USER_INITIATED = 0 SAP_SERVER = master SAP_POLICY = CUSTOMER1-SAP SAP_FULL = 0 SAP_CINC = 0 OK Returncode 0 Date 20131011 Time 00232008 Server SAPDB1 Database DB1 Kernel Version Kernel 7.9.08 Build 008-123-247-140 Pages Transferred 24 Pages Left 0 Volumes 1 Medianame BACKLog Location \\.\pipe\BACKLog Errortext Label LOG_000000662 Is Consistent First LOG Page 1990049 Last LOG Page 1990050 DB Stamp 1 Date 20131011 DB Stamp 1 Time 00230056 DB Stamp 2 Date 20131011 DB Stamp 2 Time 00230056 Page Count 1 Devices Used 1 Database ID SAPDB1:DB1_20130615_201611 Max Used Data Page Converter Page Count DBMCLI successful And now something completely different: SAP_SCHEDULED = 1 SAP_USER_INITIATED = 0 SAP_SERVER = master SAP_POLICY = CUSTOMER1-SAP SAP_FULL = 0 SAP_CINC = 0 ERR -24920,ERR_BACKUPOP: backup operation was unsuccessful The database was unable to fulfill a request (-123, No more log to save). Execution of DBMCLI command failed - exiting This is the example of situation when MaxDB has no transactions available since last backup. I have decided to use string "-123, No more log to save" as detector of this situation. Check whether your version of SAP/MaxDB is working the similar way. And what is the final solution? Just to catch output of dbmcli and seek for the right string. The whole script with colorized changes is available on my page HERE. Please, try it. May it will help you. In case of any troubles, send me a notice (like other string for different versions of MaxDB).1.9KViews2likes0CommentsNetbackup Restores
I am lookimg at automating netbackup restores at user level .. Is there any third party tool which can simplify this ? example - user enters server name date of restore path of data restore path and upon interactive input ..should be able to restore without netbackup administrator help1.1KViews2likes7Commentssap oline backup error
Hi ,,, can any one tell me what is the resion of error no 6.. Please give me proper solution for that.. SAP_SCHEDULED = 1 SAP_USER_INITIATED = 0 SAP_SERVER = bkp-srv1 SAP_POLICY = sapprod1_online_backup SAP_SCHED = SAP_SNC_SCHED = Full BR0051I BRBACKUP 7.00 (32) BR0055I Start of database backup: benfdery.anf 2014-02-15 10.56.10 BR0484I BRBACKUP log file: O:\oracle\D12\sapbackup\benfdery.anf BR0280I BRBACKUP time stamp: 2014-02-15 10.56.10 BR0301E SQL error -257 at location BrDbConnect-2, SQL statement: 'CONNECT system/********' ORA-00257: archiver error. Connect internal only, until freed. BR0310E Connect to database instance D12 failed BR0280I BRBACKUP time stamp: 2014-02-15 10.56.10 BR0301E SQL error -257 at location BrDbConnect-2, SQL statement: 'CONNECT system/********' ORA-00257: archiver error. Connect internal only, until freed. BR0310E Connect to database instance D12 failed BR0056I End of database backup: benfdery.anf 2014-02-15 10.56.10 BR0280I BRBACKUP time stamp: 2014-02-15 10.56.10 BR0054I BRBACKUP terminated with errors Execution of BRBACKUP command failed - exiting1.5KViews1like4Commentsnetbackup 7.5.06 , bpdbjobs hangs
Hi, i'm running NetBackup 7.5.0.6 on Solaris 10. With 2 Mediaservers and the Master in a non-Global Solaris Zone. Sometimes i do have a strange behaviour. Everything runs. All jobs are scheduled and processed correctly. (as far as i can see) The only thing that doesn't work is the 'bpdbjobs' CMD. I didnt find another CMD that doesnt work. But this is somewhat important. Lots of scripts/reports depend on the output of 'bpdbjobs' CMD. Does this happen, i "just" have to restart all Netbackup processes and everything is fine for nearly 2 month. Does anyone have a hint for me what i can do ? Where i should have to look for ? cu Ingo F.Solved1.1KViews1like2CommentsRestoring virtual machine using Netbackup CLI
Hay there! I'm running Netbackup 7.6 on a win2k12 server, which acts both as master and media server. I'm using it in order to back up VMware virtual machines, and now I'm tring to automate my restore proccess. After reading about the nbrestorevm cmdlt, I feel that I still cant' figure out how to properly use it, and was hoping that someone here could guide me thrugh it. The main things that I need to achieve are the following: 1. Restore the VM from the latest backup. 2. Name the restored VM diffrently from the source VM. 3. Restore the VM to a diffrent data store. 4. Use the same data store for all the VM's VMDK files. 5. Retain the VM's original hardware version. 6. Retain the original network configuration. So... how the hell do I do that? Any help would be much appreciated!2KViews1like4CommentsScript to Add the Exclude List in Windows Platform
Friends, We are using Netbackup 7.1.0.4 and we are managing multipule Master & Media servers. Currently we are facing diffeculties with adding the exclude list for the clinet. We are having around 1500 clients machines (all Windows Platform)., manually adding the exclide list is difficult for all 1500 servers and also there may be the error while addidng. Any one have the script to add the exclude list from particular master server to all the clients for that master server. If any have any idea, kindly share it.1.2KViews1like5CommentsRestore backup using PowerShell
Hi, I would like to automate some Oracle E-Business Suite clone. My customer is using netbackup to store the file system backup. I would like to restore backup on a new node using Powershell script. Is there any netbackup library or packages available that I can use for this? If yes, where can i get that libraries ( I do not have the netbackup CD )? Thanks1.2KViews1like3CommentsNetbackup 7.5 silentclient.cmd error
Hello, I am trying to install netbackup 7.5 client on all the servers in our corporation, which are more than 500. Instead of doing the installation manually (which would take too much time), I decided to do it automaticly by running a script. I found out that silentclient.cmd can be used to run the installation without any user interaction needed, all you have to is edit the file with info you need (masterserver, optionalservers and client) and then double click on it, it executes and runs the setup.exe (in the same folder). However if I launch this file from command line, it doesn't appear to execute the setup.exe Since this is really blocking me, can you please tell me how to resolve this? Kind regards, Matthias Note 1: I launch the installation from a remote server Note 2: I am only trying to install on windows 2003 servers at the momentSolved1.5KViews1like8Comments