delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/13/07:49:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 13 Nov 2009 13:48:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Can you clone entire cygwin setup from one pc to another
Message-ID: <20091113124856.GS26238@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <26333733 DOT post AT talk DOT nabble DOT com> <26333860 DOT post AT talk DOT nabble DOT com> <20091113101115 DOT GN26238 AT calimero DOT vinschen DOT de> <26335899 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <26335899.post@talk.nabble.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Nov 13 04:31, aputerguy wrote:
> 
> Corinna VInschen writes:
> > For exakt cloning including ACLs, I would suggest to use robocopy.  Yes,
> > it's a native tool, but it's sort of a swiss army knife to do exactly
> > that job.  You don't need to copy the registry entries.
> 
> Thanks Corinna!
> 
> When you say that I don't "need" to copy the registry entries, what do I do
> then to copy over the services?

Uh, I was only thinking of the Cygwin-specific registry keys.  Oh, and
I'm only talking about Cygwin 1.7.  For Cygwin 1.5 you have to duplicate
the registry mount points using `mount -m'.

For the service, you should reinstall them the official way using the
config scripts.  You can't just copy the service registry keys and
expect the target SCM to know about them.  SCM doesn't accept services
which aren't installed via SCM, or at least are available when the
system starts up.  So, at least, If you really copy these registry
entries, you must reboot the machine afterwards.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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