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.

i have a sql server 2005 database without around 100 tables. i need to back it up every month. is there a way to automate this process? how would i do it? i am a newbie so please explain thoroughly

if it is a stored procedure please let me know what that procedure would look like and where to call it from.

share|improve this question

migrated from stackoverflow.com Jul 14 '10 at 16:27

This question came from our site for professional and enthusiast programmers.

    
Since you're a newbie, I'd suggest starting here: technet.microsoft.com/en-us/magazine/2009.07.sqlbackup.aspx –  Joe Stefanelli Jul 14 '10 at 15:46
    
Why do you only want to backup once a month? Are you prepared to lose one month's worth of data? –  bearrito Jul 14 '10 at 19:22
    
what version of SQL 2005? –  Malnizzle Jul 14 '10 at 19:26
    
The version is SQL 2005, we need to know what edition it is. –  joeqwerty Jul 14 '10 at 21:25
    
Every month? Don't you mean every day? Or don't you value that data? –  John Gardeniers Jul 14 '10 at 21:28

5 Answers 5

up vote 11 down vote accepted

you could create a maintenance plan to do the backups and then you would schedule it to run once a month. See here: http://www.databasedesign-resource.com/sql-server-maintenance-plan.html

share|improve this answer

You can create a scheduled task and call the SQL method. Think about using a VB script or so. I did this for backing up a SQL server to a zip-drive every day and it worked great.

share|improve this answer
1  
please show me how –  I__ Jul 14 '10 at 15:49

You could do this with a database script and a scheduled task. Visit this link for more details.

share|improve this answer

take a look here

share|improve this answer

If this is SQL Express you can't use Maintenance Plans, you'll need something like http://expressmaint.codeplex.com/

share|improve this answer

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.