Support

Site Restoration

#33079 partly restore backup

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Sunday, 24 May 2020 23:34 CDT

waitz
I need to do a partial restoration of a joomla backup that is done with Akeeba. That is: I need to restore and replace the files and db tables for one joomla component (com_mijoshop) from a backup I have.
Is there a way to do this with Akeeba? Thank you, Rajan Waitz

nicholas
Akeeba Staff
Manager
Yes, but not directly.

First restore the entire site on a server you run on your computer or a different domain.

Then create a new backup profile which excludes everything you'd like to NOT restore on the live site.

Take a new backup. This is a partial backup.

Restore the backup on your live server, using the same database connection information as the live site.

When you reach the Site Setup stage -- STOP. Close the window, delete the installation folder, kickstart.php and your partial backup archive from the site's root.

That's all there is to it.

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!

waitz
Great, that sounds pretty straight forward. So just to be sure of the order: I restore the partial backup on top of my live site, so that I keep my live site, but renew (=overwrite parts of it) it with the partial backup, correct?

Thank you Nicholas

nicholas
Akeeba Staff
Manager
That is correct.

Restoring a backup will, by default, only add new or overwrite existing data from the backup. It will NOT remove any data on your site which doesn't exist in the backup. I was the stupid user who lost his data because he didn't pay attention to the defaults some 17 years ago. That's how I ended up being interested in backups and writing my own backup software :)

If you are unsure you can always do a local test – in fact, I recommend it. After you have your partial backup keep it to the side. Restore the latest full site backup on your local server. Now restore the partial backup on top. If you spot any problems you have missed something when making the partial backup.

This is the same process we use when launching major changes to our site, e.g. a site redesign, menu restructiring or a major upgrade to one of the extensions that power the site.

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!

waitz
Ah, fantastic Nicholas. Perfect.
Well, I am grateful for the mistake you did 17 years go, because you have really brought quality and reliability into securing website backups. Thank you for all the years I have subscribed to your component! It has saved me several times!!

nicholas
Akeeba Staff
Manager
Thank you for your kind words :)

Have an awesome day!

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!