Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 30 Jan 2004 14:12:42 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dk AT artimi DOT com>
cc: Charles Plager <cplager+cygwin AT physics DOT ucla DOT edu>, cygwin AT cygwin DOT com
Subject: RE: Backing up my Cygwin installation
In-Reply-To: <NUTMEGN8yxdZjfNLnly00000089@NUTMEG.CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.56.0401301404400.20527@slinky.cs.nyu.edu>
References: <NUTMEGN8yxdZjfNLnly00000089 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 30 Jan 2004, Dave Korn wrote:

> > -----Original Message-----
> > From: cygwin-owner On Behalf Of Charles Plager
>
> > missing a perl dll and that re-installing would help).  After
> > all of this, I said "**** it" and started a new cygwin installation.
> >
> >       My question now is how do I backup up my cygwin
> > installation.  If I make a copy of all of c:\cygwin, is it
> > good enough to just delete the current c:\cygwin directory
> > and restore the backup?
>
>   That'll work more-or-less fine, although I can think of a couple of other
> places where cygwin keeps persistent state that you'd probably want to
> backup at the same time:
>
> 1) The download directory where the package setup utility stores its records
> of what's where and all its downloaded packages.

There's no need to back up the local package directory, unless you want
access to older versions of binary and source packages.  The installed
package state is stored in /etc/setup.

> 2) The cygwin registry entries under HKCU/Software/Cygnus Solutions/Cygwin
> and HKLM/......etc.....

FWIW, the recommended way to back up your mount information is to save the
output of "mount -m" into a .bat or a .sh file and run it afterwards
(after a "umount -A").  I can see how this could become a problem for
automatic back-up software, though.
	Igor

>   If you were to backup a consistent set of those, a simple restore should
> get everything back exactly how it was.
>
>     cheers,
>       DaveK

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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