Support

Akeeba Backup for Joomla!

#37488 swiss-backup

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
PHP version
7.4
Akeeba Backup version
9.2.4

Latest post by nicholas on Wednesday, 20 July 2022 13:58 CDT

HDcms

Hello

For information, in my tests, I could not use the free version of https://www.infomaniak.com/en/swiss-backup
Here is their answer:
"this plugin is made for Keystone (identity) v2, part of the API deprecated since 2018 in favor of V3.
You can find the code in administrator/components/com_akeebabackup/engine/Postproc/Connector/Swift.php, function authenticate()
Infomaniak only uses version 3 of Keystone for the Swift protocol.
Put another way, this plugin is not compatible with the Swiss Backup solution."

Regards

nicholas
Akeeba Staff
Manager

That's correct, the generic Swift implementation only has Keystone v2 support. We have only added Keystone v3 support to our OVH implementation (administrator/components/com_akeebabackup/engine/Postproc/Connector/Ovh.php) which extends the generic Swift implementation as we could not find a generic third party OpenStack service with Keystone v3.

As far as I can see it should be fairly easy to add Keystone v3 support. All we need is two new options, one to choose the Keystone version (v2 or v3) and one to set the Keystone v3 Domain which in most cases, and in the case of the service you are interested in, is simply β€œdefault”. We already have the actual authentication code in the OVH implementation, we can just copy it over. I will work on this tomorrow morning and let you know as soon as I have a dev release for you to test.

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!

HDcms

Hi

No urgency.I will rather adopt the backup on a nextcloud maybe also on the next offer of OVH!
But if it can be useful to others!?

Regards

nicholas
Akeeba Staff
Manager

It actually took me 10' to write the code yesterday and 5' to test it. It took me the better part of 5 hours trying to get OpenStack's DevStack working on a virtual machine because their documentation is conflicting and byzantine at best. Now I have a DevStack running with OpenStack Yogi on both of my development machines (an M1 Mac mini and an Intel i5 Ubuntu-based laptop), confirming that the code works.

You can find the new development version at https://www.akeeba.com/download/akeebabackuppro-dev/9-3-0-dev202207200921-rev1c47c33.html

If you need this code for Joomla 3 please let me know, I will have to build a dev release for it (I have not done so yet; the link I sent you is just for Joomla 4).

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!

HDcms

Hi,

I'm not sure how well remote storage has worked. I haven't touched the settings for a while. I'll send it to you if there is a wrong setting
Normally I go on vacation tomorrow and come back on 8/08. I will be able to spend more time that day

Β 

HDcms

re

HDcms

re

nicholas
Akeeba Staff
Manager

WARNING |20220720 13:24:34|Error received from the post-processing engine:
WARNING |20220720 13:24:34|<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> \n <title>404 Not Found</title> \n <h1>Not Found</h1> \n <p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p> \n

You have not entered the correct authentication URL. If you are given a URL with /v3 or /v3/auth please remove these from the URL. In your case this is https://swiss-backup.infomaniak.com/identity  This is a new option so you did not know about it.

The Project ID you have entered is wrong. You have given the project name, not the project ID. Please ask your remote storage provider for the project ID. Unfortunately the documentation of your storage provider does not show its management interface so it's impossible for me to know if they display it or not. Either way, this is already documented. 

The container URL is wrong. You have entered the container name, not the URL. A URL includes a protocol, hostname and path, not just a path. This is already documented. It is probably something like https://swift01-api.cloud.infomaniak.ch/YOUR_PROJECT_NAME_HERE/YOUR_CONTAINER_NAME HERE. If unsure, ask your storage provider.

The directory is wrong. You have entered the container name, not a path inside the container. This is already documented.

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!