unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Skyler <skyvine@protonmail.com>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org
Subject: Re: to save my Guix System installation
Date: Wed, 24 May 2023 01:09:23 +0000	[thread overview]
Message-ID: <CZp4sO8VTSZN3Vu1W3ux_uuZtRDxbvWm-dpFkCcNT7yjPp2WCaEDtyQXb3x0z_YaGChwEPOnyMVeACum8SvajJQ28PME5ugejrkDc4-8Do8=@protonmail.com> (raw)
In-Reply-To: <53dd5997-4e78-3e5c-a621-54283701d424@posteo.de>

If you declared all your packages in the file that contains your operating-system definition then you can just save that file and point a new guix installation towards it to restore your configuration. If you've run imperative commands (for example, `guix install some-package`) then you'll need to record those separately, `guix package -I` will list all of the packages that you've installed imperatively. I'm not sure about other imperative actions, I'm obsessive about doing things declaratively exactly because it makes this kind of situation easy to deal with (I have a habit of bungling up my machines and needing to install them fresh). If you can share more details about how you have configured your guix system then I might be able to offer more specific advice.

Of course, this will do nothing to save your data, if you have data documents or other files in your home directory that are not system configuration then those will need to be saved separately in either case.

Sincerely,
Skyler

------- Original Message -------
On Tuesday, May 23rd, 2023 at 3:50 AM, Gottfried <gottfried@posteo.de> wrote:


> Hi,
> 
> I have on one harddisk Guix installed,
> on a second harddisk GNUinOS.
> 
> I want to reinstall GNUinOS
> 
> and may be later on the same harddisk,
> on which Guix resides, reduce the size of the harddisk
> and install Trisquel on a second partition on it.
> 
> To be on the save side
> I would like to copy... my Guix to a separate harddisk
> in order not to loose it.
> 
> So that I can in the worst case replace it/I don’t know what to call it
> 
> What are the options.
> 
> I was reading the cookbook, but the procedure is not clear to me.
> 
> What are the commands to copy/replicate my Guix System installation
> to an external harddisk (via USB connected) and later in case
> recopy it.
> 
> 
> Kind regards
> 
> Gottfried


  parent reply	other threads:[~2023-05-24 14:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23 10:50 to save my Guix System installation Gottfried
2023-05-23 16:32 ` pelzflorian (Florian Pelz)
2023-05-23 17:17   ` Felix Lechner via
2023-05-24 16:16     ` Gottfried
2023-05-24 16:38       ` Felix Lechner via
2023-05-25  0:35     ` Maxim Cournoyer
2023-05-25  9:39       ` pelzflorian (Florian Pelz)
2023-05-25  9:42         ` pelzflorian (Florian Pelz)
2023-05-24  1:09 ` Skyler [this message]
2023-05-24 22:28   ` Soren Stoutner via

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='CZp4sO8VTSZN3Vu1W3ux_uuZtRDxbvWm-dpFkCcNT7yjPp2WCaEDtyQXb3x0z_YaGChwEPOnyMVeACum8SvajJQ28PME5ugejrkDc4-8Do8=@protonmail.com' \
    --to=skyvine@protonmail.com \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.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).