• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Unable to Execute MS SQL Backup Database in T-SQL

    Trying to execute the command:
    Backup Database PHA
    To Disk = 'G:\PleskVhosts\palmettohomeschool.org\httpdocs\DBBackup\PHADB.bak'
    With NoFormat
    , Name = N'PHA Database Backup'

    Gives the error:
    Cannot open backup device 'G:\PleskVhosts\palmettohomeschool.org\httpdocs\DBBackup\PHADB.bak'. Operating system error 3(The system cannot find the path specified.).

    Can anyone offer any suggestions?

    The directory DBBackup does exist and has been given full permissions via the Plesk control panel.

    1 REPLY 1
    Community Manager

    Hi, @RoyCross. Thanks for being part of GoDaddy Community! I'm not super familiar with what you're trying to do, but I've seen errors like this be caused by unintended characters (including spaces) being included in either the command or actual file names. That is another thing you could double check. Hope  you're able to get this figured out. Please consider updating your post if you do so others can benefit from your experience.


    JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.