Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Not really familiar with MS SQL Server, but I did figure out how to manually backup a database locally:

In SQL Server 2005 ( SP2 ) using MS SQL Server Management Studio :

I navigate to

Server->Databases->System Databases->master

Right click on master then:

Tasks->Back Up->Back up to:

I can then backup the master ( as well as one other db ) to a RAID 5 drive array. I am using Retrospect for my backup agent, and I have it copy the folder that the backups are in once a night to a tape drive.

At this point I have to manually do the backup in SQL Server, as I am not sure how to schedule the backup to run? I just want it to run once every evening. Can this be done in Microsoft SQL Server Management Studio, or does this have to be scripted somehow?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

This can be done easily with most versions of SQL Server. For SQL Server 2005 start by opening SQL Server Management Studio. In your database instance drill down through the Management folder and then right-click Maintenance Plans then choose New Maintenance Plan...

From here add a Database Backup Task. Edit the task to set which databases to back up and set the schedule for how often it will run. I'd recommend adding a Maintenance Cleanup task as well. This will automatically delete backups after a certain amount of time.

That should cover you for a pretty basic backup schedule. Note that this will not work for SQL Server 2005 Express.

share|improve this answer
add comment

If you are not very familiar with sql server i would recommend you to first of all be clear and sure about what type of backup you want and need. Pinal Dave a big guru in SQL Server has some nice articles, please check this http://blog.sqlauthority.com/2009/07/14/sql-server-backup-timeline-and-understanding-of-database-restore-process-in-full-recovery-model/

To backup a database, after you're sure about the backup type, you may want to follow the following instructions, which are very well ilustrated: _http://www.linglom.com/2008/01/12/how-to-backup-and-restore-database-on-microsoft-sql-server-2005/

HTH!

share|improve this answer
add comment

There are a few ways to schedule a backup of SQL Server. Many utilize the SQL Server Agent. You can create a Maintenance Plan, which will in turn create a SQL Job for the backup. You can also create a SQL job directly with a backup script in it. I use a backup script found on this website for all of my production databases.

http://ola.hallengren.com/Documentation.html#DatabaseBackup

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.