Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to take sql server database backup automatically.

when system ON sql server database backup has to be automatically take and saved in the system.


for that how can i do?

Please help me.

Regards,

Narasiman P.
Posted
Comments
Prasad Khandekar 23-Mar-13 10:28am    
Here is a link (http://msdn.microsoft.com/en-us/library/ms189036(v=SQL.100).aspx) and related video (http://technet.microsoft.com/en-us/sqlserver/Video/dd430301)

It can be possible through Daily Backup...
This may be solution

1. Automatic SQL Server Backup Utility using sqlserveragent[^
2. http://www.youtube.com/watch?v=OEgndcJj-Cs[^]
 
Share this answer
 
You can do that with a SQL query (see also http://stackoverflow.com/questions/3741846/query-for-backup-a-database-at-another-location-in-file-system[^]):
SQL
BACKUP DATABASE BernieDB TO DISK = 'C:\Backup\BernieDB.bak'

Note that the code is executed by the SQL Server on the computer where the SQL Server is running: the file is stored on that computer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900