Support

Site Restoration

#37239 Problem restoring from an S3 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
7.4.3
CMS Type
Joomla!
CMS Version
3.10.9
Backup Tool Version
Akeeba Backup Professional 8.1
Kickstart version
n/a

Latest post by nicholas on Monday, 06 June 2022 09:21 CDT

Fondazione

See attached images.

THis happens after I select a backup downloaded from S3 bucket - when I try to restore it.

Fondazione

Added one more info.

 

Debug information

Exception type: Error

#0 /home/..../public_html/administrator/components/com_akeeba/BackupEngine/Postproc/Connector/S3v4/Connector.php(199): Akeeba\Engine\Postproc\Connector\S3v4\Request->getResponse()
#1 /home/..../public_html/administrator/components/com_akeeba/Model/S3Import.php(318): Akeeba\Engine\Postproc\Connector\S3v4\Connector->getObject('mytestmedia1', 'backup/S3-site-...', '/home/simmetria...', 0, 1048575)
#2 /home/..../public_html/administrator/components/com_akeeba/Controller/S3Import.php(95): Akeeba\Backup\Admin\Model\S3Import->downloadToServer()
#3 /home/..../public_html/libraries/fof40/Controller/Controller.php(433): Akeeba\Backup\Admin\Controller\S3Import->dltoserver()
#4 /home/..../public_html/administrator/components/com_akeeba/Controller/Mixin/PredefinedTaskList.php(41): FOF40\Controller\Controller->execute('dltoserver')
#5 /home/..../public_html/libraries/fof40/Dispatcher/Dispatcher.php(178): Akeeba\Backup\Admin\Controller\S3Import->execute('dltoserver')
#6 /home/..../public_html/administrator/components/com_akeeba/akeeba.php(59): FOF40\Dispatcher\Dispatcher->dispatch()
#7 /home/..../public_html/libraries/src/Component/ComponentHelper.php(402): require_once('/home/simme.....')
#8 /home/..../public_html/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/simmetria...')
#9 /home/..../public_html/libraries/src/Application/AdministratorApplication.php(101): Joomla\CMS\Component\ComponentHelper::renderComponent('com_akeeba')
#10 /home/..../public_html/libraries/src/Application/AdministratorApplication.php(159): Joomla\CMS\Application\AdministratorApplication->dispatch()
#11 /home/..../public_html/libraries/src/Application/CMSApplication.php(225): Joomla\CMS\Application\AdministratorApplication->doExecute()
#12 /home/..../public_html/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute()
#13 {main}

nicholas
Akeeba Staff
Manager

The problem seems to be that the download fails (that's indeed a bug). Then you try to extract the partially downloaded backup archive which also fails as expected. Since the partial contents of the installation directory are extracted you try to proceed with the restoration which of course fails as it's missing everything that's needed to actually work.

Temporary workaround:

  • Download the backup archive files from S3 manually and put them in your site's root. 
  • Download Kickstart, extract its ZIP file and upload kickstart.php to your site's root.
  • Run Kickstart from your site's root to extract the backup archive and proceed with the restoration.

 

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!

Fondazione

I prefer to wait fot the official solution.

Manual procedure is quite clear to me.

This is used by me - when I need to restore production site to TEST site.

I need a most automatic procedure.

Can you tell me when (how many time do you need)  a solution will be generally available ?

THX

nicholas
Akeeba Staff
Manager

A new release is expected next week

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!