xCloner exclude Database tables doesn't work | Report Bugs | 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
sp_TopicIcon
xCloner exclude Database tables doesn't work
November 15, 2012
10:42 am
Avatar
Joni
New Member
Members
Forum Posts: 1
Member Since:
November 15, 2012
sp_UserOfflineSmall Offline

Hi everybody,

xCloner is a realy nice product, but the following bug appeared to me.

I have several website's (wordpress) which uses the same database.

Now you have the possibility to exclude some tables from your backup.

The problem is, the selected tables won't exclude. It just back-ups all the tables (138 of the)

 Does somebody has any solution?

Thanks in advance 

November 15, 2012
11:18 pm
Avatar
Jules
New Member
Members
Forum Posts: 1
Member Since:
November 15, 2012
sp_UserOfflineSmall Offline

I'm doing an eval on this product, so it's not a real fix, but this will work for now:

 

cloner.cron.php line 114:
$_REQUEST[cron_access] = 1;
$_REQUEST['databases_incl'] = @explode(",",$_CONFIG[databases_incl_list]);
$_REQUEST['excltables'] =  @explode(",",$_CONFIG[excltables]);
^^ add that last line, 
Then, in the custom cron config file add:

$_CONFIG['excltables']="table1,table2,table3";

 

^ don't add and spaces, just the table names seperated by a , 

 

If I end up purchasing this, I'll write a full fix unless the dev team gets to it first 😉

 

-Jules

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: 737
Members: 9453
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Vladimir Smitka
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0