Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Differential Backup Automation Question

Status
Not open for further replies.

Apollo21

Programmer
May 2, 2003
70
US
Good Day!

On a standard SQL Server 2000 on a Windows 2003 Server.
I have searched and searched, but I would like verification on the following.

Is it possible to set up differential backups through enterprise manager that includes more than one database at a time? I would like a differential backup for all of the databases in that instance, including system databases.

Failing this, might there be another way to accomplish this task, and what would the code look like, if that were the case?

Thank you very much!
Apollo21
 
You can create a maintenance plan. Just select Differential backup in the maint plan wizard.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
You can only backup one database at a time with the backup database command.

The maintenance plans will allow you to select all the databases in a single job, but each one will be backed up seperatly.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
OK - I have looked a couple of times since reading your post, but did not find that option in the maint plan. I had looked before. Is it hidden and what screen does it show up on. I am running SQL Server 2000 - maybe that makes a difference - or am I just missing it totally.

????
 
Ok - I am the originator of this post. Just in case you come into this and think you have lost it because you can't find what has been indicated. (A differential backup through the Maintenance Plan) - Please look at this website - My problem may have been that I am not using the Enterprise Version just the Standard Edition of SQL Server 2000 (SP3).
Thanks,
Apollo21
 
I don't believe you can do differential backups via maintenance plans - you CAN do full backups and transaction log backups.

Your other option is to use the undocumented procedure spMSForEachTable. See FAQ183-4107.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top