Scheduling The Transfer Tool?
I'm trying to create a "staging"/test server so updates (mostly WordPress) can be tested prior to installation on our prod server.
What's the best approach to scheduling the transfer of all accounts & DBs to another server on a regular basis? i.e. doing exactly the same thing as the WHM Transfer Tool but programmatically, via CLI?
-
Hi @benjpw You'd need to write a script that would do this. The Transfer process can be initiated using the whmapi1 WHM API 1 Sections - Transfers - Developer Documentation - cPanel Documentation and all of this can be done over CLI 0 -
The API seems a bit broken, isn't well documented, and seems unnecessarily complex to use anyway, so for now I'm using Puppeteer to just do it via the WHM Transfer Tool pages. 0
Please sign in to leave a comment.
Comments
2 comments