- Plesk Onyx for Windows
During the restoration from the backup via CLI, the following error message appears:
Failed deployment of database exampledb (domain example.com)
Unable to restore MS-SQL database 'exampledb' to MS-SQL server '.\MSSQLSERVER2016'. Error info:
Exclusive access could not be obtained because the database is in use.
This is Plesk bug with ID #PPPM-5753 which is planned to be fixed in future Plesk updates.
1. Go to the Plesk > Domains > example.com > Backup Manager .
2. Click the backup that should be restored.
3. Under the Restoration options, check the option Suspend domains until the restoration is completed . The affected domains will be unavailable during the restoration process.