Crontab on Cpanel at a hoster to backup a website at another hoster | Joomla Support | Free Forums

All Wordpress Forum requests have been moved to Wordpress Support Forums

 

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Crontab on Cpanel at a hoster to backup a website at another hoster
January 10, 2015
10:55 am
Avatar
Django29
Member
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
Forum Posts: 1
Member Since:
January 25, 2015
sp_UserOfflineSmall Offline
January 25, 2015
11:11 am
Avatar
Django29
Member
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
Member
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
Member
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
XCloner! Support
Admin
Forum Posts: 2485
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

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
Forum Timezone: UTC 0

Most Users Ever Online: 867

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tom_1: 70

mlguru: 33

Django29: 29

Andy: 21

D: 21

Marcus: 20

Member Stats:

Guest Posters: 737

Members: 41546

Moderators: 1

Admins: 1

Forum Stats:

Groups: 3

Forums: 7

Topics: 2517

Posts: 8419

Newest Members:

Alex_samochkin Alex_samochkin

Moderators: Ovidiu - Support!: 0

Administrators: XCloner! Support: 2485

Quick contact

place

Hi there, my name is Ovidiu Liuta and i support the XCloner! project
XCloner is a Joomla backup component, Wordpress backup plugin and Free website backup tool.
Contact me here!

About company

XCloner.com is a dynamic company focusing on providing backup and recovery solutions for small to medium websites.
We are based in Romania and offer 24/7 support through forums and our private ticket system for Premium users support.

© 2020 XCloner - Website Backup and Restore made simple
All Rights Reserved | Privacy Policy