API referenceSections

PleskMigration

PleskMigration object
  • id string required
  • state string required
    Allowed values: "inventory" "creating" "copying" "copied" "final_sync" "cutover" "done" "failed" "cancelled"
  • error_code string required
  • failed_in string required
  • url string required
  • fingerprint string required
  • ftp_fingerprint string required
  • ftp_tls string required
  • credentials_set boolean required
  • inventory object required
    • server object required
      • platform string optional
      • hostname string optional
      • panel_version string optional
    • subscriptions array<PleskSubscription> required
    • warnings array<string> required
  • target_tenant_id string required
  • target_server_id string required
  • plan array<object> required
    • subscription string required
    • ftp_user string required
    • ftp_password_set boolean required
    • sites array<string> required
    • databases array<string> required
    • mailboxes integer required
  • pulls array<object> required
    • domain string required
    • pull object required
      • final boolean required
      • stats SyncStats required
      • at string (date-time) required
  • dns array<DNSHandover> required
  • warnings array<string> required
  • final_rounds integer required
  • actions array<string> required
  • passwords_kept boolean required
  • created_at string (date-time) required
  • updated_at string (date-time) required

Used by

GET/api/v1/tenants/{tid}/migrations/pleskMigrations from Plesk servers; needs server.manage
POST/api/v1/tenants/{tid}/migrations/pleskSign 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}/refreshRead Plesk's inventory again, before a plan is made
POST/api/v1/tenants/{tid}/migrations/plesk/{mid}/plan 202Choose 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} 202final_sync (copy only what changed, once Plesk is read-only), retry (the failed step) or cancel