Support

Site Restoration

#31035 extraction space in name

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
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by toffffe on Thursday, 07 March 2019 10:20 CST

toffffe
Hello I'm having a problem because akeeba extract block as soon as it encounters a named pdf file with a space instead of a dash. However, I checked the box to ignore errors but it blocks all the same.
How can I avoid his problems, thanks in advance

nicholas
Akeeba Staff
Manager
Spaces in names are definitely not the problem. Most likely you have a backup taken on a Linux server and you're trying to restore it on Windows. There are a few things which could affect the ability of the operating system to write to the file. I'd like to clarify that Kickstart does NOT (and can not) create the file. Kickstart asks PHP which asks the Operating System. Whether a file is created or not is not controlled by the code we have written. It's not even controlled by PHP itself. It is 100% up to the Operating System you are using.

So here are some factors in play:

Does the path contain invalid characters? Linux is far more permissive in which characters can be used in the name of a directory or a file. Windows, not so much. Things like questions marks, dollar signs etc are invalid under Windows but valid under Linux. If such characters are present anywhere in the directory or file name Windows cannot create the file.

Is the path length over 250 characters? This is the full path, including the drive name e.g. c:\foo\bar\baz\bat\your_site\some\long\path\to\your file.pdf. If that's longer than 250 characters Windows won't create the file and report a failure.

These are all restrictions of the operating system. There is nothing we can do at backup or restoration time. Anything we would do would change the name and path of files which would lose or modify information on your site. Therefore it would no longer be a true backup of your site.

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!

toffffe
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!