Description of my issue:
Hi Nickolas,
I have got a question regarding automatic akeeba backups.
I installed jumi extension on my joomla site.(Ifyou dont know this extension, it lets you include, scripts in this particular case- php codes anywhere on your site)
Created a new entry in the components/jumi called backup and pasted this code
<?php define('SITEURL', 'http://www.example.com'); // Base URL of your site define('SECRETKEY', 'MySecretKey'); // Your secret key define('PROFILE',1); // The profile's ID // ====================== DO NOT MODIFY BELOW THIS LINE ====================== $curl_handle=curl_init(); curl_setopt($curl_handle,CURLOPT_URL, SITEURL.'/index.php?option=com_akeeba&view=backup&key='. SECRETKEY.'&profile='.PROFILE); curl_setopt($curl_handle,CURLOPT_FOLLOWLOCATION,TRUE); curl_setopt($curl_handle,CURLOPT_MAXREDIRS,10000); # Fix by Nicholas curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER,1); $buffer = curl_exec($curl_handle); curl_close($curl_handle); if (empty($buffer)) echo "Sorry, the backup didn't work."; else echo $buffer; ?>
Changed the site url and secret key....
Created a jumi module and linked to the "backup" entry created inside jumi previously
Created a new article
Included the following inside this article to load the jumi module(which includes the code mentioned above)
{loadposition backup}
Created a new menu item
Linked to the previous article
Set the permission to super user
Now I can see this menu item when I log into frontend. When I click on it, it lets me backup the site without going to the backend...Thats what I was planning or hoping to do until a few weeks back.
At the moment the site backs up itself...Is this normal? It was not backing up before and now all of a sudden the site decided to backup automatically :)
Is this the right and secure way to do automatic backup?
Or should I try something else?
Thank you.