Support

Akeeba Backup for Joomla!

#8403 Site replication

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Monday, 19 April 2010 01:22 CDT

user9687
Dear Sir,

I'm tryinfo to replicate a site with a pro akeeba backup. I restored the backup in the same server, but the two sites now share the same database. I guess that with the Akeeba Backup Installer i can create a copy of a mysql database to allow the sites to work independently.

ABI does this trick? It´s the best way to do it?
Where´s the download link for ABI?

Thank you!
Alfredo Maranca

dlb
The ABI is embedded in your backup archive, in the /installation folder. Akeeba never has sufficient rights to create a database on a commercial server, only to restore tables and data to an existing database. You need to create your database manually before you start the restore. The database connection information that is displayed during the restore is from the backed up site. If you don't change that data, both sites are pointed to the same database. The easiest way to fix the problem is to create your new database and redo the restore of new site.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user9981
Hello,
I think this question is interesting...
How to replicate "automatically" the files and databases in others directory/database (already existing) on the same webserver?

nicholas
Akeeba Staff
Manager
What you are looking for is best achieved in the operating system level. You can use something like rsync to synchronize the files. regarding the databases, you can either pipe the output of mysqldump to the command-line mysql utility or - if you are on different servers - set up the second site's database as a slave and the first site's database as a master and have them automatically synchronize.

In theory you could create a CRON job which runs the backup on the source site, transfers the backup archive to the destination site and restore it. The restoration part requires a lot of custom code to be written, as you wouldn't like to fire up a browser during that step. It's too much of a hassle to set up and not a very cheap solution either (because of all the custom development required).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!