Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 994113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:31:48+00:00 2026-05-16T06:31:48+00:00

We occasionally want to copy our production database with data and have it populate

  • 0

We occasionally want to copy our production database with data and have it populate a corresponding database in our test environment so that we can reproduce production problems.

We currently wait for a maintenance window and do an Detach/Attach.

We’re using SQL Server 2008 and both test and production databases are on the same server.

What is the best way to copy a snapshot that would 1) not require the production database to go offline and 2) be capable of being automated via a build script?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T06:31:48+00:00Added an answer on May 16, 2026 at 6:31 am

    Make a backup. You should do anyway… and you can do the restore overriding file and database name and file positions.

    both test and production databases are
    on the same server.

    Bad idea. I ahve seen SQL scripts grind a SQL Server to a halt and I would not like to happen that on a production system. I suggest using your backup server for testing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to store the average values of some data that is occasionally generated
I have some proxy settings that I only occasionally want to turn on, so
i have a .net winforms application that i want to be soundless. occasionally when
I have a WCF service that occasionally causes a database deadlock. My service allows
Occasionally I come accross a unit test that doesn't Assert anything. The particular example
I have a collection of objects that's constantly changing, and I want to display
I want to have to occasionally insert text into the UITextView text object. For
Occasionally I'll have some WPF C# code that I'd like to write in a
I scrape some sites that occasionally have UTF-8 characters in the title, but that
I occasionally have Python programs that take a long time to run, and that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.