Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

sql server 2014 set password for backup file

$
0
0

We are using sql server 2014, all our databases will be automatically backed up as per schedule. Now need to protect our backed up databases with password. We have tried below queries:

BACKUP DATABASE teknomectest TO DISK='C:\test.BAK' WITH MEDIAPASSWORD='sqlpas'

Executing it shows below error

One or more of the options (mediapassword) are not supported for this statement.

Analyzing which we came to know this feature is blocked in sql server 2012 itself. Is there any other way to protect bak file.

Bala





Bala



Viewing all articles
Browse latest Browse all 1519

Trending Articles



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