* backup questions
@ 2018-08-06 22:05 Benjamin Slade
2018-08-06 22:59 ` Pierre Neidhardt
2018-08-06 23:57 ` Björn Höfling
0 siblings, 2 replies; 6+ messages in thread
From: Benjamin Slade @ 2018-08-06 22:05 UTC (permalink / raw)
To: help-guix@gnu.org
Two question relating to backup:
1) In terms of backing up GuixSD, which files do I need to worry about?
(setting aside local data and application settings and so)
So far, I'm backing up:
/etc/config.scm
/var/guix/profiles/
~/.config/
2) I don't seem to be able to install `libchip` (for chop-backup). It
seems to have no substitute binaries and the local build fails. I've
fallen back to using Borg backup for now (which seems good, but more
fragile than I'd like, especially in terms of setting up automated bash scripts).
--
Benjamin Slade - https://babbagefiles.xyz
`(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
`(Choose Linux ,(Choose Freedom) . https://linux.com )
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: backup questions
2018-08-06 22:05 backup questions Benjamin Slade
@ 2018-08-06 22:59 ` Pierre Neidhardt
2018-08-06 23:15 ` Benjamin Slade
2018-08-06 23:57 ` Björn Höfling
1 sibling, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2018-08-06 22:59 UTC (permalink / raw)
To: Benjamin Slade; +Cc: help-guix@gnu.org
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
1) If you don't want to keep generations you don't have to: then no need to save
/var/guix/profiles or ~/.config/guix.
I personally skip them and only keep the formatted output of `guix package
--list-installed` under version control.
Note that /etc/config.scm can be stored anywhere, it does not have to be in
/etc/.
2) I don't use libchip, so I don't know. How does it fail? Can you provide the
backtrace?
Beside borg, other solutions include restic and duplicity.
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: backup questions
2018-08-06 22:59 ` Pierre Neidhardt
@ 2018-08-06 23:15 ` Benjamin Slade
0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Slade @ 2018-08-06 23:15 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix@gnu.org
On 2018-08-06T16:59:35-0600, Pierre Neidhardt <ambrevar@gmail.com> wrote:
> 1) If you don't want to keep generations you don't have to: then no need to save
> /var/guix/profiles or ~/.config/guix.
> I personally skip them and only keep the formatted output of `guix package
> --list-installed` under version control.
> Note that /etc/config.scm can be stored anywhere, it does not have to be in
> /etc/.
Thanks!
> 2) I don't use libchip, so I don't know. How does it fail? Can you provide the
> backtrace?
> Beside borg, other solutions include restic and duplicity.
Here is the tail-end+backtrace for `libchop`:
make[2]: Entering directory '/tmp/guix-build-libchop-0.5.2.drv-0/libchop-0.5.2/src'
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O2 -MT libchop_la-chop.lo -MD -MP -MF .deps/libchop_la-chop.Tpo -c -o libchop_la-chop.lo `test -f 'chop.c' || echo './'`chop.c
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O2 -MT libchop_la-logs.lo -MD -MP -MF .deps/libchop_la-logs.Tpo -c -o libchop_la-logs.lo `test -f 'logs.c' || echo './'`logs.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O2 -MT libchop_la-chop.lo -MD -MP -MF .deps/libchop_la-chop.Tpo -c chop.c -fPIC -DPIC -o .libs/libchop_la-chop.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include/chop -I../include -I../include -I../lib -I../lib -DGCRYPT_NO_MPI_MACROS -DGCRYPT_NO_DEPRECATED -I/gnu/store/dysmb6hz7rr5rvcb05p23dazc5hz26qm-libgcrypt-1.8.2/include -I/gnu/store/a5rd4sqyljb9gs58z9hq4kswqmxa45nr-libgpg-error-1.28/include -Wcast-align -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -g -O2 -MT libchop_la-logs.lo -MD -MP -MF .deps/libchop_la-logs.Tpo -c logs.c -fPIC -DPIC -o .libs/libchop_la-logs.o
In file included from chop.c:545:0:
class-lookup.c:115:1: error: conflicting types for 'chop_lookup_class_entry'
chop_lookup_class_entry (register const char *str, register size_t len)
^
chop.c:542:1: note: previous declaration of 'chop_lookup_class_entry' was here
chop_lookup_class_entry (const char *str, unsigned int len);
^
make[2]: *** [Makefile:1253: libchop_la-chop.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libchop_la-logs.Tpo .deps/libchop_la-logs.Plo
make[2]: Leaving directory '/tmp/guix-build-libchop-0.5.2.drv-0/libchop-0.5.2/src'
make[1]: *** [Makefile:1067: all] Error 2
make[1]: Leaving directory '/tmp/guix-build-libchop-0.5.2.drv-0/libchop-0.5.2/src'
make: *** [Makefile:981: all-recursive] Error 1
Backtrace:
4 (primitive-load "/gnu/store/hkq8dq0sz7ngb78qy62jnf3mvfp…")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
640:9 2 (for-each #<procedure 958ca0 at /gnu/store/f95ghy8mx00…> …)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
799:31 1 (_ _)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
616:6 0 (invoke _ . _)
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "2") exit-status: 2 term-signal: #f stop-signal: #f] 9c3f80>)'.
builder for `/gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv' failed with exit code 1
guix/store.scm:1052:15: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "build of `/gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv' failed" status: 100] 58248d0>)'.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
scheme@(emacs-guix) [2]> ,bt
In emacs-guix/actions.scm:
127:10 10 (process-package-actions "/var/guix/profiles/per-user/slade/guix-profile" #:install _ #:upgrade _ #:remove _ #:use-substitutes? _ # _)
In guix/ui.scm:
945:4 9 (show-manifest-transaction _ _ _ #:dry-run? _)
In srfi/srfi-1.scm:
628:19 8 (mapn ("libchop") (("0.5.2") ("out") (#<package libchop@0.5.2 gnu/packages/backup.scm:445 2f2d9c0>)) 1)
In guix/ui.scm:
950:23 7 (_ "libchop" "0.5.2" "out" _)
In guix/packages.scm:
1246:13 6 (package-output _ _ _ _)
881:14 5 (cache! #<weak-table 609/883> #<package libchop@0.5.2 gnu/packages/backup.scm:445 2f2d9c0> ("x86_64-linux" . #t) _)
In unknown file:
4 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/grafts.scm:
310:4 3 (graft-derivation #<build-daemon 256.97 6073960> #<derivation /gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv => /gnu/store…> …)
188:4 2 (references-oracle #<build-daemon 256.97 6073960> #<derivation /gnu/store/p97bahhn47pcl5gx68rwyzibivkrgmc3-libchop-0.5.2.drv => /gnu/store…>)
197:20 1 (_ _ _)
In guix/store.scm:
1052:15 0 (_ #<build-daemon 256.97 6073960> _ _)
scheme@(emacs-guix) [2]>
> --
> Pierre Neidhardt
--
Benjamin Slade - https://babbagefiles.xyz
`(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
`(Choose Linux ,(Choose Freedom) . https://linux.com )
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: backup questions
2018-08-06 22:05 backup questions Benjamin Slade
2018-08-06 22:59 ` Pierre Neidhardt
@ 2018-08-06 23:57 ` Björn Höfling
2018-08-19 22:53 ` Björn Höfling
1 sibling, 1 reply; 6+ messages in thread
From: Björn Höfling @ 2018-08-06 23:57 UTC (permalink / raw)
To: Benjamin Slade; +Cc: help-guix@gnu.org
[-- Attachment #1: Type: text/plain, Size: 795 bytes --]
Hi Ben,
On Mon, 06 Aug 2018 16:05:28 -0600
Benjamin Slade <beoram@gmail.com> wrote:
> Two question relating to backup:
>
[..]
> 2) I don't seem to be able to install `libchip` (for chop-backup). It
> seems to have no substitute binaries and the local build fails. I've
> fallen back to using Borg backup for now (which seems good, but more
> fragile than I'd like, especially in terms of setting up automated
> bash scripts).
This build fails since nearly two years! It seams like nobody is using
(and thus complaining) this software:
https://hydra.gnu.org/job/gnu/master/libchop-0.5.2.x86_64-linux/all
I opened a bug for this:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32382
Thanks for reporting. Do you have an idea on how to fix it?
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: backup questions
2018-08-06 23:57 ` Björn Höfling
@ 2018-08-19 22:53 ` Björn Höfling
2018-08-21 4:09 ` Benjamin Slade
0 siblings, 1 reply; 6+ messages in thread
From: Björn Höfling @ 2018-08-19 22:53 UTC (permalink / raw)
To: Benjamin Slade; +Cc: help-guix@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]
Hi Ben,
On Tue, 7 Aug 2018 01:57:08 +0200
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> wrote:
> Hi Ben,
>
> On Mon, 06 Aug 2018 16:05:28 -0600
> Benjamin Slade <beoram@gmail.com> wrote:
>
> > Two question relating to backup:
> >
>
> [..]
>
> > 2) I don't seem to be able to install `libchip` (for chop-backup).
> > It seems to have no substitute binaries and the local build fails.
> > I've fallen back to using Borg backup for now (which seems good,
> > but more fragile than I'd like, especially in terms of setting up
> > automated bash scripts).
>
>
> This build fails since nearly two years! It seams like nobody is using
> (and thus complaining) this software:
>
>
> https://hydra.gnu.org/job/gnu/master/libchop-0.5.2.x86_64-linux/all
>
> I opened a bug for this:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32382
>
> Thanks for reporting. Do you have an idea on how to fix it?
>
> Björn
Ludovic fixed the package, so if you do a
guix pull && guix package -i libchop
it should be working now.
But he also wrote that libchop is unmaintained (and what I didn't know:
he's the author :-)).
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: backup questions
2018-08-19 22:53 ` Björn Höfling
@ 2018-08-21 4:09 ` Benjamin Slade
0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Slade @ 2018-08-21 4:09 UTC (permalink / raw)
To: Björn Höfling; +Cc: help-guix@gnu.org
On 2018-08-19T16:53:56-0600, Björn Höfling <bjoern.hoefling@bjoernhoefling.de> wrote:
> Ludovic fixed the package, so if you do a guix pull && guix package
> -i libchop it should be working now. But he also wrote that libchop
> is unmaintained (and what I didn't know: he's the author :-)).
Thanks, Björn. I knew Ludovic was the author (I think it was connected
with his PhD research?) and am interested because of the use of Guile
(it would be nice to have a backup system that has a Lisp-type
interface). Thanks also for the warning about the unmaintainedness of
libchop (and indeed a very quick trial suggests it may not be working,
though I'll have to try more extensively).
—Ben
--
Benjamin Slade - https://babbagefiles.xyz
`(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
`(Choose Linux ,(Choose Freedom) . https://linux.com )
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-08-21 4:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-06 22:05 backup questions Benjamin Slade
2018-08-06 22:59 ` Pierre Neidhardt
2018-08-06 23:15 ` Benjamin Slade
2018-08-06 23:57 ` Björn Höfling
2018-08-19 22:53 ` Björn Höfling
2018-08-21 4:09 ` Benjamin Slade
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).