When I have tried to backup my database I've received the following error message
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device 'C:\Users\Admin\Desktop\Backup\MyData.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
Here is the query I have used:
BACKUP DATABASE MyData TO DISK = 'E:\Backups\MyData.bak' WITH FORMAT, MEDIANAME = 'E_SQLServerBackups', NAME = 'Full Backup of MyData';