Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900