Subject: [bug#76169] home: Add home-restic-backup service.

From: paul <[email-masked]>
Date: Sat, 8 Mar 2025 18:39:58 +0100

Hi Ludo’,

On 3/8/25 17:42, Ludovic Courtès wrote:
> Giacomo Leidi <[email-masked]> skribis:
>
>> * gnu/services/backup.scm (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 directories for timers logs.
>> * gnu/home/services/backup.scm: New file.
>> * gnu/local.mk: Add this.
>> * doc/guix.texi: Document this.
>>
>> Change-Id: Ied1c0a5756b715fba176a0e42ea154246089e6be
> Hi!  It LGTM, but it doesn’t apply on top of
> a8db2cb547f93f915726eae8ebae7646a4361094:
It is because this patch depends on changes to the restic-guix command 
from issue #72803 revision 8, I'm sending a rebased patchset (v6) which 
will apply on top of current master 
(be49b0f4435cf1d9275cbbc9cac3a84fa4478ff9) but is additionally including 
changes from #72803.

The dependency is due to the additional features introduced by #72803, 
which are required in the home service to correctly run backups.

Please let me know if I can clarify further, thank you for your work!

giacomo