Crontab on Cpanel at a hoster to backup a website at another hoster | Joomla Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Crontab on Cpanel at a hoster to backup a website at another hoster
January 10, 2015
10:55 am
Avatar
Django29
France
Member
Members
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

Hi

No problem to create a crontab on panel for a site on the same server, with :

/usr/bin/php /home/account/public_html/sitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php customconfig.php

 

But I can't make it when the website is at another hoster.

I tested this command :

wget -q http://www.mysite.co.....r.cron.php?config=mycustomconfig.php

From Cpanel of O2switch (french hoster) to my Joomla site with Xcloner hosted by 1and1.

But no backup.

 

And when I go directly to http://www.mysite.co.....r.cron.php?config=mycustomconfig.php

I get this error message :

" To run this script you need to create a custom config file inside XCloner Config, and call the script using php cli command like this:

php /homepages/25/dxxxxxxxx/htdocs/sitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php mycustomconfig.php "

 

The same URL without ?config= displays and error 404.  

January 25, 2015
9:38 am
Avatar
Maddox
New Member
Members
Forum Posts: 1
Member Since:
January 25, 2015
sp_UserOfflineSmall Offline
January 25, 2015
11:11 am
Avatar
Django29
France
Member
Members
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

Thanks.

I was already using http://webcron.org/, and I stopped it, because Cpanel is supposed to do the job. So I'm trying to understand how.

January 31, 2015
5:21 pm
Avatar
Django29
France
Member
Members
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

Problem solved.

Cron task :

wget -q http://www.mysite.co.....config.php

 

Then go to : /administrator/components/com_xcloner-backupandrestore/cloner.cron.php

Comment all the part "####### VERIFY IP ACCESS"  (lines 39 to 64).

/** ………..**/

April 4, 2015
9:08 am
Avatar
Django29
France
Member
Members
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

Hello

 

This cron task, on one of my hosters Cpanel works for the backup of my Joomla websites on another hoster :

 

It works on my websites Joomla 2.5.27 + Xcloner 3.5 but not on another in version Joomla 2.5.9

(for now, the upgrade to Joomla 2.5.28 doesn't work)

 

VERIFY IP ACCESS is commented in cloner.cron.php

 

Is Xcloner supposed to work with Joomla 2.5.9 ?

April 9, 2015
5:42 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

The latest version of XCloner does not allow anymore the wget command for running cron backups, please check the error output from the cron, you will need to use the php cli executable command.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0