Wednesday, October 26, 2016

NetBackup 7.7.2 Log Management



NetBackup 7.7.2 Log Management Tutorial:





Netbackup has two types of logs.

1. Legacy Logs
2. Unified Logs (PBX Process)

Unified logs are stored in /usr/openv/logs location by default.

Legacy logs are stored in /usr/openv/netbackup/logs location by default.



For each process it has unique directory.

For example nbemm, Enterprise Media Management server log are stored in /usr/openv/logs/nbemm.


Format of the file:

Productid-Originatorid-hostid-dateand timestamp-logrotation.log





To list the installed netbackup productid and originator's id.




To list the configuration parameters of any originator.




To change the configuration parameter.



To list the log files.






List the nbemm log files of last two days and copy the logs to another location.





Last 12 hours.




Using begin and end time.




To delete the log file.





To list the content of the log file.








For legacy logging, run mklogdir script to create a dir.







Sto and start the netbackup services.






Now you can see the logs of bpdbm.



NetBackup 7.7.2 Catalog Administration

NetBackup 7.7.2 Catalog Administration Tutorial:




1. To check the catalog database run the following command.

nbdb_ping



 2. To list all the database files and config files run the following command.

nbdb_admin -list



3. To check the database service, run bpps command.




4. Always, the catalog backup, first stored in staging folder then it will be send to the catalogbackup volume pool.





5. To check the database consistency run the following command.

bpdbm -consistency




6. To set database password.



7. Run NbDbAdmin command to open the db manager in GUI.



Using tools we can change these parameters.




Using the Add space button, you can increase the size of database.




Netbackup has a catalog consistency check utility by using nbcc command.




In unix, use the bpdbm command to do the administration.




Create a netbackup catalog policy using wizard or CLI.





Specify the policy name and policy type as NBUCatalog.




Select the backup type.



Select the schedule and retention level.





Select the path for the disaster recovery file.


Specify the email id send the disaster recovery file.





Now run one manual backup.





Backup got initiated.



The catalog backup image is storing in staging folder.




Now the catalog backup successfully completed.




You can able to see the catalog disaster recovery file.




For lab test, delete few storage units and policies.






Now go for the catalog recovery wizard.





Select your catalog disaster recovery file.





Catalog recovered successfully.



Now you can see all the policies and storage units.