- Importing and exporting of MS SQL databases fails with the following error in Plesk web interface:
PLESK_ERROR: Unable to export a dump of example_db:
Unable to open network connection: An extended error has occurred
(Error code 21)
- Trying to backup through cmd fails:
C:\>"C:\Program Files (x86)\Plesk\admin\bin\dbbackup" --backup "-server=example.com" "-server-type=mssql" "-port=" "-server-login=john_doe" "-server-pwd=*****" "-backup-path=C:\Program Files (x86)\Plesk\PrivateTemp\db-7555.tmp" "-database=example_db" "-temp-dir=c:\db_backups" "-net-dir=\\203.0.113.2\db_backups" "-net-user=example\db_user" "-net-pwd=*******"
Unable to backup database 'example_db'
Unable to open network connection: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again
It is expected behaviour from Microsoft Windows.
To work around this issue, use one of the following methods:
- Method 1
Use the IP address of the remote server when you try to connect to the network share.
- Method 2
Create a different DNS alias for the remote server, and then use this alias to connect to the network share.
After you use one of these methods, you can use different user credentials to connect to the network share. In this situation, the computer behaves as if it is connecting to a different server.