From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Backing up a GuixSD system? rsnapshot doesn't seem to like the store. Date: Sun, 05 Mar 2017 16:27:14 -0800 Message-ID: <87pohv2qsd.fsf@gmail.com> References: <20170223103255.3574cd7d@khaalida> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckgUo-0001gh-KN for help-guix@gnu.org; Sun, 05 Mar 2017 19:27:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckgUl-0002lb-Ht for help-guix@gnu.org; Sun, 05 Mar 2017 19:27:26 -0500 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:35540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckgUl-0002kP-DN for help-guix@gnu.org; Sun, 05 Mar 2017 19:27:23 -0500 Received: by mail-pf0-x22b.google.com with SMTP id j5so53283593pfb.2 for ; Sun, 05 Mar 2017 16:27:20 -0800 (PST) In-Reply-To: <20170223103255.3574cd7d@khaalida> (dian cecht's message of "Thu, 23 Feb 2017 10:33:12 -0800") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: dian_cecht@zoho.com Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable writes: > Hello, > My normal backup software (rsnapshot) doesn't seem to play > terribly well with GuixSD because the software uses hardlinks for it's > deduplication, so I'm looking for alternatives (or someone to tell me > what needs to happen to get rsnapshot to backup /gnu/store without > issue). > > I'd prefer something that has data deduplication at the very least. Ah, backups! Always a fun topic, and always ripe for bike shedding... May I ask: why do you need to back up the store items? Depending on your use case, maybe it isn't actually necessary. For example, if you're just trying to back up personal, mutable state on your personal desktop for disaster recovery (that's my back-up use case: dot files, personal notes and documents, pictures, music, etc., all in my home directory), then there is little point in backing up store items. Backing up the operating system configuration file and a manifest of packages installed to my user profile is good enough for me. I can rebuild the system itself from the operating system configuration file, and I can just re-install the packages I had in my profile from the manifest, so it works great for me. I've recovered my system (i.e., totally re-installed GuixSD) a dozen times using this method, without too much hassle. It's not 100% reproducible, since if I install a tool today, don't update it for a month, and then recover my entire system from a backup, I might wind up installing a more recent version of the tool than I was using previously, but it's good enough for my use case. The data I really care about is all that mutable state in my home directory, which guix doesn't manage, so I don't really care much about what's in the store as long as I have the operating system configuration file and a manifest of packages I've installed to my profile. On the other hand, if you want a snapshot of the entire system, and you want to be able to recover it exactly as it looked in the past, that's another thing, and I'd have to do some research to find a good solution for that more stringent use case. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAli8rOIACgkQ3UCaFdgi Rp0MnQ//b6xo66xMi/q4cmGTtvbHiMmQYWBekBGLmQrifMBR07a3YJSxS2RBCsee P5wnewwgMPzyXk1IdV0v6Lgk00lvCpZnX38dzX3WPE3/ByQhDICjUsQkwJzcBtxx MlTvfiaujfmPZkMhw17nOCxg7A1IdcGT7cPA89jeZASKqJpjtAZ/zuEuFy0YixUV tqrwWhXFZVaBnN5eyIRlSMC5KGpICb0Ei9gDIogHKg+4jpNQuW+VVT4KxQKxLWpD BcEe2N3SpxlsbbVo4ZhDFQU7DsS9/KyqluI1/Xg6/fi18QlCsqCkpJ80hmIg+k/p QYBLPWHIeD6ECytEXRNkZ4Y1lgDCgdokdNXW0DOlsOElUO+j78nzCNK8OdBpKIOn 5QreriWGFC4rxaBNNWDKZU/0eMLffdsBcAjUFuhnKBWSg5eDSpvh2OVasJbC9TBc csbIVtV7wx9CsNe19sp7aq4VKFfv/HZOr83LNJ7L0jmCu/FJZRAt+ybu5UB7DEmG kx+JkalwwhUunp8s6ZwGIHTOISQRXNQXPSwfLatFhqBkJXvgq/6cbupc+IgN34gQ Y01nb0vtex4pC3NfVchcxHOpawarDZvIlJIjVS/FM+B3mf5cFQgxonKzufWw6n+w hGuHHXsKrlPS7A5er5TmlQOmE4qANHwCBodT40ctQfgoWk6WCgc= =f8Sx -----END PGP SIGNATURE----- --=-=-=--