can't get alternative config files to work in scheduled backups | Wordpress 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_Feed Topic RSSsp_TopicIcon
can't get alternative config files to work in scheduled backups
July 8, 2011
10:23 pm
Avatar
NeilS
Member
Members
Forum Posts: 3
Member Since:
July 8, 2011
sp_UserOfflineSmall Offline

So far this is the best, most reliable, simplest backup system for Wordpress that I have tried!

 

I'm using Wordpress 3.1 and 3.2; When I use xcloner for scheduled backups using eg:

/usr/bin/php5 $HOME/public_html/labshare/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php

... this works fine for that site.  

 

BUT, as I have several subsites I want ot backup separately, I have tried setting up different config files, and called them using e.g.:

/usr/bin/php5 $HOME/public_html/labshare/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php cron_labshare.php

... and I get the logfile saying "Using default configuration file" - NOT my custom config file.

 

I also tried 

/usr/bin/php5 $HOME/public_html/labshare/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php configs/cron_labshare.php

... in case, but no difference.

 

Any suggestions?

 

Thanks

Neil

July 9, 2011
6:39 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Could you post a screenshot of your wp-content/plugins/xcloner-backup-and-restore/configs directory?

 

If it still doesn't help try using the alternative cron commands listed in the Cron menu documentation, like the url one with

 

curl http://mysite/.../cloner.cron.php?config=cron_labshare.php

 

 Ovidiu

July 9, 2011
7:59 am
Avatar
NeilS
Member
Members
Forum Posts: 3
Member Since:
July 8, 2011
sp_UserOfflineSmall Offline

Thanks for replying quickly!  Image of configs directory below.  And yes I will try the other methods - I was being stubborn and sticking with commands I was familiar with!

 

Image Enlarger


July 9, 2011
3:36 pm
Avatar
NeilS
Member
Members
Forum Posts: 3
Member Since:
July 8, 2011
sp_UserOfflineSmall Offline


If it still doesn't help try using the alternative cron commands listed in the Cron menu documentation, like the url one with

 

curl http://mysite/.../cl.....bshare.php

 

 Ovidiu

----------------------------

PS Can you clarify how to use a URL format - I currently have my back up directory in my root (that contains public_html) so is not accessible by URL - presumably this method requires me to move the folder into public_html?

Regards

Neil


July 10, 2011
7:15 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

The backup store directory can be anywhere, the cloner.cron.php script is always located in a web accessible folder same as XCloner, so try and use this command

 

curl http://mysite.com/wp.....bshare.php

 

where mysite.com needs to be replaced with your wordpress site url! 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
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10052
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
piotr K
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0