Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello,

I want to create Windows service scheduler for sql server database backup and restore database, according to particular time?

So,
How it can be possible?

Please help me.

Thank You.

Ankit Agarwal
Software Engineer
Posted
Comments
bbirajdar 7-Jan-13 6:18am    
Why Windows Service ? A SQL server job is the best choice available for you
arindamrudra 7-Jan-13 6:25am    
Duplicate question: http://www.codeproject.com/Questions/523140/WindowsplusServiceplusforplusDownloadplusSQLplusSE
Sandeep Mewara 7-Jan-13 10:51am    
And what have you tried so far?

1 solution

If you are using a paied version of MS SQL Server you can use a server job.
If you are using a express - version, you have to backup the database with a defined script.
 
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