Avatar of michaeldean99
michaeldean99
Flag for United Kingdom of Great Britain and Northern Ireland asked on

sql server 12

hi
I have  downloaded a sql server database into sql server 2012 on my computer.
how do i create a duplicate of this local database?
thanks
michael
Microsoft SQL Server

Avatar of undefined
Last Comment
rajvja

8/22/2022 - Mon
rajvja

What do you mean by duplicate?

there are different ways.

1. Take a backup of the original and create new database. Do restore from the backup
2. Take database script and execute on new database.
michaeldean99

ASKER
hi

duplicate with the existing data. It is to use as an online test database for code changes that are being made.
I have downloaded a .bak copy into my local sql server 2012.
I wanted to make a duplicate of this local copy which i can then modify (data and table changes) before putting it back online for testing a new version of the website.
I have very little experience of sql db admin, just enough to know that I will probably mess up anything complicated!
ASKER CERTIFIED SOLUTION
rajvja

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.
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
Your help has saved me hundreds of hours of internet surfing.
fblack61