Backup failures

  • 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.

  • 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.

  • 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

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • thank you !!
    Backups are working fine after provided the required permissions to backup folder.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply