GNU bug report logs - #76169
home: Add home-restic-backup service.

Previous Next

Package: guix-patches;

Reported by: paul <goodoldpaul <at> autistici.org>

Date: Mon, 10 Feb 2025 00:06:01 UTC

Severity: normal

Tags: moreinfo

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #73 received at 76169 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Giacomo Leidi <goodoldpaul <at> autistici.org>
Cc: 76169 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Gabriel Wicki <gabriel <at> erlikon.ch>, Andrew Tropin <andrew <at> trop.in>,
 Hilton Chain <hako <at> ultrarare.space>, Tanguy Le Carrour <tanguy <at> bioneland.org>,
 Janneke Nieuwenhuizen <janneke <at> gnu.org>
Subject: Re: [bug#76169] [PATCH v8] home: Add home-restic-backup service.
Date: Mon, 12 May 2025 08:53:38 +0200
Hi,

Giacomo Leidi <goodoldpaul <at> autistici.org> writes:

> * gnu/services/backup.scm: Drop mcron obsolete export.
> (restic-backup-job-program): Generalize to restic-program.
> (lower-restic-backup-job): New procedure implementing a standard way to
> lower restic-backup-job records into lists.
> (restic-program): Implement general way to run restic commands, for
> example to initialize repositories.
> (restic-backup-configuration): Reimplement
> with (guix records).
> (restic-backup-job-{logfile,command,requirement,modules}): Add new
> procedures and add support for Guix Home environments.
> (restic-backup-job->shepherd-service): Add support for Guix Home
> environments.
> (restic-backup-service-activation): Drop procedure as now the Shepherd
> takes care of creating timers log file directories.
> (restic-backup-service-type): Drop profile and activation services extensions.
> * gnu/home/services/backup.scm: New file.
> * gnu/local.mk: Add this.
> * doc/guix.texi: Document this.
>
> Change-Id: Ied1c0a5756b715fba176a0e42ea154246089e6be

We must be getting closer, but…

--8<---------------cut here---------------start------------->8---
[ 94%] LOAD     gnu/home/services/backup.scm
;;; note: source file ./gnu/services/backup.scm
;;;       newer than compiled /home/ludo/src/guix/gnu/services/backup.go
;;; note: source file ./gnu/services/backup.scm
;;;       newer than compiled /home/ludo/src/guix/gnu/services/backup.go
ice-9/eval.scm:293:34: error: maybe-list-of-symbols?: unbound variable
[1;36mhint: [0mDid you forget a `use-modules' form?

make[2]: *** [Makefile:7696: make-system-go] Error 1
--8<---------------cut here---------------end--------------->8---

Could you take a look?

Ludo’.




This bug report was last modified 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.