Scheduled copy of production database into test database

9,349

Solution 1

You could write a program which does it all in TSQL. Or use an SSIS task

Have a look on this SO post for some more details

Solution 2

Use the Copy Database Wizard. - Right click the source database - Choose Tasks - Copy Database.

In the guide You can choose to create a schedule for the job also.

Share:
9,349

Related videos on Youtube

Jonathan
Author by

Jonathan

neverending student ;) https://es.linkedin.com/pub/jonathan-fernández-román/102/944/908

Updated on September 18, 2022

Comments

  • Jonathan
    Jonathan over 1 year

    My question is similar to this one.

    I've Two different severs (both SQL Server 2014 Std Edition). Production and Test. I want my test server to connect every night to the production server and copy/clone one database.

    I Know I could schedule a backup in the Production server, put this backup in a shared folder and the restore it in the Test Server.

    Is there any way to make the Test Server do all the job without using any shared folder?

    Thanks.

    • Grant
      Grant almost 10 years
      I prefer to automate the restore from my backups. That way you get automatic testing thay your backup and restore procedures work as well.