![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I am having problems backing up my transaction log. The destination for the backup is not on the actual server that the log is on, but another server. y:\ is a mapped drive on my sql server. Is sql capable of backing up to a network drive? The message below is what i obtained by looking at the server logs. can someone help me please, if this goes another day without a backup, i might halt my server as the log drive will run out of space. can i do a backup of the transaction log at any time? does it cause disruption to users when it does happen? regards, Andrew BACKUP failed to complete the command BACKUP LOG [QUATTRO] TO DISK = N'y:\QUATTRO_tlog_200406110000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT |
#3
| |||
| |||
|
|
-----Original Message----- Perhaps it's a rights issue. Try the following in Query Analyzer: master..xp_cmdshell 'dir y:\' If this fails, this means SQL Server does not have adequate rights to access the network drive. You might need to change the startup account for the SQL Server service then. Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew Marks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1afb401c44f43$f96b79f0$a101280a (AT) phx (DOT) gbl... Hi I am having problems backing up my transaction log. The destination for the backup is not on the actual server that the log is on, but another server. y:\ is a mapped drive on my sql server. Is sql capable of backing up to a network drive? The message below is what i obtained by looking at the server logs. can someone help me please, if this goes another day without a backup, i might halt my server as the log drive will run out of space. can i do a backup of the transaction log at any time? does it cause disruption to users when it does happen? regards, Andrew BACKUP failed to complete the command BACKUP LOG [QUATTRO] TO DISK = N'y:\QUATTRO_tlog_200406110000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT . |
#4
| |||
| |||
|
|
Hi Peter, this is the result of your command in query analyser. I assume that this means that the backup job wont work? Volume in drive Y is Downloads Volume Serial Number is BC5F-74DB NULL Directory of y:\ NULL File Not Found NULL I didn't actually see the y:\ in the folder options, I mapped the drive then just put y:\in the command line. what can a do to enable the backup to work? regards, Andrew ps thanks for your reply. -----Original Message----- Perhaps it's a rights issue. Try the following in Query Analyzer: master..xp_cmdshell 'dir y:\' If this fails, this means SQL Server does not have adequate rights to access the network drive. You might need to change the startup account for the SQL Server service then. Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew Marks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1afb401c44f43$f96b79f0$a101280a (AT) phx (DOT) gbl... Hi I am having problems backing up my transaction log. The destination for the backup is not on the actual server that the log is on, but another server. y:\ is a mapped drive on my sql server. Is sql capable of backing up to a network drive? The message below is what i obtained by looking at the server logs. can someone help me please, if this goes another day without a backup, i might halt my server as the log drive will run out of space. can i do a backup of the transaction log at any time? does it cause disruption to users when it does happen? regards, Andrew BACKUP failed to complete the command BACKUP LOG [QUATTRO] TO DISK = N'y:\QUATTRO_tlog_200406110000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT . |
#5
| |||
| |||
|
|
-----Original Message----- You seem to be able to access the directory just fine. Do you have rights to write to it using SQL Server credentials? Try copying a file over via QA e.g. master..xp_cmdshell 'xcopy c:\<some file on your local drive> y:\' Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew MArks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1ada501c44f58$0d89fd80$a301280a (AT) phx (DOT) gbl... Hi Peter, this is the result of your command in query analyser. I assume that this means that the backup job wont work? Volume in drive Y is Downloads Volume Serial Number is BC5F-74DB NULL Directory of y:\ NULL File Not Found NULL I didn't actually see the y:\ in the folder options, I mapped the drive then just put y:\in the command line. what can a do to enable the backup to work? regards, Andrew ps thanks for your reply. -----Original Message----- Perhaps it's a rights issue. Try the following in Query Analyzer: master..xp_cmdshell 'dir y:\' If this fails, this means SQL Server does not have adequate rights to access the network drive. You might need to change the startup account for the SQL Server service then. Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew Marks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1afb401c44f43$f96b79f0$a101280a (AT) phx (DOT) gbl... Hi I am having problems backing up my transaction log. The destination for the backup is not on the actual server that the log is on, but another server. y:\ is a mapped drive on my sql server. Is sql capable of backing up to a network drive? The message below is what i obtained by looking at the server logs. can someone help me please, if this goes another day without a backup, i might halt my server as the log drive will run out of space. can i do a backup of the transaction log at any time? does it cause disruption to users when it does happen? regards, Andrew BACKUP failed to complete the command BACKUP LOG [QUATTRO] TO DISK = N'y:\QUATTRO_tlog_200406110000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT . . |
#6
| |||
| |||
|
|
Hi peter, thanks for you reply. I tried your command and got the following result. E:\backup\Splitter.exe Access denied NULL How do I get my sql server to access my file server through the sql? regards, Andrew -----Original Message----- You seem to be able to access the directory just fine. Do you have rights to write to it using SQL Server credentials? Try copying a file over via QA e.g. master..xp_cmdshell 'xcopy c:\<some file on your local drive> y:\' Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew MArks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1ada501c44f58$0d89fd80$a301280a (AT) phx (DOT) gbl... Hi Peter, this is the result of your command in query analyser. I assume that this means that the backup job wont work? Volume in drive Y is Downloads Volume Serial Number is BC5F-74DB NULL Directory of y:\ NULL File Not Found NULL I didn't actually see the y:\ in the folder options, I mapped the drive then just put y:\in the command line. what can a do to enable the backup to work? regards, Andrew ps thanks for your reply. -----Original Message----- Perhaps it's a rights issue. Try the following in Query Analyzer: master..xp_cmdshell 'dir y:\' If this fails, this means SQL Server does not have adequate rights to access the network drive. You might need to change the startup account for the SQL Server service then. Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew Marks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1afb401c44f43$f96b79f0$a101280a (AT) phx (DOT) gbl... Hi I am having problems backing up my transaction log. The destination for the backup is not on the actual server that the log is on, but another server. y:\ is a mapped drive on my sql server. Is sql capable of backing up to a network drive? The message below is what i obtained by looking at the server logs. can someone help me please, if this goes another day without a backup, i might halt my server as the log drive will run out of space. can i do a backup of the transaction log at any time? does it cause disruption to users when it does happen? regards, Andrew BACKUP failed to complete the command BACKUP LOG [QUATTRO] TO DISK = N'y:\QUATTRO_tlog_200406110000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT . . |
#7
| |||
| |||
|
|
Hi peter, thanks for you reply. I tried your command and got the following result. E:\backup\Splitter.exe Access denied NULL How do I get my sql server to access my file server through the sql? regards, Andrew -----Original Message----- You seem to be able to access the directory just fine. Do you have rights to write to it using SQL Server credentials? Try copying a file over via QA e.g. master..xp_cmdshell 'xcopy c:\<some file on your local drive> y:\' Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew MArks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1ada501c44f58$0d89fd80$a301280a (AT) phx (DOT) gbl... Hi Peter, this is the result of your command in query analyser. I assume that this means that the backup job wont work? Volume in drive Y is Downloads Volume Serial Number is BC5F-74DB NULL Directory of y:\ NULL File Not Found NULL I didn't actually see the y:\ in the folder options, I mapped the drive then just put y:\in the command line. what can a do to enable the backup to work? regards, Andrew ps thanks for your reply. -----Original Message----- Perhaps it's a rights issue. Try the following in Query Analyzer: master..xp_cmdshell 'dir y:\' If this fails, this means SQL Server does not have adequate rights to access the network drive. You might need to change the startup account for the SQL Server service then. Peter Yeoh http://www.yohz.com Need smaller SQL2K backups? Try MiniSQLBackup "Andrew Marks" <andrewmarks (AT) flowerspartners (DOT) com.au wrote in message news:1afb401c44f43$f96b79f0$a101280a (AT) phx (DOT) gbl... Hi I am having problems backing up my transaction log. The destination for the backup is not on the actual server that the log is on, but another server. y:\ is a mapped drive on my sql server. Is sql capable of backing up to a network drive? The message below is what i obtained by looking at the server logs. can someone help me please, if this goes another day without a backup, i might halt my server as the log drive will run out of space. can i do a backup of the transaction log at any time? does it cause disruption to users when it does happen? regards, Andrew BACKUP failed to complete the command BACKUP LOG [QUATTRO] TO DISK = N'y:\QUATTRO_tlog_200406110000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT . . |
![]() |
| Thread Tools | |
| Display Modes | |
| |