Support

Akeeba Backup for Joomla!

#33285 Sync between production and dev websites

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 on Thursday, 23 July 2020 17:17 CDT

activha

Hello

Would it be possible to configure Akeeba Backup to be a sync engine between a production website and a beta website based on the same server.

I mean that we have a prod.html folder and a beta.html folder and we would like to periodically sync files from the prod to the beta in order to restore the beta state to prod.ย 

We have excluded some folders/files/tables and would like to know if it's also feasible to exclude all users from #__comprofilers and #__users except a few from staff and how.

Finally how would you suggest to do for this sync process ? Being on the same main server helps as we will not have any environment problems.

Thanks for helping

tampe125
Akeeba Staff

Hello,

the real problem here is the #__assets table. If there is anything tied to such table (ie menu, single item access etc etc), you run the risk to corrupt the table, resulting in your site being completely broken. I saw a couple of site with a broken assets table and you really  want to avoid that.

Merging sites is not for the faint of hearth and it's very error prone.

What I suggest is to create a test environment. In such environment you can install and try out new things. Once you're ready with the result, apply the same changes on the live site.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

activha

Hi

Thanks for the answer

Do you mean an offline test environment ?

Or a file sync via GitHub somewhere ? Could you give me an idea how you set things up ?

Thanks a lot

tampe125
Akeeba Staff

I mean a copy of your website. You take a backup, restore it in a test environment (locally, on another server, in a subfolder etc etc) and try out the new things.

Once you're done, you (manually) do the same things in the live one.

I know it's a bummer, but we have found out that this is the easiest and fastest way to do it

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

activha

Mmmm I was very afraid of this answer as this is what we do and would like to improve :-(

Thanks

tampe125
Akeeba Staff

I know, it's a bummer. Sadly having a central table holding everything means that if there are any troubles in there, your whole site would be broken, since it holds references to extensions, menus, modules etc etc.

On top of that, it's not a "regular" table, but it's a nested tree table, so things are even more complicated.

I'd strongly suggest you to get practiced in doing it manually, since it's way more robust and less error prone.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!