EKITA
asked on
Copy Sql Express DB to SQL Enterprise Edition
I have SQL express installed on 2 different machines. Each SQL express install has one Database. I also have a different server running SQL 2008 R2 enterprise.
Server A (SQL Express with database DB1)
Server B (SQL Express with database DB2)
Server C (SQL Server 2008 Enterprise)
On server A, I need to schedule a task to copy DB1 nightly to Server C and also on server B I need to do the same copy DB2 nightly to Server C.
DB1 and DB2 on Server C can be overwritten nightly.
How do I accomplish this?
Server A (SQL Express with database DB1)
Server B (SQL Express with database DB2)
Server C (SQL Server 2008 Enterprise)
On server A, I need to schedule a task to copy DB1 nightly to Server C and also on server B I need to do the same copy DB2 nightly to Server C.
DB1 and DB2 on Server C can be overwritten nightly.
How do I accomplish this?
ASKER
Marten ,
Can you provide a bit more info on how to accomplish this? Instructions, Documentation etc.
I am a complete novice when it comes to SQL.
Can you provide a bit more info on how to accomplish this? Instructions, Documentation etc.
I am a complete novice when it comes to SQL.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
fixed it using visual studio after researching the problem
But first, I advice you to make sure youre using the same collation on all servers, OR have the vendor verify that the database is not affected by SQL Server Collation. It handles everything within its database collation.
Now the simples way would be to link the express servers to the server C, and then run a job nightly that makes a backup of DB1 and DB2 (to a network share that all three servers/SQL Server Service accounts has modify or better rights to).
In the next jobstep, simply do a restore on server C, with keyword replace.
That should do it for you.
Regards Marten