MS SQL 2005 Full and Log backups at the same time.
Hello,
Im in the process of testing and implementing the Netbackup 7.1 Enterprise solution in our enviroement. Specifically for backing up MS SQL 2005 databases.
Some of the databases require only daily or weekly full backups but a few more important ones require frequent log backups.
For example a specific database requires log backup every 15 minutes 24/7 and a daily full backup. MS SQL 2005 can backup a database and its log at the same time and our current solution is using SQL scripts that are scheduled using the SQL Agent.
Backing up the log or data with Netbackup works fine separately but if either is allready running when the other tries to start then Netbackup logs an error message "INFO Error <DB_Name> is involved in another operation." Just to clarify this is a problem only when trying to backup the data and log of the same database.
If I initiate a log backup by an adhoc SQL query at the same time netbackup is allready running a full backup of the database then everything works fine.
So my question is does Netbackup support what I am trying to do?
NetBackup supports a single operation at any one time
You need to schedule your backups so logs stop running when the full backup runs and do not resume until that has completed.
You also need to ensure that your SQL does not have a logs maintenance setup as if that ran during the day then all subsequent NetBackup logs backups would fail until after the next Full backup.
What you want is fine and many people do it, you just need to schedule it carefully
The minimum frequency of a job by default is 1 hour so if you need 15 minute scheduling you need to use a workaround - I will try and dig the link out for you
Hope this helps