Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

Use -h option for tar, e.g.

tar hcf archive.tar directory
gzip archive.tar
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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