- Plesk for Windows
Backup from the another Plesk server is being restored
The restoration is performed in Domains > example.com > Backup Manager and Restore this backup despite the fact that it does not have a valid signature is enabled
If only specific objects are restored, for example, Selected Objects > Sites > example.com > Restore Configuration and contents of the selected objects > Restore, the restore fails with the following error:
PLESK_INFO: Warning: Restore domain "example.com"
Execution of "C:\Program Files (x86)\Plesk\admin/bin/backup_restore_helper" --restore-subscription example.com -ignore-nonexistent-options failed with return code 1.
Stderr is modsecuritymng failed: The system cannot find the path specified. (Error code 3) at copy file bl2457.tmp to C:\Program Files (x86)\Plesk\ModSecurity\vhosts\62186120-17E0-4203-B0BC-0B4A830133F9\rules\modsecurity_20_settings.conf at (copyFile line 719) at updateVhostSettings(62186120-17E0-4203-B0BC-0B4A830133F9, bl2457.tmp)(ModSecurity::Adapter::updateVhostSettings line 232) at updateVhostSettings(62186120-17E0-4203-B0BC-0B4A830133F9, bl2457.tmp)(ModSecurityManager::updateVhostSettings line 115) at execute console command --update-vhost-settings(vconsoleapp::start line 122) at execute "C:\Program Files (x86)\Plesk\admin\bin\modsecuritymng" --update-vhost-settings "--id=62186120-17E0-4203-B0BC-0B4A830133F9" "--config=bl2457.tmp"(vconsoleapp::run line 139) (Error code 1)
If All Objects is selected in the Backup Manager, the backup is restored without these errors
If Public IP was specified on the source server and the target server in Tools & Settings > IP Addresses, and All Objects are restored from the backup, the restoration completes successfully, but the DNS records in Domains > example.com > DNS Settings are incorrect afterwards
Plesk bug with ID #PPPM-9871.
Until the bug is fixed, apply the workaround
Navigate to Domains > example.com > Backup Manager > <backup_name>, enable Restore this backup despite the fact that it does not have a valid signature and restore the backup with the All objects (entry system)
After the backup is restored, revert DNS zones in Domains > example.com > DNS Settings > Reset to default for each of the restored objects