Data Backup Conundrum

Jun 15, 2025 Last reply: 1 year ago 3 Replies

In my attempts to ensure I didn't lose any data after my server stopped running I put 4 x 2 TB SSDs from the server in a QNAP USB3 DAS.



I then backed up my data from my main PC to two of the SSDs using SmartSync Pro, which has been my backup app for years.



It is set up to copy over all new/updated files but ignore Recycle Bin and System Volume Information.



My data is on the D drive at D:\Data if that is relevant.



I left it running, it took much longer than I expected and after it was finished I saw it had managed to convert the relatively small 43 GB of data on the source drive into over 800 GB of data on the destination!



On inspection it seems to have recursively copied the Data directory into itself nearly 20 times and then changed the destination directory name from "DB-JGMAIN" to "Data".



The "desktop.ini" file contains "LocalizedResourceName=Data" which is standard when you tell Windows to keep data elsewhere than in the user directory.



I have used this backup app for donkeys years, it has always copied all files including "desktop.ini" and always been 100% accurate.



I then amended it to exclude "desktop.ini" and it ran perfectly.



So conspiracy theories territory, why on earth did it do this? Has MSFT update Win 10 to take more notice of "desktop.ini"?


I have no idea what you've done.

But here is a thread on the topic.

formatting link
Usually, when something happens recursively, it's related to Junction Points.

formatting link
junction -s c:\ # This will take longer than it should to run. allusers contains a trap.

junction -s c:\ > output.txt # Store in a file for post-processing.

But the thing you have triggered, seems to be a unique second mechanism. Triggered by attempting to rename something in File Explorer, which might actually be under a Junction. While File Explorer seems to be able to deal with $FileName resources, it's unclear whether there is any intelligent handling of attempts to rename Junctions. Hardlinks should be OK, as they're implemented as multiple $FileName and should be edit-able.

In any case, parse the above thread and write us a summary of what worked and why it worked :-) What you've discovered, this would completely escape any utilities I have. I would not know one of those was present !

Paul

ISTR the localized name thing is more intended to allow the default folder names like "Desktop" to be rendered in international characters. Desktop.ini can also contain other links to apps needed for preview.

I expect it is more likely to be the backup program not understanding a junction or hardlink... I have also seen cases where software gets confused if you mount partitions into part of a existing directory hierarchy (i.e. *nix style). Things like failing to account for the storage requirements of the grafted partition when assessing size of the tree it is grafted into.

I once had a floppy disc with a faulty filing system. One directory contained a directory link to itself. This had very bad consequences when I tried a recursive directory listing.

John

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required