Dear support,
I want to run a nightly cron job that creates an exact copy of my website on another hosting provider's server. It's a backup. When the hosting provider becomes unreachable or fails, I only have to change the Cloudflare A-record.
I think UNiTE was perfect for that, but you no longer support it.
What is the best way to clone remote Joomla website's now?
I see different approaches, like:
A: Use wget/curl to get all files/directories to the remote server and export and import the database with exactly the same names. Shouldn't this not be the fastest and straight forward way?
B: Create remote backup with your remote.phar. Run kickstart cli to extract the backup-archive, but then I stacked on how to command line execute the installation script with Angie password. I read something about
php ./cli.php execute $ORIGIN/config.json
, but where does the cli.php and $ORIGIN/config.json comes from and what is the content of the config.json, something as it was in UNiTE?
Or is there even a better approach for this user-case?
With thankful regards, Nico