Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I back up folders containing symbolic links?

03 Mar 2018   #1
martinlest

Windows 7 Home Premium SP1 64-bit
 
 
How do I back up folders containing symbolic links?

Quote:
A symbolic link can be backed up as path information to a target directory, or it can be backed up as a directory.
Apparently...

I want to back up a (parent) folder & sub-folders which all contain symbolic links. I don't want to back up the target folders to which the links point (several TBs of data!), I want to back up the path information. There are some two thousand symbolic links in all, which I had to create individually (several hours of work!), so I am keen to have a copy of the parent folder (which contains many sub-folders and other files, apart from the links) in case of disaster.

When I try to back up (I tend to use XXCopy or Robocopy), I either get an error for the symlinks (MKDIR failed) - the rest of the info backs up OK - or the programme starts to back up the target folders.

I've been Googling this for ages now with no luck so far, so I hope someone here will be able to step in!

Thanks.


My System SpecsSystem Spec
.
03 Mar 2018   #2
martinlest

Windows 7 Home Premium SP1 64-bit
 
 

OK, odd thing. This is my basic XXCopy script:

XXCOPY "D:\Ortho4XP\Tiles" "N:\D-Ortho4XP Backup\Tiles"

When I run it once I get MKDIR failed for every folder. But if I run the same script again, once the first has finished, it then goes on to back up all the symlinks (the path data as I needed, not the target). Well, I can just run the script twice, but I wonder why it always fails on the first try?
My System SpecsSystem Spec
Reply

 How do I back up folders containing symbolic links?




Thread Tools




Similar help and support threads
Thread Forum
Windows Explorer does not follow Symbolic Links
I have several symbolic links (SYMLINKS) to php files. Until recently when I clicked on the symbolic link, Windows would follow the link and open the php file with an editor. Now it doesn't seem to follow the link in resolving the file extension: it asks me to "Choose the program you want to use...
General Discussion
Symbolic Links - Copying
Greetings, I have a large number of symbolic links (soft links) on my PC that I want to migrate to a new machine with an identical directory structure. When I use various backup or copy programs that clone files (bit copy), the symbolic links do not work on the target machine (they get...
General Discussion
Symbolic links, how can personal folders move-point to another drive
Hi friends! My question is about symbolic links (janction) One from the reasons to use them is when you are out of space, so you can move folders with a lot of data to another drive e.g music, videos etc... eg. mklink /j "C:\Users\Name\My music D:\Music, so that personal folders point...
Customization
A quick question about symbolic links
I read that when using symbolic links you shouldn't replace "Program Files" or "Program Files (x86)" with one because it can mess with OS upgrades, but does that apply to sub-folders inside "Progam Files" or "Program Files (x86)"? I ask this because I was planning on moving my OS onto and SSD and I...
General Discussion
Please help me set up symbolic links in Windows 7
Hi, I have thoughT about using symbolic links in my system for the data I store from my Android devices. I have read about it on internet and I understand that there are several ways to create them. Which way is the better one? The DOS method or the method using 3rd party applications? What are...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:25.
Twitter Facebook Google+