Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 how can i take backup automatically.....

Author  Topic 

asifbhura
Posting Yak Master

165 Posts

Posted - 2009-12-01 : 04:35:40
Hi everyone,

I want to make schedule to take a backup for particular database on every monday at some specific time.

I mean to say that, I have one DB named as CustomerInformation
in my Sql server 2005,

I want to shedule to take backup this DB on every monday at morning 8:00AM

What should i do to schedule this backup automatically.

Pleae help me out,

Regards

rajdaksha
Aged Yak Warrior

595 Posts

Posted - 2009-12-01 : 04:43:45
Hi

Try this...
http://support.microsoft.com/kb/930615

The above link

Allpies To

Microsoft SQL Server 2005 Developer Edition
Microsoft SQL Server 2005 Enterprise Edition
Microsoft SQL Server 2005 Enterprise X64 Edition
Microsoft SQL Server 2005 Standard Edition
Microsoft SQL Server 2005 Standard X64 Edition
Microsoft SQL Server 2005 Workgroup Edition

-------------------------
R...
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2009-12-02 : 01:46:48
You could set up a job and issue a "BACKUP DATABASE CustomerInformation to disk = MYDRIVE:\mydbbackupDDMMYY.bak". This would back it up to local disk.Then set the schedule to run this job at the designated time
For something more reliable in a DR situation , you will have to consider moving the backup copy. There are alternative ways and many third party tools that can manage the scheduling and commands from a third server


Jack Vamvas
--------------------
http://www.ITjobfeed.com (IT jobs)
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-02 : 01:49:51
You should also backup your system databases.

Here is what I use for all of SQL Server backups, including system databases and user databases: http://weblogs.sqlteam.com/tarad/archive/2009/09/08/Backup-SQL-Server-2005-and-2008-Databases.aspx

That code is much more robust than the maintenance plans and provides more features that just a plain BACKUP command.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -