Sorry for the not great title of this bug but I really can't think of a good way to describe what I'm seeing. I can also confirm that this does not happen in 1.7.6. After the fix for
XNAT-6715, I deleted a session (the session is a subset of the files from sample1) and then looked at the backup:
This looks fine at first glance, but take a look at the screenshot. What's actually happening is the "1.dcm", "2.dcm", "3.dcm" files are not the original DICOM files at all! Instead, each of those is actually a directory, containing the DICOM file with the same name (i.e. "1.dcm" contains the DICOM file "1.dcm"). This is highly confusing to anyone trying to actually restore their data.