Support

Akeeba Backup for Joomla!

#40802 how to transfer a joomla site on a temporary domain to a final domain

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
4.4.6
PHP version
8.2
Akeeba Backup version
last version

Latest post by nicholas on Friday, 07 June 2024 06:42 CDT

[email protected]

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

 

 

Hi,

we have created a new site in joomla 4.4.6 for a my client on a temporary field on a my public domain and now we have to update php on 8.2 e trasfer this site approved on the final public domain destination (host and db MYSQL are not the same).

(The old one was in joomla 3 and phph 5.2)

How can we do in the right mode ?

Can you support and suggest any other information to do in the best way.

Many thanks

 

 

ing A.Nicoloso

[email protected]

nicholas
Akeeba Staff
Manager

Here's what I would do (and have done in the past).

IMPORTANT! Make sure you have noted down the database connection information of your current live site. You WILL need it.

Set your dev site to Site Offline -> Yes in Global Configuration.

Take a backup. Let's call this NEW_SITE_BACKUP.

Set your live site to Site Offline -> Yes in Global Configuration.

Take a backup of the live site. Let's call this OLD_SITE_BACKUP.

Download the OLD_SITE_BACKUP and keep it somewhere safe. It's your insurance policy if things go wrong.

Upload NEW_SITE_BACKUP and kickstart.php into the new site.

Delete all files and folders from the live site, except for the NEW_SITE_BACKUP and kickstart.php.

Run kickstart.php on the new site and go through with the restoration. In the database page remember to select Existing Tables -> Drop Same Prefix. Also remember on that page to enter the database connection information (remember when I told you to make sure you have noted this information down?) including the same database table name prefix you previously had in your live site.

When the restoration is over, log into the new live site, go to Global Configuration and set Site Offline to No. Click on Save & Close.

Key takeaway: when going from Joomla! 3 to 4 (or vice versa) you must delete all files and folders, and use Existing Tables -> Drop Same Prefix (keeping the same database table name prefix) to ensure that all traces of the previous major version of Joomla are wiped out during restoration of the one in your backup archive.

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!