X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=jPbbayfqxc5ezehAK8mVJd9/ePCVd
	uzqaKVi/Qp/wBm9fY3Xe5ATz8J0Dhwjq49bQniq1qaHC3psWbHkgwxNWA61aN+pp
	O9TQN9RHgfzbDgjwz8/XGP528QCIdMQ/6CmArxLvHyzqMzgafMyBRCjD8F7mkRom
	2Bo5ader2KR3PY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=G8iRQMcqCLfiqq/n5APgY507hoM=; b=pbR
	3WLVodpMHWZU91Z4wZdG49Guj9HmgNtLCcApQDqA0ImkhWihLH4YjeOkl8zmOk6h
	QYrIMq9E0Um8XXITdILk1N+Yg1vyL7PrtkY7aml6664xPZHpbyNExOUI7WJFsbYu
	vxz1LCemCpnws2pHifIA2CfOBKl8TE03loJJir5A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.50.40.6 with SMTP id t6mr2449868igk.32.1378568050496; Sat, 07 Sep 2013 08:34:10 -0700 (PDT)
Date: Sat, 7 Sep 2013 11:34:10 -0400
Message-ID: <CAOD8YqrnDLbmFJNbxFQp5-y0AGZRKy2Ysye8Z3p0AhugcoT=fQ@mail.gmail.com>
Subject: Restoring Cygwin Backups with Symbolic Links
From: Dan Plassche <dplassche@gmail.com>
To: "cygwin@sourceware.org" <cygwin@sourceware.org>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

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
text files.

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.


Thanks,

Dan Plassche

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

