delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/04/05:53:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E490D3858D20
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Message-ID: <1c710a38-0f55-e150-ea6d-83ce8de48557@towo.net>
Date: Fri, 4 Feb 2022 11:52:18 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Subject: Re: Switch to a new PC
To: cygwin AT cygwin DOT com
References: <CA+GYywCd49GJLAGYJrKbwizZxAW+LwLB0S9SpieqwRyEikVEVw AT mail DOT gmail DOT com>
<CANV2+nXEFQYQw5FU1M-mqQnFCk28_nWYRg0fwm5VAm-EN6yWxw AT mail DOT gmail DOT com>
From: Thomas Wolff <towo AT towo DOT net>
In-Reply-To: <CANV2+nXEFQYQw5FU1M-mqQnFCk28_nWYRg0fwm5VAm-EN6yWxw@mail.gmail.com>
X-Provags-ID: V03:K1:ymRAJ2j/+3EwmP+EU0Mmmz28QrcXA07gJLwSWdSHnIpxbnWLfMI
MqmGMa+C5+qyk8E3G7B/YugqT1yaU7eLGk9m+Z8pG1AsopVlVBlWf/kmr9PjOJJW709e+VS
CsPUubQAqLEgCGMQlbsb4jGe6V6oaIE+qWxdztYF2EMd3dmMaTVh4tIkzP1uQNG7ejzk6jr
+MeVhRLk48cPXN23QR7MQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:URYEbTFUGBA=:g1tVJ+iPpeac4ZX+OoPK+I
JgyyKGkPOpGb/Nn7M2G7EE4ovRJG8Ap/s11dVXYCoKkzTUHAPIa9wYohTm7MrQC3FuooPuuix
tFpqcYQcgr5zP+0fvnzDZUoAfnMof9b2NzYmzxbl7bNAB3WRPvqyRCh7KjqjF9asjJZizIZsQ
9LWqGbuAnp7LIWsIPLI/CY/9Z4MGwyQwgEb0AM25PLrYgYFnmH9GdesChbvDo1Rct2pv6Cce/
70J760NHf6Y9tXka2nVRt55unRSeA/2pPoCa2ct1iwpQhR4erf3ZYL8r798+Kw7E5r3pIQ0/h
ZVUz7Lp6KVM9+EAF5Bfs6eWVWWFaSPfoLbHFF+nrHPIGKu0VDABqpwjpitiHUl+/7o5FEq8Yk
n+s63+YgtdyvPGxV+bJ9IfcvCGkcKy/REjhN30iQlOclUyKCCkLrtC3MtzAm1PxdK4UUMuUlH
Yg1EsP/yx++8ZPXCoGHvnA9B8VirpFk3U0Oq3k/QiZ1BIUSzb1q0PsmlMR6mkJSVODav3tzq1
Yu6HGHy18g0MXVbSMUUwm9hnNpBZLUnwVGTizb994+u7GsP+YxCG+z3kvK4qBhQgaOXZzJMEM
c0RamtmUW5Cz29lBWMy8phhT9mR7ncJJzPhlZmxaP9Bbltra5G+Ow1RAkEH4tiTGr+PZEKUVr
V0APLbQ4zfTpEhbpkW9uhoXuixsvf//El+5yw4PeJTA38pD6eeEIDvSOJps1vDCG9ZI0=
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Am 04.02.2022 um 11:26 schrieb Russell VT:
> 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...
I wouldn't expect most tools to work on special files in /dev. Even tar 
fails on /proc, it would begin to pack your local registry...
Make a basic installation on the new system, then sync the rest.
An even cleaner way might be to clone your installation via setup, using 
/etc/setup/installed.db - maybe someone has a script for that -
and then just sync the /home hierarchy.
Thomas

>
> R VT
>
>
>
> On Fri, Feb 4, 2022 at 2:10 AM Vanda Vodkamilkevich <
> vanda DOT vodkamilkevich AT gmail DOT 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
>>
>


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019