0

I have a backup solution which backs up a single folder of my hard disk. I want to "mount" files from various locations of my hard disk into this directory.

At first I tried creating symbolic links. However, when I restore the backed up folder on a different computer, it restores symbolic links that point to nowhere. Instead I would like to have the physical files restored where the original symbolic links pointed to.

With directories I can get this behavior by creating a junction instead of a symbolic link. Is there a kind of "file junction" in Windows as well?

  • You may want to look at this utility. Link Shell Extension. I have no affiliation with the app or author. schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html – Hefewe1zen Sep 24 at 23:43
  • I second @Hefewe1zen I use the link shell extension almost every day. You can do this stuff using the mklink command line utility but why bother? – Señor CMasMas Sep 24 at 23:54
  • DOUGH! I forgot to help you! :) .. check out this post. It has lots of nifty chart showing the different options you have. There are quite a few. You should scroll through all of the posts.. there are many nice charts there. – Señor CMasMas Sep 24 at 23:56
0

NTFS doesn't support "file junctions", the "directory junctions" it does support are implemented as "reparse points" on the filesystem level and don't support files.

Your backup solution is not traversing symbolic links and is instead copying the links themselves--and that's the real problem. You may need to change the configuration of your backup solution or find another solution. Robocopy, for example, to my understanding will traverse symbolic links like folders and copy the contents thereof, unless you tell it not to (with /SL or /XJF).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.