Avatar of Starr Duskk
Starr DuskkFlag for United States of America asked on

Sync a database

I have a production database and a development database.

I want to daily sync the development database to match the production database.

They are both on two different servers. (I could put them on the same server if that makes it possible, but would rather not.)

Is there some type of package I can create and run that will copy (without taking down the production server) the database from production to development (I can take it down), to update everything?

To create the development initially, I couldn't do an import, because it errored on a permission. So I did a backup copy. Then I moved that to my development server and did a restore. I don't want to have to do that everyday, it's too tedious and moving that file took 21 minutes.

thanks!
Microsoft SQL Server 2008

Avatar of undefined
Last Comment
Starr Duskk

8/22/2022 - Mon
SOLUTION
Jim Horn

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Starr Duskk

I want to copy the production to the development, having the same name, etc.

I need to know how to do it in real verbiage, not pseudo. Also, the backup of the production will not be on the machine with the development.

thanks!
Jim Horn

I'm not intimately familiar with SQL Agent, so I'll step back to encourage other experts to respond.
ASKER CERTIFIED SOLUTION
Starr Duskk

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Starr Duskk

thanks!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes