![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have two separate SQL Clusters which I need to automate restoring one database from Cluster A to Cluster B. The database on Cluster A has a daily full backup. How can the restore process be automated between the two clusters? |
#3
| |||
| |||
|
|
I have two separate SQL Clusters which I need to automate restoring one database from Cluster A to Cluster B. The database on Cluster A has a daily full backup. How can the restore process be automated between the two clusters? |
#4
| |||
| |||
|
|
Hi Does it work for you? RESTORE DATABASE foo FROM DISK = '\\Primary\D$\dmp_foo.BAK' WITH FILE = 1, NOUNLOAD , STANDBY = 'E:\mssql7\logs\undo.ldf', STATS =10, REPLACE , MOVE N'foo_Data' TO N'F:\MSSQL\data\foo.MDF', MOVE N'foo_Log' TO N'E:\mssql\logs\foo.ldf' go "Robin9876" <robin9... (AT) hotmail (DOT) com> wrote in message news:a16c7e99-2186-4fc1-8d9f-f1cb8e3fb14f (AT) y21g2000yqn (DOT) googlegroups.com... I have two separate SQL Clusters which I need to automate restoring one database from Cluster A to Cluster B. The database on Cluster A has a daily full backup. How can the restore process be automated between the two clusters? |
#5
| |||
| |||
|
|
I was not sure if SAN drives could be shared across instances but it appears to be. The only issue would be how to identify the bak file, as the file name changes daily due to containing date time in the name. As an alternative I could create another backup before the restore to create a file to a known name but would prefer to use the current backup process. On 3 Sep, 06:17, "Uri Dimant" <u... (AT) iscar (DOT) co.il> wrote: Hi Does it work for you? RESTORE DATABASE foo FROM DISK = '\\Primary\D$\dmp_foo.BAK' WITH FILE = 1, NOUNLOAD , STANDBY = 'E:\mssql7\logs\undo.ldf', STATS =10, REPLACE , MOVE N'foo_Data' TO N'F:\MSSQL\data\foo.MDF', MOVE N'foo_Log' TO N'E:\mssql\logs\foo.ldf' go "Robin9876" <robin9... (AT) hotmail (DOT) com> wrote in message news:a16c7e99-2186-4fc1-8d9f-f1cb8e3fb14f (AT) y21g2000yqn (DOT) googlegroups.com... I have two separate SQL Clusters which I need to automate restoring one database from Cluster A to Cluster B. The database on Cluster A has a daily full backup. How can the restore process be automated between the two clusters? |
![]() |
| Thread Tools | |
| Display Modes | |
| |