Hi,
I am running on W2K12 on SQL2012 SP1 and when I try to use a script that has worked before on W2K3R2 on SQL2005 to restore a database with replace it seems to want to place the database on the same drive as the original backup. I am trying to restore to a folder on our E:drive, where the existing database is currently, from a backup that backed up a database that resided on a D:drive.
Now I am forced to add the move parameters. Looks like this means the default has changed from 7.1.
Here is a snippet of my script
EXECUTE master..sqlbackup N'-SQL "RESTORE DATABASE [AHAH_DEVL] FROM DISK = ''G:\DBABackupsOnly\FULL_AHAH_PROD_20130320_030300_23895.sq6'' WITH RECOVERY, REPLACE"'
go
The AHAH_DEVL resides on the E:drive and the AHAH_PROD resides on the D:drive.
This would tend to make this version unusable for us.
Chris
I am running on W2K12 on SQL2012 SP1 and when I try to use a script that has worked before on W2K3R2 on SQL2005 to restore a database with replace it seems to want to place the database on the same drive as the original backup. I am trying to restore to a folder on our E:drive, where the existing database is currently, from a backup that backed up a database that resided on a D:drive.
Now I am forced to add the move parameters. Looks like this means the default has changed from 7.1.
Here is a snippet of my script
EXECUTE master..sqlbackup N'-SQL "RESTORE DATABASE [AHAH_DEVL] FROM DISK = ''G:\DBABackupsOnly\FULL_AHAH_PROD_20130320_030300_23895.sq6'' WITH RECOVERY, REPLACE"'
go
The AHAH_DEVL resides on the E:drive and the AHAH_PROD resides on the D:drive.
This would tend to make this version unusable for us.
Chris