delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/07/11:43:56

X-Recipient: archive-cygwin AT delorie DOT 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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=uz6pELNjWJaZYEYMObceN9TJTz2kqH6cKIqR6c8j+KH
D0KnVh5rTn6Z8D57ufNwxi9DaFqj0dlx6hq1JGRTndUbEjWje04dFSNg1I18K/iK
xxRpsNAbAh6eNEAwOeeoGfxixeb1kL0U5UJ2VN4UxllOiG9MY3TxCgx13T94pKY4
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=SrLh8fyo/guQwAH0er3Kdmh6COY=; b=SHMjLyY0B0yHU2z33
x+2TufDPfOHt/+ERFCwANp+BVZKQo0PC+zWmp5+wQGSCPvR1vUaE7gb2/z2oQvdm
a5BYk6VYqWbfvAszdoHjG+KzZBOch4pFK9MbH1wqqD7zmjqfjqcSC3El7YJI6gxS
CDBaByn02tkMwXpw4U3MUSvGkc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_PGP_INLINE,KHOP_THREADED autolearn=ham version=3.3.2
X-HELO: mail-lb0-f177.google.com
X-Received: by 10.152.36.98 with SMTP id p2mr7489854laj.14.1378568618265; Sat, 07 Sep 2013 08:43:38 -0700 (PDT)
Message-ID: <522B499E.4030200@gmail.com>
Date: Sat, 07 Sep 2013 19:43:26 +0400
From: LRN <lrn1986 AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Thunderbird/26.0a1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Restoring Cygwin Backups with Symbolic Links
References: <CAOD8YqrnDLbmFJNbxFQp5-y0AGZRKy2Ysye8Z3p0AhugcoT=fQ AT mail DOT gmail DOT com>
In-Reply-To: <CAOD8YqrnDLbmFJNbxFQp5-y0AGZRKy2Ysye8Z3p0AhugcoT=fQ@mail.gmail.com>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.09.2013 19:34, Dan Plassche wrote:
> 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.

Use Cygwin tar to make backups and use Cygwin tar to restore them.
Which means that you have to keep a minimal Cygwin tar installation
(cygwin dll, tar, probably a compression program and their dependencies)
around.

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJSK0mdAAoJEOs4Jb6SI2Cwm4sIAMKPqoDQLYcgAYPCRKl++Fue
zuW5VAeMt+iRCFsPhRl9qG6f/2mRQ4P8AMLuQrvc92S5eK3WzCDVb8GUzuEs0fxx
gjTn5LQh7cpHEgIVoOWpKwlL3FiP+4X7i2uVJwSswxTizQx8bNu42jzh09T3OUgA
haIcPw87pyiKxE6K5MQEoS24kO5bnQlfrx2AnT0809hZqUULagEQoYFQs5KJCfbJ
mF2OYWBF9a1Yjp7kdjokimV9DekFzxxs0QgO/7MeomxX2rsB8hznRzeujEtPLYWy
TR1m7fYJPmVxFeHQ/JSOhGik2bdYzpwl2uSzmZP+zqrsvOB7Ipy2zdaq6L2paMc=
=xPo5
-----END PGP SIGNATURE-----

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019