Legacy SQL backup policy
Dears,
I have a confusion regarding NetBackup for SQL using Legacy SQL Policy,
What is the correct way to backup SQL databases and Logs and truncate the logs afterwards.
1- is it possible to include two scripts in the backup policy first one for full DB backup and the second for backup up the logs and then truncating them.
2- or create two policies for first one for full DB and the second for second for backup up the logs and then truncating them.
** regarding the first one, how does NetBackup behave? how does it manage to understand that the first one is for full DB backup and the second for log backup and truncation?, and how does it control to sequence?
Hello,
both options are possible, I preferred the second one when MSSQL intelligent policies were not yet supported. It was better for reporting and troubleshooting.
Is there a special reason for using legacy policy? Intelligent policies are generally better .
As for your last question, NBU does not have much control of the script content, it is almost entirely on the script author. You can have "Hello world" instruction only there and the parent backup job can end with status 0 (but not generating any child backup jobs for individual databases backups which should be suspicious of course..)
Regards
M.