PleskMigration
PleskMigration objectidstring requiredstatestring requiredAllowed values:"inventory""creating""copying""copied""final_sync""cutover""done""failed""cancelled"error_codestring requiredfailed_instring requiredurlstring requiredfingerprintstring requiredftp_fingerprintstring requiredftp_tlsstring requiredcredentials_setboolean requiredinventoryobject requiredserverobject requiredplatformstring optionalhostnamestring optionalpanel_versionstring optional
warningsarray<string> required
target_tenant_idstring requiredtarget_server_idstring requiredplanarray<object> requiredsubscriptionstring requiredftp_userstring requiredftp_password_setboolean requiredsitesarray<string> requireddatabasesarray<string> requiredmailboxesinteger required
pullsarray<object> requireddomainstring requiredpullobject requiredfinalboolean requiredatstring (date-time) required
warningsarray<string> requiredfinal_roundsinteger requiredactionsarray<string> requiredpasswords_keptboolean requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
Used by
| GET | /api/v1/tenants/{tid}/migrations/plesk | Migrations from Plesk servers; needs server.manage |
| POST | /api/v1/tenants/{tid}/migrations/plesk | Sign in to Plesk with the confirmed fingerprints and read its inventory. The key or password is sealed and never returned. MIGRATE_PLESK_AUTH, MIGRATE_PLESK_CERTIFICATE, MIGRATE_PLESK_UNREACHABLE |
| GET | /api/v1/tenants/{tid}/migrations/plesk/{mid} | One migration; secrets only as "set" flags |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/refresh | Read Plesk's inventory again, before a plan is made |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/plan 202 | Choose subscriptions, with the FTP password and database logins Plesk does not give back; the panel makes the targets and copies. MIGRATE_PLAN_INVALID, MIGRATE_MSSQL_NOT_ALLOWED |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/actions/{action} 202 | final_sync (copy only what changed, once Plesk is read-only), retry (the failed step) or cancel |