Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to write a script for back file that take back up for every one hour in sql server 2008 express? write some script and give me please ..............give some example
Posted

1 solution

You have two things to cover here:
1. Script to back up the database
2. Schedule the script to run on defined interval

Once you know both, combine and you get the needed details.
Few references:
Scheduling database backups in SQL Server 2008R2 Express[^]
Simple script to backup all SQL Server databases[^]

Try out. Post specific issue if you face any.
 
Share this answer
 
Comments
kalisiddayya 6-Feb-13 5:06am    
i want to take backup in my lan from sql server
Sandeep Mewara 6-Feb-13 7:03am    
So what? Did you follow the articles? Try out.

for lan, everything remains same - all you need is to make sure proper access permissions are in place.
kalisiddayya 6-Feb-13 7:43am    
how can i remotely access the backupfile please tell me
kalisiddayya 6-Feb-13 7:43am    
sorry i didnt see comment thank u for information

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