corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » 2 SQL Instances - 1 Server


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author 2 SQL Instances - 1 Server
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
22nd Jan 13 at 16:44   View User's Profile U2U Member Reply With Quote

Afternoon All,

I have a client, they have 1 SQL server and on it they have 2 Instances of SQL 2012

One is a fully licensed version they own, the other is an expired trial

I have managed to get into the SQL Manager on the server and wondered if there is a fast'ish way to simply move the data and security settings from one instance to the other.

Or am I best using the backup and restore method and scripting the security settings over ?

I've tried to use the "Copy" option however it just seems to crash out on the final export.

Any ideas ?
VrsTurbo
Premium Member

Registered: 8th Jun 10
User status: Offline
22nd Jan 13 at 16:51   View Garage View User's Profile U2U Member Reply With Quote

Backup and restore. always!
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
22nd Jan 13 at 18:46   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by VrsTurbo
Backup and restore. always!



This.

Also, how big is the DB, is it likely to grow that much in the future?
IIRC, the latest version of SQL express gives you a free 10gb limit, so long as its not being constantly hammered, it ought to do the job.
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
22nd Jan 13 at 19:34   View Garage View User's Profile U2U Member Reply With Quote

I've just striped backing up and restoring databases in the past... But... Getting the software to look at the right instance can be harder!
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
22nd Jan 13 at 20:32   View User's Profile U2U Member Reply With Quote

There are about 9 or 10 different dbs running. One of the dbs is 9gb itself. Was hoping there may be a quicker way to do it.

I noticed I couldnt run a query to script the logins in 2012, how can you move these now ? I've not got the time to invest to much into this atm and hoped it'd be as easy as moving from 05
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
22nd Jan 13 at 22:31   View Garage View User's Profile U2U Member Reply With Quote

Ill copy you what I'm using tomorrow mate.
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
23rd Jan 13 at 11:12   View Garage View User's Profile U2U Member Reply With Quote

I'm backing up databases using this syntax:

SqlCmd -E -S Server_Name\Instance_Name –Q “BACKUP DATABASE [Name_of_Database] TO DISK=’XathToBackupLocation[Name_of_Database].bak’”
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
23rd Jan 13 at 12:27   View User's Profile U2U Member Reply With Quote



Found out why my query was wrong so permissions moved nicely, got all the apps set up and couldn't work out why nothing could connect. I had forgotten to enable mixed authentication Tard
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
23rd Jan 13 at 12:45   View Garage View User's Profile U2U Member Reply With Quote

Often one bloody tickbox that causes all the problems!

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
SQL Server Bart Geek Day 1 849
1st Feb 07 at 16:44
by Samls
 
SQL Server Bart Geek Day 3 1079
14th Mar 07 at 22:58
by James
 
System Center Configuration Manager 2007 Pablo Geek Day 13 361
6th Feb 08 at 14:39
by Pablo
 
MySQL Connection Problem Doug Geek Day 16 1136
30th Mar 08 at 19:22
by Doug
 
Database Hosting James Geek Day 13 300
23rd Feb 12 at 13:18
by Wrighty
 

Corsa Sport » Message Board » Off Day » Geek Day » 2 SQL Instances - 1 Server 29 database queries in 0.0149591 seconds