X-Spam-Check-By: sourceware.org Message-ID: <46677607.8060700@cygwin.com> Date: Wed, 06 Jun 2007 23:05:43 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: replicating my cygwin install on a different machine References: <31b7d2790706061603i425caf0ag1444f17d47137675 AT mail DOT gmail DOT com> <20070606232538 DOT GA7576 AT trixie DOT casa DOT cgf DOT cx> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Jerome Fong wrote: > Christopher Faylor wrote: >> On Wed, Jun 06, 2007 at 06:03:22PM -0500, DePriest, Jason R. wrote: >>> On 6/6/07, Jerome Fong wrote: >>>> Hi There, >>>> >>>> I was wondering if there was a way to save and duplicate my cygwin >>>> installation so I can replicate it on a different machine. The idea >>>> is, >>>> I have scripts and programs developed and tested on my cygwin install. >>>> I want to be able to deploy everything that I am running on my machine. >>>> >>>> I'm not sure if the setup.exe will get me what I want since older >>>> versions of packages are not always readily available (dependent on the >>>> server). Also, I want to be able to provide the operations team with a >>>> zip file or some kind of installation package to replicate on each >>>> server. The idea is to avoid new downloads and use what I have until >>>> I need to upgrade. >>> Assuming you use the same drive letters and directory structure, you >>> can just zip up your cygwin data (preferably with something that can >>> maintain file permissions) and dump HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus >> >> I would not suggest using "zip" as the mechanism for backing up and >> restoring. As has been noted 10497 times in this mailing list Windows >> ZIP does not properly save the bits needed to recreate things like >> symlinks. >> >> And, we've also mentioned at least as many times that you DO NOT >> MANIPULATE >> THE REGISTRY DIRECTLY. Use "mount -m" to create a .bat file suitable for >> recreating the mount table. >> >> So, the proper way to do this is to copy cygwin1.dll, tar.exe, mount.exe >> to the other computer, in a temporary directory. Run the .bat file >> created by mount -m to recreate the mount table and use tar.exe to >> extract the tar ball created. > Sorry, I'm not sure what am I suppose to tar up? > How about the same stuff that you were suggested zipping up? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/