Compression tar.gz, problems with symbols and spaces in the name file?

Hello.

A little background for clarity.

Make Bitrix backup of its standard methods, but when unpacking comes the error that the archive is broken. Understand that the fact that someone developed before site reason urge files with the name like "name (21.03.13, 13%3A37).php" and then a space and a comma and percent sign there. On these files it works like an archive.

The question is, where to read below to understand why this is happening. I.e. when archiving tar.gz problems arise when he stumbles on such files with symbols and spaces, or the problem is purely with Bitrix, who faced tell what the matter is or tell me where to read on this subject?
July 9th 19 at 10:39
1 answer
July 9th 19 at 10:41
Honestly, this experience was not.
Well, first write a ticket to Bitrix.
Second alternatively you can create separate backups of files and database and try to restore. Not the fact that will work but for the sake of experiment - it is interesting.
Well, I hand-deleted all the files with spaces and characters they're work is not needed, then created a backup and unpacked it properly, but the time it took in 5 times more than usual. I wonder maybe there is something you can write in a field where you can exclude files by mask, so that their hands do not look, if the other suddenly such is. - Betsy_Turcotte commented on July 9th 19 at 10:44
To mask the exceptions, the following rules:

the mask pattern can contain characters'*', which match any number of any characters in the file name or folder.
if a leading slash ("/" or "\"), path is from the root of the site;
otherwise, the template is applied to each file or folder.

Examples of templates:
/content/photo - delete entire folder /content/photo;
*.zip - exclude files with the extension". zip";
.access.php - delete all files ".access.php";
/files/download/*.zip - exclude files with the extension "zip" in the directory /files/download;
/files/d*/*.ht* - exclude files from directories starting with "/files/d" extensions starting with "ht". - buddy_Jerde commented on July 9th 19 at 10:47
: What space is there to indicate, usually with a backslash and a space to write, to escape supposedly so "*\ *.php" is to exclude files with a space to write? - Betsy_Turcotte commented on July 9th 19 at 10:50

Find more questions by tags 1C-BitrixTar