|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 5:40 PM
Points: 1,631,
Visits: 2,834
|
|
We have a SQL server that hosts a vendor product. The vendor setup a backup for the database.
I see in the SQL job it has a T-SQL BACKUP DATABASE [RenaissanceServer] TO [RenaissanceServer] WITH INIT , NOUNLOAD , NAME = N'RenaissanceServer backup', NOSKIP , STATS = 10, NOFORMAT
What does this mean?
I thought after the word TO it has to be device name, but this one is the database name, what this means?
Thanks
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, June 14, 2013 8:33 AM
Points: 1,402,
Visits: 6,950
|
|
It is entirely possible that a backup device has been created with the same name as the database.
Does that name appear within sys.backup_devices?
BrainDonor Linkedin
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 5:40 PM
Points: 1,631,
Visits: 2,834
|
|
Thanks,
I got this: name type type_desc physical_name RenaissanceServer 2 DISK E:\MSSQL\DataRenaissanceServer.bak RenaissanceServer_LOG 2 DISK E:\MSSQL\DataRenaissanceServer_log.bak MASTER_MSDB 2 DISK E:\MSSQL\DataMASTER_MSDB.bak
I noticed the vendor didn't put the device to our backup drive which is G:\Backup,
How can I change the device to it?
Thanks,
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, January 24, 2013 2:06 PM
Points: 19,
Visits: 72
|
|
| Maybe you should engage the vendor that set it all up to find out why they have set it up that way?
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 5:40 PM
Points: 1,631,
Visits: 2,834
|
|
I found this is a logical backup device, We have to drop it first then recreate it with different path.
Thanks
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 2:58 PM
Points: 5,242,
Visits: 11,259
|
|
sqlfriends (10/9/2012) Thanks,
I got this: name type type_desc physical_name RenaissanceServer 2 DISK E:\MSSQL\DataRenaissanceServer.bak RenaissanceServer_LOG 2 DISK E:\MSSQL\DataRenaissanceServer_log.bak MASTER_MSDB 2 DISK E:\MSSQL\DataMASTER_MSDB.bak
I noticed the vendor didn't put the device to our backup drive which is G:\Backup,
How can I change the device to it?
Thanks,
Use sp_dropdevice to delete the current backup device and recreate it using sp_addumpdevice. Both are detailed in Books Online. Point out to the vendor that backing up to a dump device with INIT will be overwriting backup sets, do you really want to do this? What is your SLA for "getting the data back"?
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|