Solved

automate full database backups with sql server 2008 r2 EXPRESS

Posted on 2012-03-29
2
638 Views
Last Modified: 2012-04-02
hey guys
looking to automate backups of a sql 2008 r2 express database
i want to make a full backup every night and keep the past 10 backups
anyway to do this?
0
Comment
Question by:jsctechy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Anuj earned 500 total points
ID: 37782329
As SQL Server 2008 R2 express edition is missing SQL Server agent, you should depend on windows schedule for scheduling the backups. Prepare a query to backup your database and save it as SQL file, then create a windows batch file that executes this sql file in sqlcmd mode. using windows scheduler call this batch file and schedule it to run on every day.

For retention, this option is available in BACKUP Command.
0
 
LVL 25

Expert Comment

by:TempDBA
ID: 37782756
I personally like the suggestion from expert Anuj..
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question