• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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