Applicable to:
- Plesk for Windows
Symptoms
-
Export dump of customer database via Plesk > Domains > example.com > Databases > test_db > Export fails with error:
Unable to backup database 'test_db' Unable to open network connection: The network path was not found
-
Error can be seen in Plesk log
%plesk_dir%admin\logs\php_error.log
:ERR [panel] Task failed: id=101, pid=101, type=database-download, error=Unable to backup database 'test_db' Unable to open network connection: The network path was not found (Error code 21)
ERR [1] "C:\Program Files (x86)\Plesk\admin\bin64\dbbackup" --backup "-server=sql.example.com,2050" "-server-type=mssql" "-port=" "-server-login=backupuser" "-server-pwd=******" "-backup-path=C:\Program Files (x86)\Plesk\PrivateTemp\ddl4CCF.tmp" "-database=test_db" "-temp-dir=C:\db_pleskbackup" "-net-dir=\\sql_example_com\db_pleskbackup" "-net-user=WIN-SERVER\backupuser" "-net-pwd=******" failed with code 21.
Cause
Incorrect backup configuration for the database server.
Resolution
-
Go to Tools & Settings > Database servers > Select database server > Settings and set the correct configuration for the backup section:
-
The directory specified in Temporary network directory exists.
-
The user specified in Username exist, has read/write permissions for Temporary network directory and its name specified as "ServerName\UserName"
-
Comments
0 comments
Please sign in to leave a comment.