• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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