Skip to main content

Flaw with Recovery of Files/Folders Containing Apostrophes

Thread needs solution

I'm currently testing file recovery from a Windows Server VM backup.

By chance, one of the files I tried to recover was under a directory that had an apostrophe in the name.

I cannot download this file, any other file in the directory, multiple files in the directory, the entire directory, or multiple items in the parent directory.  I can download the entire parent directory.

Note, my replication steps haven't been tested exactly.  I was testing with real data and the steps below are for a simplified with fake file and directory names.

To replicate:

Create a Windows VM.
Create the following directory structure:
C:\TestDir1
C:\TestDir1\TestA.txt (add some content to it)
C:\TestDir1\TestZ.txt (add some content to it)
C:\TestDir1\TestDir'2\ (note the apostrophe)
C:\TestDir1\TestDir'2\TestA.txt (add some content to it)
C:\TestDir1\TestDir'2\TestZ.txt (add some content to it)

Create and run an entire VM backup for the VM.
Once it completes successfully, browse to the backup in the Backup Management Console, select it, click Show backups, Click Recover, click Files/folders.

Browse to C:\TestDir1\TestDir'2\.
Select TestA.txt then click Download.  You will get a 0 byte text file.
Select TestA.txt and TestZ.txt, then click Download.  You will get a 22 byte zip file with nothing in it.

Browse to C:\TestDir1\.
Select TestA.txt then click Download.  You will get the text file.
Select TestA.txt and TestZ.txt, then click Download.  You will get a zip file with the files in it.
Select TestDir'2 then click Download.  You will get a 22 byte zip file with nothing in it.  The apostrophe in the file name will be replaced with "'".
Select TestA.txt and TestZ.txt and TestDir'2, then click Download.  You will get a zip file TestA.txt in it, but nothing else.

Browse to C:\.
Select TestDir1 and click Download.  You will get a zip file with everything in it.

It seems the inclusion of the apostrophe is breaking things, and the behavior depends on the alphabetical ordering of items in a directory.  In the last failed test above, TestA.txt comes before TestDir'2 alphabetically, which comes before TestZ.txt, and TestA.txt is in the zip file but nothing else is.

Has anyone else encountered this issues with apostrophes?

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi Brian,

Thank you for the report. From what I've found we've fixed similar bug where folders/files names contained "&" (ampersand) symbol - this fix (internal bug ID: ABR-161579) is included into upcoming Acronis Backup 12.5 Update 3 (targeted for the next week or the week after that). However the issue with ampersand symbol may still persist and we will verify it separately with our QA and development teams.

The workaround would be to run actual file restore instead of downloading it as .zip. An alternative workaround would be to use "Run VM from backup"  feature to mount the VM from backup and retrieve files from it using native OS tools.

Thank you.

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Just got a note from our QA team: We were able to reproduce the problem with apostrophes on Acronis Backup 12.5 Update 3 builds (internal new bug ID: ABR-170640) and scheduled the fix for the next hotfix, e.g. Update 3 Hotfix 1 which is planned to be out until the end of this summer.

Thank you.