This is the mail archive of the
mailing list for the Cygwin project.
Restoring Cygwin Backups with Symbolic Links
- From: Dan Plassche <dplassche at gmail dot com>
- To: "cygwin at sourceware dot org" <cygwin at sourceware dot org>
- Date: Sat, 7 Sep 2013 11:34:10 -0400
- Subject: Restoring Cygwin Backups with Symbolic Links
- Authentication-results: sourceware.org; auth=none
I use GNU tar from Gnuwin32 to backup my Cygwin installation on
Windows 7, but restoring breaks symbolic links. The same problem
appears with bsdtar from gnuwin using a posix archive format.
The restored link files contain the destination if you open them in an
editor, but no they longer appear as symbolic links to the filesystem
(e.g. with ls -l). For example, /etc/alternatives becomes a set of
The only solutions I've found are to either dereference the links with
tar -h or to reinstall all previously installed packages using the
Cygwin installer. The installer is able to pickup what I have
installed, so I can just click the global reinstall, but I feel like
there must be a better way.
I'd appreciate suggestions for alternatives or pointers to fixing the
issue with tar.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple