How to backup multiple databases|Joomla Support|Forum Archive|XCloner

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
How to backup multiple databases
October 25, 2010
2:50 pm
Avatar
mark
Member
Members
Forum Posts: 3
Member Since:
October 25, 2010
sp_UserOfflineSmall Offline

I saw in another post that you said xcloner has the ability to backup multiple databases.  I've been unable to find this option in the config of xcloner.  I currently have a joomla site with phpbb3 forum in 2 separate databases bridged with rokbridge.  I'd like to backup all contents and both db's to restore to my new host.  How can i accomplish this?

October 25, 2010
3:23 pm
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi there! In order to backup multiple databases at once, you need to create a mysql user and assign it to the databases you want to backup, so it has at least reading permissions.

Once that is done, go in your XCloner Configuration area -> Mysql details tab and setup there the new mysql user and pass, and a primary database to backup. The others will appear in a drop list on the Generate backup ->Database tab, and you will be able to select them from there.

 

Regards, Ovidiu

October 25, 2010
4:36 pm
Avatar
mark
Member
Members
Forum Posts: 3
Member Since:
October 25, 2010
sp_UserOfflineSmall Offline

Ahh thanks! was because my user didn't have rights to the phpbb db

October 26, 2010
11:20 am
Avatar
mark
Member
Members
Forum Posts: 3
Member Since:
October 25, 2010
sp_UserOfflineSmall Offline

When trying to restore I don't see where to specify the second DB in the XCloner.php file.  Maybe you misunderstood my issue, I need to backup a joomla and phpbb3 forum both are in their own databases and restore them on a new host.  Because of rokbridge I need to restore joomla into it's own db and the phpbb3 forum into it's own db.  I don't see how to acomplish this.

October 26, 2010
11:51 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

After you make the first restore , you need to restart the restore script, you will be able to see a drop down box with the multiple databases listed in it, you can use that to restore the database backup to another database

 

Hope it helps! Ovidiu

October 16, 2013
2:01 pm
Avatar
Guest
Guests

I'm sorry, I can't catch it. How do I have to "assign it (mysql user, I suppose) to the databases you want to backup"? If it does mean create one mysql user and assign him 3 databases - in my scenario it's impossible. I haven't access to error-logs, access-logs, cron, actually I haven't access to anything except created databases (they always are manged by new one mysql user) and FTP accounts;/ In my case granted permissions are low as much as it's possible...

In index2.php?option=com_cloner&task=config I didn't found anything special except option "MySQL" > "Create multiple db backups at once", but there wasn't anything to setup in terms of multiple db's. Is possible manual setup of cloner.config.php file? Of course I mean multiple, different mysql users and db's.

October 17, 2013
6:43 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

The cron option allows you to save and use a custom config, so you could create a custom config for each of your databases and use that when launching the backup system, in browser mode you can only backup multiple databases if the same mysql user has reading permissions to all of them, otherwise it won't work.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 5
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: 10080
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Manuele Freddo_1
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0