From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E08A5158091 for ; Mon, 20 Jun 2022 05:02:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9BC8E09DC; Mon, 20 Jun 2022 05:02:30 +0000 (UTC) Received: from icp-osb-irony-out4.external.iinet.net.au (icp-osb-irony-out4.external.iinet.net.au [203.59.1.220]) by pigeon.gentoo.org (Postfix) with ESMTP id 43BF5E09A6 for ; Mon, 20 Jun 2022 05:02:27 +0000 (UTC) IronPort-SDR: oHwJrlEcO6tFFZXUvyWsM7M91TcexITihUpC52JKo1A848cgz/7tRX9T0GqQ67uQFojkN7c4us 4+kPEI3PL7/NNC23p6oDQfHadiZN9L0Wk23vgu33I5bcuHGbt/zWkMKTww7j5qno+N10cNCFLb +rXeBQqcPC3ibbcrTrOxy6obs7tUOd5tX5DdASEiKjRR5Sf/t+jPTVk79Mjf0pzQkoOvg822lc ZrmyGSrhDNIlTQMR4tr4ruKn5CIxsdHHH8hxUAi0lLZbqcyo01gUnQljlD7One/LLjZy3hjq7j SjA= X-SMTP-MATCH: 0 X-IPAS-Result: =?us-ascii?q?A2DMAgAJ/69i/ylZ69xaHAEBAQEBAQcBARIBAQQEAQFJg?= =?us-ascii?q?UaBfIMAhE6RDAOLF5NQCwEBAQEBAQEBAQlCBAEBhQMChUomOBMBAgQBAQEBA?= =?us-ascii?q?wIDAQEHAQEBBQEBAQEBAQYDAYEchS9GhkMBAQEDI1EVCxgqAgIhNhkZgmSCZ?= =?us-ascii?q?gMwrQEaNXqBMYEBhyUNZ4FlgT2EZIE5gSsBhyxDgUlEgRUnDAMNgmc+giCBX?= =?us-ascii?q?iQBASCDV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0vHyhXjBklVGov5IG/neGmWSd15CoarI5YOeiSshTgkGf4 3/d8n7RBhABKMfZxjeD7nWrwOjVkkvGtJk6Tufgs6Qx3RjDlylPUVsaRF39oPi/h1L4Xd9Db UUJksYzkZUPGIWQZoGVd3WFTLSs7050twZ4ewHi1Dyw9w== IronPort-HdrOrdr: A9a23:ogmzDquH8i4O9xCJMk6jIQhQ7skC64Mji2hC6mlwRA09TyXGra 2TdaUgvyMc1gx7ZJh5o6HnBEDyewKkyXcV2/hmAV7GZmXbUQSTXeVfBOfZogEIeBeOv9K1t5 0QFJSWYeeYZTcVsS+Q2njaLz9U+qjjzEnev5a9854Cd2FXQpAlyz08JheQE0VwSgUDL4E+Do Cg6s1OoCflUWgLb+ygb0N1FNTrlpnurtbLcBQGDxko5E2lljWz8oP3FBCew1M3Ty5P+7E/6m LI+jaJrJlL8svLhyM05VWjoKi+q+GRhOerw/b8y/T9Hw+cxjpAor4RG4Fq8gpF491Ho2xa6O Uk6y1QRPibrUmhNl1d6CGdoTXIwXIg7WTvxkSfhmamqcvlRCgiA84Eno5BdADFgnBQye2U/Z g7rF5xjaAnfy8oXR6NmeTgRlVvjA65sHAimekcgzhWVpYfcqZYqcga8FlOGJkNESrm4MR/ed Mee/309bJTaxeXfnrZtm5gzJilWWkyBA6PRgwHttaO2zZbkXhlxw8TxdAZnH0H6JUhIqM0k9 jsI+BtjvVDX8UWZaVyCKMIRta2EHXERVbWPGebMT3cZdE60rL22u/KCZkOlZ2XkcYzveYPcb z6ISxliVI= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.92,306,1650902400"; d="scan'208,217";a="374018350" Received: from 220-235-89-41.dyn.iinet.net.au (HELO mail.infra.localdomain) ([220.235.89.41]) by icp-osb-irony-out4.iinet.net.au with ESMTP; 20 Jun 2022 13:01:51 +0800 Received: from localhost (mail.infra.localdomain [127.0.0.1]) by mail.infra.localdomain (Postfix) with ESMTP id 530705F for ; Mon, 20 Jun 2022 13:01:48 +0800 (AWST) X-Virus-Scanned: amavisd-new at localdomain Received: from mail.infra.localdomain ([127.0.0.1]) by localhost (mail.infra.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lQQlrOAs0coc for ; Mon, 20 Jun 2022 13:01:38 +0800 (AWST) Date: Mon, 20 Jun 2022 13:01:36 +0800 From: Bill Kenworthy To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Reinstall User-Agent: K-9 Mail for Android In-Reply-To: References: <9002850.rMLUfLXkoz@lenovo.localdomain> Message-ID: <7A7CE64E-1CEE-4566-BA0E-E963B67189BC@iinet.net.au> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----75B5N5J7EB9FCRUXYPMJJGKZAPQH9G Content-Transfer-Encoding: 7bit X-Archives-Salt: ac9ee4d6-44a1-4424-9b09-b3e1f9656695 X-Archives-Hash: 9f9213748a42cd105ef11b1048a2fdf1 ------75B5N5J7EB9FCRUXYPMJJGKZAPQH9G Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I suggest either taking a full dd|bzip2 style backup of the hardisk to remo= vable media for the simplest reinstall=2E Compliment with borgbackup or de= rvish for space efficient backups to capture more recent changes=2E Reinst= all is the reverse =2E=2E lay down the dd image update from the backups wi= th rsync=2E No need to get caught in messy install routines that will take= a lot longer with an uncertain outcome=2E I have a few arm systems and se= em to be doing it at least once a month as the sdcards reach their end of l= ife=2E=20 BillK On 20 June 2022 2:26:27 am AWST, Francisco Ares wrote= : >Em dom=2E, 19 de jun=2E de 2022 =C3=A0s 14:33, Michael > escreveu: >> >> On Sunday, 19 June 2022 18:22:34 BST Grant Edwards wrote: >> > On 2022-06-19, Francisco Ares wrote: >> > > Just for the sake of preventing a future failure, besides personal >> > > files (minimum and obvious) the "world" file and the binary package= s, >> > > built along with the package installation, what else should I backu= p >> > > so that I would be able to quickly restore the same full working >> > > Gentoo in a new hardware without having to work from stage3 up? The >> > > portage tree is one of those items, for sure=2E But what else? >> > >> > Make a backup copy of everything under /etc=2E >> > >> > I used to try to backup individual /etc/=2E=2E=2E files that I would = need, >> > but I always forgot something=2E >> > >> > -- >> > Grant >> >> Yes, besides /var/lib/portage/world and /etc/ you may also want to back= up >> your /boot and kernel config, assuming the hardware (MoBo & peripherals= ) is the >> same (same drivers)=2E I wouldn't bother backing up portage, a resync = will >> download it afresh=2E You might want to save /distfiles if you're on a= slow >> Internet link, but it has to be a copy of the current versions, otherwi= se the >> latest version of each package source will have to be downloaded anyway= =2E >> >> If you're running databases you'll also want to keep a backup of the >> respective /var/lib/*sql directory and if you're running a webserver /v= ar/www/ >> * - but you would be aware of the need to keep a fresh backup of all th= is data >> anyway=2E > >Also good point, one can always do a "make oldconfig" on a new kernel >to recover specific tweaks=2E > >Regarding backing up the portage tree, the binary packages won't do >much if the last sync is, say, one or two months old or even worse if >older=2E To use "emerge -K" one must have the same package version built >in the binary package as the one present in portage=2E That's what I'm >facing right now, it seems my binary packages won't be so helpful >after all - I'm beginning to think I'll have to go back to stage-3=2E=2E= =2E > >Thanks! >Francisco > --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------75B5N5J7EB9FCRUXYPMJJGKZAPQH9G Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I suggest either taking a full dd|bzip2 style back= up of the hardisk to removable media for the simplest reinstall=2E Complim= ent with borgbackup or dervish for space efficient backups to capture more = recent changes=2E Reinstall is the reverse =2E=2E lay down the dd image u= pdate from the backups with rsync=2E No need to get caught in messy instal= l routines that will take a lot longer with an uncertain outcome=2E I have= a few arm systems and seem to be doing it at least once a month as the sdc= ards reach their end of life=2E
BillK


On 20 June 2022 2:26:27 am AWST, Francisco Ares <frares@gmail=2Ecom= > wrote:
Em dom=2E, 19 de jun=2E de 2022 =C3=A0s=
 14:33, Michael
<confabulate@kintzios=2Ecom> escreveu:

On Sunday, 19 June 2022 18:22= :34 BST Grant Edwards wrote:
On 2022-06-19, Francisco Ares <frares@gmail=2Ecom> wrote:
Just for the sake of prevent= ing a future failure, besides personal
files (minimum and obvious) the "= world" file and the binary packages,
built along with the package instal= lation, what else should I backup
so that I would be able to quickly res= tore the same full working
Gentoo in a new hardware without having to wo= rk from stage3 up? The
portage tree is one of those items, for sure=2E B= ut what else?

Make a backup copy of everything under /= etc=2E

I used to try to backup individual /etc/=2E=2E=2E files that= I would need,
but I always forgot something=2E

--
Grant

Yes, besides /var/lib/portage/world and /etc/ you may al= so want to back up
your /boot and kernel config, assuming the hardware = (MoBo & peripherals) is the
same (same drivers)=2E I wouldn't both= er backing up portage, a resync will
download it afresh=2E You might w= ant to save /distfiles if you're on a slow
Internet link, but it has to= be a copy of the current versions, otherwise the
latest version of eac= h package source will have to be downloaded anyway=2E

If you're run= ning databases you'll also want to keep a backup of the
respective /var= /lib/*sql directory and if you're running a webserver /var/www/
* - but= you would be aware of the need to keep a fresh backup of all this data
= anyway=2E

Also good point, one can always do a "make o= ldconfig" on a new kernel
to recover specific tweaks=2E

Regarding= backing up the portage tree, the binary packages won't do
much if the l= ast sync is, say, one or two months old or even worse if
older=2E To use= "emerge -K" one must have the same package version built
in the binary = package as the one present in portage=2E That's what I'm
facing right no= w, it seems my binary packages won't be so helpful
after all - I'm begin= ning to think I'll have to go back to stage-3=2E=2E=2E

Thanks!
Fr= ancisco

--
Sent from my Android device with K= -9 Mail=2E Please excuse my brevity=2E
------75B5N5J7EB9FCRUXYPMJJGKZAPQH9G--