Flaw with Recovery of Files/Folders Containing Apostrophes
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?

- Log in to post comments

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.
- Log in to post comments
