From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sF2bLm0gbmTPhAAASxT56A (envelope-from ) for ; Wed, 24 May 2023 16:34:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iJOnLW0gbmRgcgEAG6o9tA (envelope-from ) for ; Wed, 24 May 2023 16:34:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 65EC328467 for ; Wed, 24 May 2023 16:34:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1pYo-0004gw-Ed; Wed, 24 May 2023 10:33:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1d0V-0007Md-CE for help-guix@gnu.org; Tue, 23 May 2023 21:09:39 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1d0T-0000rR-87 for help-guix@gnu.org; Tue, 23 May 2023 21:09:39 -0400 Date: Wed, 24 May 2023 01:09:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1684890574; x=1685149774; bh=zh6KEEhtppn4HbMT0UoMHnNTboHWif6B+nGG0GK5mZQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=JZUAjNVqwO87LOaoOJPccVVpaYfgX7AUbRuNZ9CkzYW1fmOX0FYR/VKi59/DCr7Wz QtuR9hz9X4p5HvJqbQHnZUR6O5R32wfkcvwnrzDwkJORVkAdhUPteL06jdei0DzsJi UBnOKSjllrtUOS5hpFNAL0SvebgSOPopQZOMkHtZxWWwEGbmFK2h2NXab/HG6u0fWN 9Glpj4eADsV+kyU4fDbME7S5GhmQ56MCNckyi9TAqCI8vZaZ1Mmd7lKp67MClHIfW6 KxOGaIeYsbwROzVoYcL+1TpELXmEknuHg0EX+yvl/FNaEMaYHEOUJsAoLe3gv13NnZ ZAgy7iYoimbtA== To: Gottfried From: Skyler Cc: help-guix@gnu.org Subject: Re: to save my Guix System installation Message-ID: In-Reply-To: <53dd5997-4e78-3e5c-a621-54283701d424@posteo.de> References: <53dd5997-4e78-3e5c-a621-54283701d424@posteo.de> Feedback-ID: 40635331:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=skyvine@protonmail.com; helo=mail-40131.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 24 May 2023 10:33:52 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684938861; a=rsa-sha256; cv=none; b=lqZbqh6Uyq1vhEJNLHgu9ha9OlDqBUBXRSS+sytKyvgDdLJxGhxpEYInhIPGUBwVgtKnri az4Jy6NH+bHVKs/+zuFxe/Q39gbJYzgxZOcqF6zf9AN6pujeZUoL7/qtksYNAp32+F5ynH ojsdhDuoLHupbxfHmHRgR7V+n557jBLaZPTx5YZPXBMa8lpjYShdBCrfxk6qMGPMtaPP7C fTdMpKr7q+CYKXw24SBwt4oRMB4Gir/Rl144Klv4j+gLmzZDXZCxa7VEKNFv7pygDstaML JbdVMSUCm3UnWRt72+7ckyLZkpHMN8v6yicr3pqn+4HLqmqfXqQ+itTBpN9fxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=JZUAjNVq; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684938861; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zh6KEEhtppn4HbMT0UoMHnNTboHWif6B+nGG0GK5mZQ=; b=S2+copmulMPEZd1KeslxmYSDioynzxTP1tKdJ0uq68UjrMPIABmFG9EBPZThDJScYLKEOz FCIRXQ+zNS0hLHcP6ABzCrCcKHCryvnDks0v9mjaHbfLxyh+bBlJMu9jILzfXymPxYgIGG 8RTN26708hXqWscrVOiHuSFkHEdl+wxxk/UCCUllwYRpuXLd3q+VGI5uvFr+7+ctqmsPGU ObPrv4RIOIMlAN7jxOSKXQiipgpmIbW0FWIAfp93BDwbEY+l+QajS2y4AvSGFEKZ9aZJRI XJnNbbG8ZAO5dA3cmKEsYg2iK+ZGRDysXWlG5k/ETWXY9ukqOmWpYLUqqGykjA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=JZUAjNVq; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.32 X-Spam-Score: -6.32 X-Migadu-Queue-Id: 65EC328467 X-TUID: nTbvYA5sW2Yn 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 ins= tallation towards it to restore your configuration. If you've run imperativ= e commands (for example, `guix install some-package`) then you'll need to r= ecord those separately, `guix package -I` will list all of the packages tha= t you've installed imperatively. I'm not sure about other imperative action= s, 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 offe= r more specific advice. Of course, this will do nothing to save your data, if you have data documen= ts 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 wrot= e: > Hi, >=20 > I have on one harddisk Guix installed, > on a second harddisk GNUinOS. >=20 > I want to reinstall GNUinOS >=20 > 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. >=20 > To be on the save side > I would like to copy... my Guix to a separate harddisk > in order not to loose it. >=20 > So that I can in the worst case replace it/I don=E2=80=99t know what to c= all it >=20 > What are the options. >=20 > I was reading the cookbook, but the procedure is not clear to me. >=20 > What are the commands to copy/replicate my Guix System installation > to an external harddisk (via USB connected) and later in case > recopy it. >=20 >=20 > Kind regards >=20 > Gottfried