SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Backup failures


Backup failures

Author
Message
adisql
adisql
Say Hey Kid
Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)

Group: General Forum Members
Points: 690 Visits: 577
Backups are failing with below errors.
Any suggession please.
Thank you !!


Message
Executed as user: XXXX\SYSTEM. ...ersion: 13.0.4001.0 Edition: Enterprise Edition: Core-based Procedure: [master].[dbo].[DatabaseBackup] Parameters: @Databases = 'ALL_DATABASES', @Directory = 'O:\SQL Backups', @BackupType = 'FULL', @Verify = 'Y', @CleanupTime = 864, @CleanupMode = 'AFTER_BACKUP', @Compress = 'Y', @CopyOnly = 'N', @ChangeBackupType = 'N', @BackupSoftware = NULL, @CheckSum = 'Y', @BlockSize = NULL, @BufferCount = NULL, @MaxTransferSize = NULL, @NumberOfFiles = NULL, @CompressionLevel = NULL, @Description = NULL, @Threads = NULL, @Throttle = NULL, @Encrypt = 'N', @EncryptionAlgorithm = NULL, @ServerCertificate = NULL, @ServerAsymmetricKey = NULL, @EncryptionKey = NULL, @ReadWriteFileGroups = 'N', @OverrideBackupPreference = 'N', @NoRecovery = 'N', @URL = NULL, @Credential = NULL, @MirrorDirectory = NULL, @MirrorCleanupTime = NULL, @MirrorCleanupMode = 'AFTER_BACKUP', @LogToTable = 'N', @Execute = 'Y' Source: https://ola.hallengren.com Date and time: 2017-12-24 10:34:39 Database: [Acxiom] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 66042000000022700038 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\Acxiom\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2017-12-24 10:34:39 Date and time: 2017-12-24 10:34:39 Database: [AgeGender] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 46756000000011800042 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AgeGender\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2017-12-24 10:34:39 Date and time: 2017-12-24 10:34:39 Database: [AnalyticsCommon] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 10431000000050700037 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AnalyticsCommon\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2017-12-24 10:34:39 Date and time: 2017-12-24 10:34:39 Database: [APEAL] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 5775000000021400037 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\APEAL\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, Stat... Process Exit Code 1. The step failed.




Message
Executed as user: XXXX\SYSTEM. ...ersion: 13.0.4001.0 Edition: Enterprise Edition: Core-based Procedure: [master].[dbo].[DatabaseBackup] Parameters: @Databases = 'ALL_DATABASES', @Directory = 'O:\SQL Backups', @BackupType = 'DIFF', @Verify = 'Y', @CleanupTime = 360, @CleanupMode = 'AFTER_BACKUP', @Compress = 'Y', @CopyOnly = 'N', @ChangeBackupType = 'N', @BackupSoftware = NULL, @CheckSum = 'Y', @BlockSize = NULL, @BufferCount = NULL, @MaxTransferSize = NULL, @NumberOfFiles = NULL, @CompressionLevel = NULL, @Description = NULL, @Threads = NULL, @Throttle = NULL, @Encrypt = 'N', @EncryptionAlgorithm = NULL, @ServerCertificate = NULL, @ServerAsymmetricKey = NULL, @EncryptionKey = NULL, @ReadWriteFileGroups = 'N', @OverrideBackupPreference = 'N', @NoRecovery = 'N', @URL = NULL, @Credential = NULL, @MirrorDirectory = NULL, @MirrorCleanupTime = NULL, @MirrorCleanupMode = 'AFTER_BACKUP', @LogToTable = 'N', @Execute = 'Y' Source: https://ola.hallengren.com Date and time: 2018-01-02 00:00:00 Database: [Acxiom] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 66042000000022700038 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\Acxiom\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2018-01-02 00:00:00 Date and time: 2018-01-02 00:00:00 Database: [AgeGender] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 46756000000011800042 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AgeGender\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2018-01-02 00:00:00 Date and time: 2018-01-02 00:00:00 Database: [AnalyticsCommon] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 10431000000050700037 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AnalyticsCommon\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2018-01-02 00:00:00 Date and time: 2018-01-02 00:00:00 Database: [APEAL] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 5775000000021400037 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\APEAL\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620... Process Exit Code 1. The step failed.
Lynn Pettis
Lynn Pettis
SSC Guru
SSC Guru (273K reputation)SSC Guru (273K reputation)SSC Guru (273K reputation)SSC Guru (273K reputation)SSC Guru (273K reputation)SSC Guru (273K reputation)SSC Guru (273K reputation)SSC Guru (273K reputation)

Group: General Forum Members
Points: 273863 Visits: 41203
adisql - Tuesday, January 2, 2018 2:55 PM
Backups are failing with below errors.
Any suggession please.
Thank you !!


Message
Executed as user: XXXX\SYSTEM. ...ersion: 13.0.4001.0 Edition: Enterprise Edition: Core-based Procedure: [master].[dbo].[DatabaseBackup] Parameters: @Databases = 'ALL_DATABASES', @Directory = 'O:\SQL Backups', @BackupType = 'FULL', @Verify = 'Y', @CleanupTime = 864, @CleanupMode = 'AFTER_BACKUP', @Compress = 'Y', @CopyOnly = 'N', @ChangeBackupType = 'N', @BackupSoftware = NULL, @CheckSum = 'Y', @BlockSize = NULL, @BufferCount = NULL, @MaxTransferSize = NULL, @NumberOfFiles = NULL, @CompressionLevel = NULL, @Description = NULL, @Threads = NULL, @Throttle = NULL, @Encrypt = 'N', @EncryptionAlgorithm = NULL, @ServerCertificate = NULL, @ServerAsymmetricKey = NULL, @EncryptionKey = NULL, @ReadWriteFileGroups = 'N', @OverrideBackupPreference = 'N', @NoRecovery = 'N', @URL = NULL, @Credential = NULL, @MirrorDirectory = NULL, @MirrorCleanupTime = NULL, @MirrorCleanupMode = 'AFTER_BACKUP', @LogToTable = 'N', @Execute = 'Y' Source: https://ola.hallengren.com Date and time: 2017-12-24 10:34:39 Database: [Acxiom] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 66042000000022700038 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\Acxiom\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2017-12-24 10:34:39 Date and time: 2017-12-24 10:34:39 Database: [AgeGender] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 46756000000011800042 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AgeGender\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2017-12-24 10:34:39 Date and time: 2017-12-24 10:34:39 Database: [AnalyticsCommon] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 10431000000050700037 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AnalyticsCommon\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2017-12-24 10:34:39 Date and time: 2017-12-24 10:34:39 Database: [APEAL] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 5775000000021400037 Last log backup LSN: N/A Date and time: 2017-12-24 10:34:39 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\APEAL\FULL' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, Stat... Process Exit Code 1. The step failed.




Message
Executed as user: XXXX\SYSTEM. ...ersion: 13.0.4001.0 Edition: Enterprise Edition: Core-based Procedure: [master].[dbo].[DatabaseBackup] Parameters: @Databases = 'ALL_DATABASES', @Directory = 'O:\SQL Backups', @BackupType = 'DIFF', @Verify = 'Y', @CleanupTime = 360, @CleanupMode = 'AFTER_BACKUP', @Compress = 'Y', @CopyOnly = 'N', @ChangeBackupType = 'N', @BackupSoftware = NULL, @CheckSum = 'Y', @BlockSize = NULL, @BufferCount = NULL, @MaxTransferSize = NULL, @NumberOfFiles = NULL, @CompressionLevel = NULL, @Description = NULL, @Threads = NULL, @Throttle = NULL, @Encrypt = 'N', @EncryptionAlgorithm = NULL, @ServerCertificate = NULL, @ServerAsymmetricKey = NULL, @EncryptionKey = NULL, @ReadWriteFileGroups = 'N', @OverrideBackupPreference = 'N', @NoRecovery = 'N', @URL = NULL, @Credential = NULL, @MirrorDirectory = NULL, @MirrorCleanupTime = NULL, @MirrorCleanupMode = 'AFTER_BACKUP', @LogToTable = 'N', @Execute = 'Y' Source: https://ola.hallengren.com Date and time: 2018-01-02 00:00:00 Database: [Acxiom] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 66042000000022700038 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\Acxiom\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2018-01-02 00:00:00 Date and time: 2018-01-02 00:00:00 Database: [AgeGender] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 46756000000011800042 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AgeGender\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2018-01-02 00:00:00 Date and time: 2018-01-02 00:00:00 Database: [AnalyticsCommon] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 10431000000050700037 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\AnalyticsCommon\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620, Level 16, State 1 xp_create_subdir() returned error 183, 'Cannot create a file when that file already exists.' Msg 50000, Level 16, State 1, Server XXXX, Line 1 Error creating directory. Outcome: Failed Duration: 00:00:00 Date and time: 2018-01-02 00:00:00 Date and time: 2018-01-02 00:00:00 Database: [APEAL] Status: ONLINE Standby: No Updateability: READ_WRITE User access: MULTI_USER Is accessible: Yes Recovery model: FULL Differential base LSN: 5775000000021400037 Differential base is snapshot: No Last log backup LSN: N/A Date and time: 2018-01-02 00:00:00 Command: DECLARE @ReturnCode int EXECUTE @ReturnCode = [master].dbo.xp_create_subdir N'O:\SQL Backups\XXXX\APEAL\DIFF' IF @ReturnCode <> 0 RAISERROR('Error creating directory.', 16, 1) HResult 0x5620... Process Exit Code 1. The step failed.

The error messages are telling you what is wrong. In the first one, it is attempting to create a subdirectory that already exists. Same thing with the second error message. Unfortunately I am not familiar with the scripts you are running so can't be much more help.


Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Grant Fritchey
Grant Fritchey
SSC Guru
SSC Guru (274K reputation)SSC Guru (274K reputation)SSC Guru (274K reputation)SSC Guru (274K reputation)SSC Guru (274K reputation)SSC Guru (274K reputation)SSC Guru (274K reputation)SSC Guru (274K reputation)

Group: General Forum Members
Points: 274509 Visits: 33815
Just plucking out the relative bits:

'Cannot create a file when that file already exists.'

'Cannot create a file when that file already exists'


You just need to read through the error messages. It's a mess, but it usually has english inside that makes sense.


----------------------------------------------------
The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
Theodore Roosevelt

The Scary DBA
Author of: SQL Server Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
adisql
adisql
Say Hey Kid
Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)

Group: General Forum Members
Points: 690 Visits: 577
thank you !!
Backups are working fine after provided the required permissions to backup folder.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search