SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql database backup
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

immad
Posting Yak Master

Pakistan
222 Posts

Posted - 09/24/2013 :  08:00:15  Show Profile  Reply with Quote
hello,

i want to take a sql server 2005 database backup on task schedule every 1 hour is that possible.

please help me out.
thanks

Edited by - immad on 09/24/2013 08:02:33

James K
Flowing Fount of Yak Knowledge

3760 Posts

Posted - 09/24/2013 :  08:25:49  Show Profile  Reply with Quote
Schedule a tasks scheduler job with the backup command. In the simplest form it would be something like this:
BACKUP DATABASE [YourDbName] TO  DISK = N'C:YourBackupFolder\YourBackupfilename'

More details here: http://technet.microsoft.com/en-us/library/ms187510.aspx

You can also schedule it using SQL Server Agent, and most people seem to prefer doing the backups using SQL Agent.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000