BACKUP DATABASE manish TO DISK = 'E:\filename.BAK'
whats wrong with this? I m getting an error like... Msg 3201, Level 16, State 1, Line 1 Cannot open backup device 'E:\filename.BAK'. Operating system error 5(Access is denied.). Msg 3013, Level 16, State 1, Line 1 BACKUP DATABASE is terminating abnormally.
Sounds like a permissions error. Are you trying to run a backup to your local drive from a system database? You can't do that unless you use a UNC path, which I wouldn't recommend. Better to backup to a local drive on the server and then copy the file across. Or, it's possible that the account the server is running under doesn't have access to this drive if it's on your server.