Support

Akeeba Backup for Joomla!

#26162 Off-site Directories Inclusion results in 404 error

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 Tuesday, 20 September 2016 01:20 CDT

VesperaWeb
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 2Mb, please upload it on your server and post a link to it.

Description of my issue:

I am checking out the capabilities of using the Off-site Directories feature. I created a Site Files Only profile that excludes ALL files under the website root, and uses Off-site Directories Inclusion to backup a single file in a single directory that is in [ROOTPARENT]. The log indicates that this is indeed the only file included in the backup. When I do a restore, the specified new directory and subdirectory are created, and the file is placed in them as specified, but when I click on [Run restoration script] it tries to load [SITEROOT]/installation/index.php in a new browser tab, which results in a 404 error.

This is not blocking me, but I thought you would want to know.

TIA,
Christina

nicholas
Akeeba Staff
Manager
You are creating a Site Files Only backup archive. Please read the documentation.

At this point it should be fairly obvious that the Site Files Only backup archive does NOT include a restoration script in the backup archive as designed and documented. Remember that the restoration script is included in the archive's "installation" directory. Since the Site Files Only backup archive lacks a restoration script there is no "installation" directory.

Furthermore, as Kickstart itself tells you when it starts up, it is a tool to extract any kind of JPA, JPS or ZIP backup archives. It merely extracts the file. It DOES NOT know what is the structure of the extracted file, how it was produced etc. After the extraction it will always display the "Run the restoration" link which always open a window to the static relative URL "installation/index.php". Of course you clicking on that button will only make sense if you are extracting either a full site backup archive taken with Akeeba Backup or a Joomla installation ZIP file. In any other case there is no "installation" directory being extracted so, naturally, trying to visit that URL will lead to 404.

Therefore what you are describing is the intended result of the combination of settings you have applied and actions you have taken. It is completely unrelated to using off-site folders inclusion. Any Site Files Only backup archive will NOT include an installation directory by definition. If you want to include a restoration script (the "installation" folder) please use a Full Site 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!