unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Marco van Hulten <marco@hulten.org>, help-guix@gnu.org
Subject: Re: protect generations
Date: Sun, 12 Jan 2020 00:50:09 +0100	[thread overview]
Message-ID: <87pnfpy2mm.fsf@devup.no> (raw)
In-Reply-To: <20200105224236.2e4fb9c2@jasniac.instanton>

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

Marco van Hulten <marco@hulten.org> writes:

> Hello—
>
> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      parent reply	other threads:[~2020-01-11 23:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 21:42 protect generations Marco van Hulten
2020-01-07 12:11 ` zimoun
2020-01-12 14:57   ` Marco van Hulten
2020-01-14 16:38     ` zimoun
2020-01-15  8:38       ` Efraim Flashner
2020-01-15 10:54         ` zimoun
2020-01-11 23:50 ` Marius Bakke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnfpy2mm.fsf@devup.no \
    --to=mbakke@fastmail.com \
    --cc=help-guix@gnu.org \
    --cc=marco@hulten.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).