Hello,
BACKUP DATABASE ankit TO DISK = 'C:\Ankit_Full.bak'
I am writing this query for database backup but it's not running.
this query getting error:-
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device 'C:\Ankit_Full.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
How can we solve?
I have checked all service, everything is ok.
Please help me.
Thanks
Ankit Agarwal
Software Engineer