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.vodkamilkev...@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
--
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