Save a type of backup with some folder excluded | 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
Save a type of backup with some folder excluded
November 22, 2014
5:39 pm
Avatar
Django29
Member
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

hello

Have we to select the folders to exclude everytime we make a backup, or is it possible to save a folders and files selection to be able to make a backup in 1 click ?

November 23, 2014
9:20 pm
Avatar
XCloner! Support
Admin
Forum Posts: 2485
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Usually that is done by saving them in the XCloner COnfig->Cron tab, Files exclusion input area.

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
November 24, 2014
2:08 pm
Avatar
Django29
Member
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

OK.

How must be the path of these folders ?

For ex :

/public_html/vtiger/backup

or

/home/account/public_html/vtiger/backup

 

(not indicated in the documentation)

November 26, 2014
6:47 pm
Avatar
XCloner! Support
Admin
Forum Posts: 2485
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Full server path as
/home/account/public_html/vtiger/backup

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
December 22, 2014
6:18 pm
Avatar
Django29
Member
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

Hi

I'm back, because I can't make the cron task working on Cpanel.

As I find different answers on the web, which one is the good path, to put in the cron task of Cpanel :

1 :

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

(as indicated in the Xcloner admin)

=> email received (I changed the names of account and site folder):

/usr/local/cpanel/bin/jailshell: /usr/bin/php/home3/account/public_html/sitefolder/administrator/components/com_xcloner-
backupandrestore/cloner.cron.php: N'est pas un dossier

or 2 (with a space between php and /home):

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

or 3  :

/usr/bin/php -f /home/account/public_html/mysitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php

(as indicated in some tutorials)

or 4 :

/home/account/public_html/mysitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php mycustomconfig.php

(as indicated in an error message when I clik "execute cron" in the Xcloner admin)

or 5 :

curl http://website/path_.....r.cron.php

=> email received :

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 –:–:– –:–:– –:–:–     0

145   290    0   290    0     0   2990      0 –:–:– –:–:– –:–:–  6170

<h2>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:</h2>

<strong>php /home3/account/public_html/sitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php

mycustomconfig.php</strong>

 

or 6 :

wget -q http://website/path_.....r.cron.php

or 7:

lynx -sourcehttp://website/path_to_xcloner_folder/cloner.cron.php

January 5, 2015
6:43 am
Avatar
XCloner! Support
Admin
Forum Posts: 2485
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

The correct fron command should be 

 

/usr/bin/php -f /home/account/public_html/mysitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php mycustomconfig.php

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
January 5, 2015
8:51 am
Avatar
Django29
Member
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

OK. This command works :

/usr/bin/php
/home/account/public_html/mysitefolder/administrator/components/com_xcloner-backupandrestore/cloner.cron.php mycustomconfig.php

 

I will add -f, to avoid error messages.

 

Last question (I hope) : When the cron jobs are working on another hoster than the whebsite to backup, what would be the best URL to use ?

(One of my hosters, 1and1, has no cron jobs interface)

 

This command doesn't work :

wget -q
http://www.mysite.co.....r.cron.php mycustomconfig.php
January 6, 2015
9:03 am
Avatar
XCloner! Support
Admin
Forum Posts: 2485
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

This option is not working anymore due to security issues, you can however alter your cloner.cron.php to enable it if you like.

 

The cron command afterwards would be 

 

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

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
January 6, 2015
9:40 am
Avatar
Django29
Member
Forum Posts: 29
Member Since:
October 23, 2014
sp_UserOfflineSmall Offline

I start a new topic

 



 

 

Forum Timezone: UTC 0

Most Users Ever Online: 867

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tom_1: 70

mlguru: 33

Django29: 29

D: 21

Andy: 21

Marcus: 20

Member Stats:

Guest Posters: 737

Members: 41802

Moderators: 1

Admins: 1

Forum Stats:

Groups: 3

Forums: 7

Topics: 2517

Posts: 8419

Newest Members:

CHIRPovn CHIRPovn

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