Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Automatic copy of database

$
0
0

Hi

I have SQL Server 2008 R2 and would like to automatically copy a database quarterly and automatically restore with a different name.  I need a copy of the database at each quarter end and i need to be able to access any of the quarters throughout the year. I could use Copy Database Wizard but being a manual task it might be forgotten about and the copy needs to be run on the specific day.

I could also use Restore from a backup on the specific date but again a manual task and i am hoping to fully automate this

E.g. Assuming database is called DB1 i would like to take a copy of this automatically on 31st March and automatically restore it as Q1_DB1. Similarly take a copy on 30th June and restore it as Q2_DB1.

Is this possible and if so can you assist in how to do it

Regards

John


Viewing all articles
Browse latest Browse all 5123

Trending Articles