X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7182A3858D20
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=tw8zvv6NSKJNuPezlymKgF8Hj0bk4yHyWxAyOCmhywI=;
 b=B36+CFok1SAIONTFEeiFKYkHAKnnEAI8KN8ekZ0i4nksaXpKDE0gyGIQrftq+RrZTW
 lps2vhmV39+gruovgqXRAMHMbMRFBj3/PseVk9hzSmP8Ol1YxJ/nAXLOioZN7yKZ3Bp5
 bdJqtnhZ7QHBPtqGRm1ScA0TMv/T1GKhlPzRsL0SNbhVyGrXmRL4piWuBvO/mKdiPecd
 ZydlQLFx6NE+f2adlcBOvz9x6zdOhVMhUkxjIWkxmEl6BiNLqWx96ouItjpOFON+/+Aj
 ViHE0dty26l4QukYOAHfoWzT5O8KkePY12HrtxOOuWyuYP7d9iZXm3Vo6eTwsOrT7Bb6
 otbw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=tw8zvv6NSKJNuPezlymKgF8Hj0bk4yHyWxAyOCmhywI=;
 b=LIqQ3+wPLz3DWzBvuPoRUNjsMq+oDiseI0xEM22fzRLDpJG3pCGcbKgFMGTiGmUrYc
 m3UYPZsJ1VzLfRIk7IR8RCvQNQ8tWSsLa9FFXiuqejdckgyYX8mvShhznMbXLxYGpoA9
 aBqN/ctdHD7ZhEy9w0pz0P+K62t7+iYXEr6pF7ZXcuElbjJ/XUBcfKj80dhoOCYj44NE
 Sjc4gx34Wo+8pPfSByr6YCOoiu9/7EQthRP2HBaxMvniBJ+kQNVAu3mOa8kODBsHEBg7
 8XVeZtNZEZiyzbeJ4yjHa39kqFS00VPYe9vHQ476ylWG6bnR4q9yNib76WD3kF5citCt
 YL4g==
X-Gm-Message-State: AOAM533lZ4mBagogf7KFemUg4rMUlbuuSEFU478d9fsa9TZHzhqtBMVA
 WbM6Ai3RUfk7i6FLLoMjjqqYWq4QO1VhQzAyvJY=
X-Google-Smtp-Source: ABdhPJzFj4IpDrMBfkc+QK9h95Zjevtgq/T+TFm62zqJL0GVSO4p3xAQuYH5OZuUlKW4dusasSgYVp9MIMBEEndr2bc=
X-Received: by 2002:a05:6870:5301:: with SMTP id
 j1mr413333oan.185.1643970430735; 
 Fri, 04 Feb 2022 02:27:10 -0800 (PST)
MIME-Version: 1.0
References: <CA+GYywCd49GJLAGYJrKbwizZxAW+LwLB0S9SpieqwRyEikVEVw@mail.gmail.com>
In-Reply-To: <CA+GYywCd49GJLAGYJrKbwizZxAW+LwLB0S9SpieqwRyEikVEVw@mail.gmail.com>
From: Russell VT <russellvt@gmail.com>
Date: Fri, 4 Feb 2022 02:26:55 -0800
Message-ID: <CANV2+nXEFQYQw5FU1M-mqQnFCk28_nWYRg0fwm5VAm-EN6yWxw@mail.gmail.com>
Subject: Re: Switch to a new PC
To: Vanda Vodkamilkevich <vanda.vodkamilkevich@gmail.com>
X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

This is "a religious" question, as there are many different "sworn" ways to
do it.

The "old reliable" method, if you have both filesystems available... at
least off the top of my head...

cd / ; tar -cvf - / | (cd /path/to/other/disk ; tar -xvfp -)


There are also many other solutions using things like cpio and dd... and
technically, you can probably even do a "cp -pr /source /dest" or similar.
There are also better "purist" methods using setup to save the current list
of packages, and then pipe that to a new setup to install those same
packages, all from the command line (it's probably "the best," but you'll
have to reconfigure everything, too)

Hope that gives you a few different starting points to play with...

R VT



On Fri, Feb 4, 2022 at 2:10 AM Vanda Vodkamilkevich <
vanda.vodkamilkevich@gmail.com> wrote:

> Hi guys,
>
> Probably a known issue (I remember on this list some trick using the
> installed.db file) but I want to backup my whole cygwin tree (on a network
> drive) before switching PC and without losing anything... What is the best
> method / tool?
> (currently trying with FreeFileSync but it is excluding files in a strange
> way...)
>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>


-- 
Russell M. Van Tassell <russellvt@gmail.com>

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