Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Issue while taking a striped full backup

$
0
0
Hi All,

When i am running the below stripped back up query it is failing, with below error. When i first run the below query it works fine and it created the back up on both the drives, but when the job executed for the next time it throws below error.

Query:
BACKUP DATABASE [DBA] TO  
DISK = N'J:\SQL_Backup\DBA1.bak',  
DISK = N'K:\SQL_Backup\DBA2.bak'
WITH NOFORMAT, 
NOINIT,  
NAME = N'DBA FULL Backup', 
SKIP, NOREWIND, NOUNLOAD,  STATS = 10
GO

Error:

The volume on the device "J:\SQL_Backup\DBA1.bak"  is not part of the media set that is currently being processed. 
Ensure that the backup devices are loaded with the correct media. [SQLSTATE 42000] (Error 3258)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013).  The step failed.

Initally we had other full backup job which was an SSIS package to take a full backup i disabled it and created a new job with above query.
please let me know how to fix the issue.

Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>