It seems to me that tar on windows does not understand directory symbolic links - it treats them as an ordinary folders which in my case leads to infinite recursion. 7-zip has the same problem. Are you aware of any free tool that can simply backup directory with symlinks pointing to parent directory and then restore it on another machine? Both machines are Windows machines: Windows Server 2008 and Windows Server 2012.

1 Answer 1


Use -h option for tar, e.g.

tar hcf archive.tar directory
gzip archive.tar

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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