Following query is used to create backup file with media password.
- BACKUP DATABASE DBNAME TO DISK='bakup file path' WITH MEDIAPASSWORD='password'
Following query is used to restore backup file with media password.
- RESTORE DATABASE DBNAME FROM DISK='bakup file path' WITH MEDIAPASSWORD='password'
