06-23-2017 02:51 PM
Hey guys,
We are working with VERITAS Consulting Services to setup a Sybase 15.7 backup in an important customer in Brazil and while talking to the customers DBAs, two important questions have arised:
1-Adaptative Sybase Enterprise 15.7 SP100 (pretty old, released in May/2013) initated the support of cumulative backups. The SAP docs are pretty clear about how simple and straight forward cumulative backups are. We could run a cumulative backup by issuing this isql command:
isql dump database MyDB cumulative source: https://goo.gl/RrwJ91
which is very similar to the full and transaction logs sintaxes that the NBU scripts use:
isql dump database MyDB //for full backups isql dump transaction MyDB //for transaction logs backup
So we have the impression Netbackup would have no problem in dumping cumulative images from Sybase. However, the Netbackup 8.0 for Sybase Guide does not include any example of cumulative backups, and also does not list this type even though the feature is available from SAP since 2013:
So my first question is: has anyone ever used Netbackup to backup cumulative dumps from Sybase, customizing the sample backup script? Have you guys encountered any problems or suggest adopting this strategy?
For example, one of our concerns is about the bplist output while searching for restore images. The Netbackup guide shows the image names having the "D" and "T" identifiers for Dump or Transaction backups, but it is not clear how would we identify the cumulative backups in that case.
Question n. 2 is about the scripting process. There is one obvious problem in the sample script - it is designed to backup only one database, so this will be pretty useless in a customer that has thousands of databases across hundreds of instances.
So I ask: has anyone come up with this issue and how have you solved?
I am considering a few options:
Please let me know your experience, as NBU documentation and community posts are pretty shallow about this points.
Thank you very much and sorry for the long post :)
Rafael
06-26-2017 04:58 AM
Hello,
maybe there should be 2 posts, because the question about scripting has no relation to cumulative backups.
Well, in my experience, Sybase agent is one of the most "neglected" database agents in NetBackup. Guide is the same for ages, no snapshot support, just db + tranlog backup choices available 15 years or more..
Thanks to that, information about cumulative backups option is new for me. Have you tried "dump db cumulative to sybackup::" etc.? And restore using this backup of course. Was it working?
But even if it was working, I would not rely on it if it is not mentioned in the guide. I recommend to open a support case for this question.
Regards
Michal
06-27-2017 11:49 AM
Thank you sir, we will validate this in the next few days and let you know.
However I was actually looking for someone who had already done that, or understand how they dealt with hundreds of database/database scripts.
Rafael