• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Can I run a Plesk Migrator resync automatically via the command line or a scheduled task?

Tim_Wakeling

Basic Pleskian
I am running a second server as a backup, and I would like to automatically keep it up to date with my main server, at reasonable intervals, like perhaps hourly, or several times a day. I have found a wonderful manual way to do this which works beautifully - I ran Plesk Migrator once, it copied everything over, and now I just go to the Migrator extension and click "Re-sync" whenever I want to update things.

What I'd like to do is have this re-sync run automatically, say once an hour, using a scheduled task. Has anyone done this or do you know how it would be done? I am comfortable with creating cron jobs and using the command line, but am struggling to find the right commands to trigger a re-sync of an existing migration.

Thanks :)
 
I don't think Plesk Migrator has CLI support, but I might be wrong here. I think you might be better off making regular snap shots of your server and mount these on another instance when needed.
 
Back
Top