NetBackup Basics and how to make YOUR life easier ...
This entry is intended to cover a number of issues that I see time and time again with members posting questions on the forum, and from my experience as a NBU TSE. The advice below is intended ... (1) To make your life easier (2) To assist in making a quicker resolutions (A) Command Issues *************** A common question - Where is the <command> I cannot find it ? The vast majorty of NetBackup binaries are located in the following directories, therfore by simple looking, you should find the command. You could also search, using the search feature in windows, or the find command in Unix. Unix/ Linux /usr/openv/netbackup/bin /usr/openv/netbackup/bin/support /usr/openv/netbackup/bin/admincmd /usr/openv/volmgr/bin There are also so 'scripts' available in /usr/openv/netbackup/bin/goodies Windows <install path>\veritas\netbackup\bin <install path>\veritas\netbackup\bin\support <install path>\veritas\netbackup\bin\admincmd <install path>\veritas\volmgr\bin There are also some 'scripts' available in <install path>\veritas\netbackup\bin\goodies It is even easier, if you add these paths to the PATH variable of the operating system. This allows you to run commands without having to type in the comlete path each time, or, cd to the directory. Unix: Add the directories to the PATH variable in the .profile file in the home directory of the user you log in as. For example ; PATH=$PATH:/usr/openv/netbackup/bin/admincmd:/usr/openv/netbackup/bin:/usr/openv /netbackup/bin/goodies:/usr/openv/netbackup/bin/support:/usr/openv/volmgr/bin:/u sr/openv/java:/netbackup:/opt/sfw/bin:/netbackup/scripts:/opt/VRTSaz/bin/vxazd:/ opt/VRTSat/bin/:/opt/VRTSaz/bin/:/opt/vormetric/mseo/server/bin:/opt/vormetric/m seo/agent/bin:/usr/openv/db/bin Windows: Add the directories the the PATH user variable (Right click computer, Properties, Advanced System Settings, Environment Variables (Path is under System variable ), For example. C:\Perl\site\bin;C:\Perl\bin;C:\Oracle\Ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\RSA SecurID Token Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Enterprise Vault\EVClient\;C:\Program Files\Symantec\Workspace Virtualization\;C:\Program Files\Veritas\NetBackup\bin;C:\Program Files\Veritas\NetBackup\bin\admincmd (B) Insufficient information ************************ Starting a post with a question such as ... My media is getting frozon during a job, what do I do ? .. is virtually useless, EVERY post should be started with information simailar to these questions ... Initial Information recommended for all issues: 1. The exact error message (if an error is given) 2. During which type of operation does the problem occur ? For example, Backup, Duplication, Vault, Restore etc. 3. At what point in the job does the issue occur, for example, right at the beginning. 4. Which system(s) are involved? For example, Master Server, Media Server - Please provide system names. 5. Please submit the support report from the master and any relevant Media Servers in the environment. 6. Is this a reoccurring issue ? 7. What was the system doing at this time ? 8. Please send in the contents of the details tab in the Activity Monitor for the job. 9. What logs or screenshots are available? 10. Has this worked previously? If so, when was the last time it DID work? 11. Have there been any environmental; system; or configuration changes? 12. When did the problem begin? 13. How often does the problem occur? 14. Is a similar configuration working properly? (C) Is NetBackup the cause ********************** Many NetBackup issues, commonly, Tape/ Library issues and Networking issues are nothing to do with NBU, and the issue cannot be fixed through NetBackup commands. NetBackup often reports and issue, but is nothing to do with the cause. Consider this: If you uninstall NetBackup, what are you left with ??? Hopefully ... An operating system A network Storage devices, tape or disk So. straight away, it can been seen that that these three things are totally separate from NBU. Clearly there is 'interaction' between them, for example, tape drives are 'configured' in NetBackup after all, but NetBAckup does not control these and if the advice given is to investigate from a hardware perspective, or OS issue, this is exactly what needs to be done. In my experience, the majority of Network and Tape /Library issues have nothing to do with NetBackup, and the investigation should start with the vendor / network support. (D) NetBackup Engineers are not hardware engineers. If you have a hardware issue, speak to hardware type people ... (E) Document your system. Any backup environment should be documented, with the documents kept up-to-date. An excellent start to this is to run : nbsu -c -t every day and keep the outputs, (perhaps back them up to tape.) You will note I have not told you exactly where this command is, please see point (A). (F) Logs: On occassion, we will ask for logs ... See this technote, it contains everything you need to know. http://www.symantec.com/docs/TECH75805 When you send logs in, if the issue happens at say 15.00, we don't need the past weeks worth of logs, edit the log down so you send in for example, 14.30 - 16-00. (Note, sometimes the logs will be needed for a longer period, but usually / generally, the logs areound the time of the issue are fine). Also, please rename logs to the process name (NOT for the case of Unified logs (see technote above).) NetBackup defines different (legacy) logs simply by the folder name they are in, which isn't ideal. This means if we ask for say bptm and bpbrm log, both will have exactly the same filename (log.<date>). Please rename these to <process_name>.log.<date> ) The nbcplogs command is very good, it simplifies the collections of logs. Have a go at learning to use this command. http://www.symantec.com/docs/HOWTO43784 You should be able to set up logs without assistance, all that should be required is that we ask, pleased send bptm, bpbrm logs from the media server, or, please send vx logs 111, 116, 117, 118. You should automatically know that these should be gathered, probably with the verbose levels increased. (G) Every log sent in for a problem, must cover the same time period. It is no good sending in bptm from Monday and bpbrm from Tuesday, yes, people actually do this ... (H) If we ask for (example) bpmedialist -m <media id>, please DO NOT send the binary. Please run the command and send the output. I'm sure your binaries are very nice, but I have some of my own - thanks. (I) Our favorite question is "What changed". The usual answer is "Nothing has changed". Generally speaking, NBU does NOT break on it's own, 99% of the time, something HAS changed. I've not yet worked out if people just have no idea who is changeing what and when, or if they just deny making any changes - but if a change has been made, we will find it, it just may take considerable time, adding days or even weeks to the time it takes to resolve an issue. It's better to be truthful and say "I am not aware of any changes" than categorically deny that any changes have been made. (J) If you make a change, write it down somewhere (preferably in a change file on the system) - see (I) above (K) Backups fail, get used to this idea, it is part of being a backup administrator. Do NOT start making changes because of a single failure, this leads to broken systems. (L) If you make a change, and it does not fix the problem, revert it. DO NOT MAKE MULTIPLE CHANGES WITHOUT RECORDING THEM. It can be very very difficult to find an issue, if multiple changes have been made that cause the same symptoms. Consider this : I go home and the light does not work. (Unknown to me, the fuse is broken) I have three possibilities The light switch is broken The light bulb is broken The fuse is broken I decide to change the bulb, unfortunately the bulb I put in is also broken. (I have now introduced another 'fault' that gives the same symptoms as the originally fault). Next I change the fuse, but due to the broken buld, the light does not work. Unknown to me, I have now fixed the originally issue, but I cannot tell due to the faulty bulb fitted, So, from this example you can see how it is possoible to to completely break a system - avoid doing this. (M) NetBackup Engineers are not network engineers, if you have a network issue, go and talk to network type people (N) Just because NetBackup reports and error, DOES NOT mean it caused the error. This is particularly true for network, tape and library issues. (O) Read this - http://www.symantec.com/docs/TECH169477 If your systems/ issue fits a description in the technote, no matter how many times you ask, the answer will be the same. (P) Hardware vendors often blame NBU, especially when it comes to tape/ library issues. This is why the technote in (O) was written, to help prove that NBU is not at fault. (Q) Any backup system MUST be designed before being installed, else it WILL fail. Backup design does NOT start with pressing buttons, it starts with a peice of papaer and a pen. (R) If you want to know how to do something, try looking in the manuals. MASTER Compatibility list: http://www.symantec.com/docs/TECH59978 Master Download List : http://www.symantec.com/docs/TECH65429 Late Breaking News Links : http://www.symantec.com/docs/TECH74904 NBU 6.5 Documentation: http://www.symantec.com/docs/TECH52878 NBU 7.0 Documentation: http://www.symantec.com/docs/TECH126327 NBU 7.1 Documentation: http://www.symantec.com/docs/TECH154178 NBU 7.5 Documentation: http://www.symantec.com/docs/DOC5138 HOWTO Videos: http://www.symantec.com/docs/HOWTO41825 (S) These are the 'minimum' skills thay ANY NetBackup Administrator should have ... 1/ Create and correctly collect NetBackup logs for a given time period ( see http://www.symantec.com/docs/TECH75805 ) 2/ Understand when NetBackup probably isn't the cause (see http://www.symantec.com/docs/TECH169477 ) 3/ Understand Operating system commands to list attached hardware, change /create directory, edit a file, configure network 4/ Understand basic NetBackup concepts : Setting up policies Configure devices via Device Wizard Delete devices Use and undersnd trhe meaning of results in scan/ tpautoconf / scsi_command (hint, see point (O) Understand on which machine the basic NBU processes run Run backups from the GUI Run restores from the GUI Master = nbemm/ bprd/ nbjm/ nbemm Media = bpbrm / bptm Client = bpcd / bpbkar / tar Understand the basic principles of a catalog backup and how to set it up Understand that NetBackup DOES NOT CONTROL your network, we ONLY use what we are given Understand that NetBackup does NOT write/ read to/ from tape - this is done by the operating system Understand the idea of 'density' (eg. hcart, hcart2 etc ...) Understand barcode rules, media id generation rules and how to set them up Understand how to inventory a library Understand how to use the robtest command and the meaning of the output Undersnad the difference between multi-streaming and multi-plexing Understand the idea of storage units Understand the idea of media pools If you are stuck on any of these, first thing, see point (R) (T) It is not the job of people on the forum (or Symantec support) to read the manuals for you (U) If something is unsupported (ie. not in the manuals) DO NOT DO IT. (V) When you are asked to do steps 1, 2, 3, 4, 5 Please ensure you do ALL the steps, and not just the ones you feel like doing. We don't ask for the steps because we have nothing better to do, we ask for them because we need ALL of them. (W) Please do not make changes just because you can. Any change to a system should be fully justified, researched, and recorded accurately in the system documentation. The system documentation should be so detailed, it contains every change made and when, and the current setting of EVERYTHING that has been changed from the default- are you doing this ? Regards, Martin7.1KViews41likes39CommentsVMWare Backups with File Level Restore on 7.5.0.1
Having found out that we cannot exclude the data disks whilst using dynamic disks (see my previous post on the subject) I thought that I would backup the whole server and look at the file level restore for this particular server; however, I have stumbled across another issue............. The server has two disks, C drive is 60Gb and D drive is 100Gb both are set as dynamic disks, on top of this we are using the built in windows disk management system to mirror the D drive, the backup is set as a VMWare backup in the policy and all the default options are set in the advanced section so all disks are covered, the backup completes and I can restore 3 vmdk files but cannot do any individual file restores, we have tried breaking the mirror and re-running the backup but we get the same results. Having read the VMWare Admin Guide this does mention that using raid software on Linux will result in not being able to restore individual files, is this the same for Windows??? Have Symantec got any plans to change the VM backups to do what Veeam can do as at the moment it looks like our plan to remove Veeam from the estate will have to be put on hold until Netbackup can do the same as Veeam in relation to backup/restore. KevSolved581Views15likes1CommentDR NetBackup master backup from server1 to server2
Hi friends. Our customer has Windows 2008R2 environment and need prepare description and test migration master backup server from server1 from primary locality to server2 from second locality with same HW configuration but different network. My best test was so far, that I migrated backup server on different HW with same name, but after boot Windows some services don't started. After bpdown / bpup backup system work fine and restore file system data and MS-SQL database too. Does exist some best practice for this operaration, please ? Description from NetBackup Trouble shooting Guide NetBackup 7.1, pp. 180 isn't enough. Thank you for your help. Best regards. BotvitnikSolved721Views11likes3CommentsNetBackup Media Server Decommissioning Tool now for 6.5.3 to 7.0
Like to share and capture in the forum these recently published tools. These are being released to facilitate and I guess ease the task of decommissioning Netbackup media servers. (versions 6.5.3 • 6.5.4 • 6.5.5 • 6.5.6 • 7.0) Although the technotes already available are pretty straightforward, these tools/wizards seem to help identify areas throughout the NBU environment where you might be using references to the 'old server'. Available here at the Downloads page http://www.symantec.com/business/support/downloads.jsp?pid=15143 » NetBackup 6.5.x List of ALL utilities/ decommissioning tools available for use with Symantec NetBackup • http://seer.entsupport.symantec.com/docs/341273.htm Note: The decommissioning tool will be shipped as part of NBU 6.5.6 and 6.5.x future updates » NetBackup 7.0 Documentation and Download: How to use Symantec's NetBackup Media Server Decommissioning Tool for NetBackup 7.0 • http://seer.entsupport.symantec.com/docs/354756.htm Note: The decommissioning tool will be shipped as part of NBU 7.0.1 and 7.0.x future updates • Previous technotes with decommissioning procedures: What is the process for decommissioning a NetBackup 6.0 media server? http://seer.entsupport.symantec.com/docs/289139.htm What is the process for decommissioning a NetBackup 6.5 media server? http://seer.entsupport.symantec.com/docs/306838.htm2.3KViews11likes16CommentsAll the File System Backups, Sizes. Mainly client name, date of last full backup, size of backed up data.
Hi, I want to get all the File System Backups (No DB's), Sizes. Mainly client name, date of last full backup and size of backed up data. Please help me in furnishing this by script. Immeidate response is much appreciated. Thank you.Solved563Views10likes1CommentI could not install the netbcakup client software on windows server2008
Hi all , I can't install the client software7.5 on win2008 server and though installation getting the gollowing message: Product: Symantec NetBackup Client -- Error 1935.An error occurred during the installation of assembly microsoft.VC80.MFC,type="win32",version="8.0.50727.762",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. assembly interface: IAssemblyCacheItem, function: Commit, component: {9BAE13A2-E7AF-D6C3-A01F-C8B3B9A1E18E} we have same sever with the same setting was installed normally!!!!! microsoft suggest to upgrade patch regarding this issue that related to msi but it didnt solve the issue please help n this attached photo of the message Regards,Solved3.4KViews10likes9CommentsNetbackup VMware Backup - Windows Change Journal
If I am backing up VMware VM's using the FLASHBACKUP-WINDOWS policy type, with an OFF-HOST VMware type of backup (VRAY), then I assume the use of Windows Change Journal on the VM itself is of no benefit ? Any comments ? I am using CBT for the VM's, and performing FULL & DIFFERENTIAL backups. I have 'lots' of files on this server, and am looking to get the shortestbackup window possible. I am using a VMware Mount Host which is SAN attached to the datastore LUNs of the ESX5 servers. NBU 7104. Any Comments ? AJ710Views10likes3Commentsexchange backup doubts
I have read the NBU exchange guide. NBU for Exchange Server Admin Guidehttp://www.symantec.com/docs/DOC3669 I have some doubts after reading this guide what is the hierarchy of exchange database? what exchange versions are available till starting to end? i wanna know the concept of backup selection for exchange policies?Solved791Views9likes6Commentsinc backups
Incremental backups are running against a path that contains files that are copied to this path. A new directory is created to hold these files. A new incremental backup is done after these files were backed up, but they were backed up previously from a different directory. NetBackup sees the new directory and will backup the files because the directory is new. When a new directory is created, NetBackup will backup the contents of the directory since it was not backed up in the last backup. This is normal behavior for Netbackup If i copied the backup files to a newly created directory.then including the directory all the files in it will be backed up in INCR and FULLSolved1.3KViews9likes11Comments