From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: protect generations Date: Sun, 12 Jan 2020 00:50:09 +0100 Message-ID: <87pnfpy2mm.fsf@devup.no> References: <20200105224236.2e4fb9c2@jasniac.instanton> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59219) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqQWE-00067T-Oy for help-guix@gnu.org; Sat, 11 Jan 2020 18:50:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqQWD-0005mO-HU for help-guix@gnu.org; Sat, 11 Jan 2020 18:50:14 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:35113) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iqQWD-0005ip-8f for help-guix@gnu.org; Sat, 11 Jan 2020 18:50:13 -0500 In-Reply-To: <20200105224236.2e4fb9c2@jasniac.instanton> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Marco van Hulten , help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marco van Hulten writes: > Hello=E2=80=94 > > One of the great features of Guix is that one can roll back his > profile. But I did a garbage collection (gc) that was too aggressive > such that a relevant old profile disappeared. I presume this is gone > forever. > > Is it possible to lock certain generations (of certain users) such that > 'guix gc' would not touch it? There are AFAIK two ways in which 'guix gc' can delete "live" profiles: 1. you used the '-d' option, which deletes old profile generations, optionally filtering on age 2. the profile was inaccessible/invisible to gc (e.g. on a mounted drive that was unavailable) Do either of these scenarios ring a bell? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4aXzEACgkQoqBt8qM6 VPpHMQgAsQJ/0YfCHN0kZXCTcrtWp11JUk8j8nUeJZPQoqnZJ8iP51unECE1ftJp K6b80bxLcqx1o+fqs5XKXEWGCzx1y1HX9rEHvEba8NOxVjr9+7DRl+o6QPEbw58G eK0XlWaAzQx5Lao+b23sTuaSFEvZRcOKONQP7ql4FEodGaI9P0fi16atYfAQi0lP qrogSDyKbsmYbCA5qfVs4/LJLxxcW4XaH0EI4szK5E0kb6xDzhs2c6Pqjo/IoVkE LpUUOVD0jlPE39v38UejUpzELE/Ln/wUSbKETENEQOPuVPrrec2u8hZ4mRmmLL3D 5u8owFyY2yDlE0mNIPCRKJqNnbpXrg== =Qkhk -----END PGP SIGNATURE----- --=-=-=--