Support

Akeeba Backup for Joomla!

#8865 some filenames can't be extracted

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 Thursday, 19 May 2011 16:26 CDT

Comenius
This came from running kickstart.php with a .jpa file:

An error occured

Could not open C:/wamp/apache/htdocs/esljw/dev/images/stories/jbuploads/resumes/20110518120544MLS Resume - 5:18:11 (Abbrev.).rtf for writing.

Using Akeeba Backup Professional 3.2.7 (2011-04-17)

Comenius
Tried backing up the same site with .zip and then recovering with kickstart.php and got the same error.

Backup took place on a Unix host, recovery on a Windows host.

nicholas
Akeeba Staff
Manager
This is of course very reasonable. You are trying to extract a package on Windows. The filename contains a colon (:) which is an valid filename character on Linux but invalid on Windows. The only workaround is to use Akeeba eXtract Wizard and leave its "Ignore most errors" option checked.

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!

nicholas
Akeeba Staff
Manager
Clarification: The name of the file inside the backup archive that you mention in your first post contains a colon (which is an invalid character), not the name of the backup archive itself.

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!

Comenius
Yes, I understand. But could the kickstart.php logic be modified to handle it some way as well?

nicholas
Akeeba Staff
Manager
Since this problem can happen only when migrating from Linux to Windows, there is no reason to do that. This kind of transfer only happens when moving from a live to a local host. On local machines you can always use Akeeba eXtract Wizard which is 3-5 times faster than Kickstart, especially on archives with tons of files.

While modifying Kickstart itself would be possible, that would cause more problems than it would solve. Running in a web context, Kickstart has no way to determine if a write error happened because the file contains invalid characters, the host's disk quota is depleted, an operating system level error occurred or you just lack adequate permissions to write to the file. This option would lead to partially extracted backup archives reporting no error, which would subsequently lead to restoration errors. That has the potential of creating an avalanche of support requests from users believing that it was Akeeba Backup that didn't take a complete backup, not realising it was them who chose an inappropriate option for their restoration scenario. Debugging those issues over the support forum is impossible (we'd need hands-on support). That would increase the support workload and chew away the time available for developing new features, let alone it would mislead users into believing that Akeeba Backup is unstable.

So, no, I will not implement such a feature in Kickstart. If you bump into the same problem as you did, we have already documented it in our Troubleshooter Wizard and the suggested workaround is to use Akeeba eXtract Wizard. It's a lossy procedure (the file with the invalid name will not extract) but it's way much better than not being able to extract the backup archive at all :)

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!

Comenius
Sounds good, I understand and agree. I appreciate your help! :)

nicholas
Akeeba Staff
Manager
You're welcome!

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!