all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: dian_cecht@zoho.com
Cc: help-guix@gnu.org
Subject: Re: Backing up a GuixSD system? rsnapshot doesn't seem to like the store.
Date: Sun, 05 Mar 2017 16:27:14 -0800	[thread overview]
Message-ID: <87pohv2qsd.fsf@gmail.com> (raw)
In-Reply-To: <20170223103255.3574cd7d@khaalida> (dian cecht's message of "Thu, 23 Feb 2017 10:33:12 -0800")

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

<dian_cecht@zoho.com> 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.

-- 
Chris

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

  parent reply	other threads:[~2017-03-06  0:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 18:33 Backing up a GuixSD system? rsnapshot doesn't seem to like the store dian_cecht
2017-03-02 12:56 ` Ricardo Wurmus
2017-03-02 13:06   ` dian_cecht
2017-03-02 14:13     ` Ricardo Wurmus
2017-03-06  0:27 ` Chris Marusich [this message]
2017-03-06  0:53   ` Leo Famulari

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

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

  git send-email \
    --in-reply-to=87pohv2qsd.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=dian_cecht@zoho.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.