Support

Akeeba Backup for Joomla!

#17267 set $session_handler and $cache_handler using UNiTE

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 Monday, 02 September 2013 09:44 CDT

user13612
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.14
PHP version: 5.3.2
MySQL version: 5.1.70
Host: CloudVPS
Akeeba Backup version: 3.7.10

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:

Is it possible to set the $session_handler and $cache_handler using UNiTE using the XML script for the configuration.php? On our live site we use caching and on the restored site we don't.

Thanks, Ebo Eppenga

nicholas
Akeeba Staff
Manager
It is not possible, but there is a workaround. You can create a ZIP file with the fine tuned configuration.php and use the extra files feature of UNiTE to restore it on top of your site. This is what I am using for restoring our site's backup on the testing server. I am currently on vacation. If you do not understand what I mean let me know and I'll give you a better example as soon as I am in front of my computer. I don't have access to my customised restoration on the iPad I am using to type this reply.

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!

user13612
Dear Nicholas,

Of course, didn't think of that, later I thought I could also do it in a bit of shell scripting as well, but this solution I prefer.

Kind regards,

Ebo Eppenga
Marketing
Exact

user13612
Dear Nicholas,

There is one important issue with the ZIP files in the <extrafiles>, once the ZIPs are processed they are deleted by UNiTE. Tried to switch it off with <delete>0</delete> or <deletePackage>0</deletePackage> but that doesn't work.

Kind regards,

Ebo Eppenga
Marketing
Exact

nicholas
Akeeba Staff
Manager
Hm, yes, that is correct. These files are always deleted. You could solve that with a little of shell scripting, e.g.
#!/bin/sh
cp inbox/configuration_template.zip inbox/configuration.zip
php ./unite.php


Where configuration.zip is the name of the ZIP file you want to use.

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!