Duplicator in a batch (automate)?
-
Hi!
I tried Duplicator and it works – great!
I develop my website locally on my PC and from time to time I use Duplicator to copy the latest version to my web site on internet. Everything works fine, without problems, so I only need to perform the routine of steps (create package, FTP the package to my web, delete the wp-config.php, run the installer.php, delete the leftovers).
But I want to make my life even more comfortable, so my question is:
is there a way, how to automate the steps? I am able to make on my own a piece of code which:
1) calls the Duplicator’s “Create Package” function – but I dont know which one.
2) FTP the created package to my web place – easy
3) calls the installer.php – it would be nice to call the installer with all the needed parameters (especially password)
4) delete the used package and installer.php – easySo, what I need are the entry points in the Duplicator’s code, ruunning the key functions. Is it possible to do it? Is there some tutorial or explanation, which functions have to be called by external script?
Thank you!
Petr
- The topic ‘Duplicator in a batch (automate)?’ is closed to new replies.