SQL Agent Questions
Hi all,
We have recently started testing the NBU SQL DB agent with some very encouraging results so far. However, I still have a couple of questions that I was hoping some of you might be able to answer as I haven't been able to find a definitive answer elsewhere:
- Is it possible to redirect a SQL DB restore? Does the restore have to be to the original database, or can it be restored to an alternate database / location?
- What happens to a scheduled transaction log backup if it is initiated while a full database backup is still running? I'm guessing it is best practice to set up the start windows so that this is unlikely to happen, but if a full backup takes longer than expected I'm curious to know if NetBackup will queue the transaction log job or if this could potentially cause some issues on the SQL side of things. I have tried to test this myself, but the performance has been so good while the backup environment is quiet that I've struggled to get the jobs to clash by manually initiating them!
first one is easy: see the Symantec NetBackup™ for Microsoft SQL Server Administrator's Guide for details
The database move redirects the restore of a SQL Server database to a different
location. The new location can be a different instance on the same host, a different
host, or a different file path. The move operation also lets you restore the database
under a different name than the original one.http://www.symantec.com/business/support/index?page=content&id=DOC5173
second one is better asked on Microsoft forum
It's better to avoid a full+log backups situation, bad things can happen :-)
https://serverfault.com/questions/13099/sql-transaction-log-backups-conflicting-with-full-backups
1. Perfectly supported. Steps are described in NetBackup for Microsoft SQL Server Administrator's Guide http://www.symantec.com/docs/DOC5173
2. Specify both scripts in the same policy. First script (Full backup) will complete before 2nd (Transaction log) script starts.
See https://www-secure.symantec.com/connect/forums/it-supported-run-sql-backup-script-follow-transaction-log-backup-script-under-single-policy