I am having problems restoring a user generated full cPanel backup file on WHM 11.44.
I am trying to run a restore of a full cPanel backup file stored on the /home folder.
Upon initiating the restore with curl, it does not execute. Apparently now the restore function are triggering a series of javascript calls that requires an actual browser with JS functionality to actually process the restoration.
This breaks automation scripts that uses curl to initiate restore process through WHM.
Is there a workaround for this, maybe using an API, so that during restoration process, it is not required for a JS enabled browser to actually having to wait with the browser window open until the restore process completes?
The only workaround I have right now is using phantomjs and casperjs, but it would be great if the solution is right out of the box from WHM.
Can you please give me a pointer of a better workaround to accomplish this?
I am trying to run a restore of a full cPanel backup file stored on the /home folder.
Upon initiating the restore with curl, it does not execute. Apparently now the restore function are triggering a series of javascript calls that requires an actual browser with JS functionality to actually process the restoration.
This breaks automation scripts that uses curl to initiate restore process through WHM.
Is there a workaround for this, maybe using an API, so that during restoration process, it is not required for a JS enabled browser to actually having to wait with the browser window open until the restore process completes?
The only workaround I have right now is using phantomjs and casperjs, but it would be great if the solution is right out of the box from WHM.
Can you please give me a pointer of a better workaround to accomplish this?