Migration failed to transfer MS SQL database: Operating system error 5

Created:

2016-11-16 13:25:26 UTC

Modified:

2017-08-08 13:21:31 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration failed to transfer MS SQL database: Operating system error 5

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Unable to transfer MS SQL databases on subscription with Plesk Migrator 1.9.7 on Plesk 12.5

The following error is shown:

 Cannot open backup device 'C:\\Program Files (x86)\\Parallels\\Plesk\\var\\modules\\panel-migrator\\sessions\\20160318234300\  arget-server\\mssql-dumps\\db_backup_example.com_admin_example.sql'. Operating system error 5(Access Denied).

Administrators group is called Administratoren on the target server.

Cause

This is a software issue with internal ID #PMT-2717 . The fix will be included in further Plesk updates.

Resolution

As workaround, in %plesk_dir%admin\\plib\\modules\\panel-migrator\\backend\\lib\\python\\parallels\\core\\utils\\database_utils.py replace the following string:

'/grant Administrators:(OI)(CI)F',

with

'/grant Administratoren:(OI)(CI)F',
Have more questions? Submit a request
Please sign in to leave a comment.