- 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. Got to the Plesk > Domains > example.com > Backup Manager .
2. Choose a backup that should be restored by clicking it.
3. Under the Restoration options check the option Suspend domains until the restoration is completed . Affected domains will be unavailable during the restoration process.