This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Restoring Cygwin Backups with Symbolic Links


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]