all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service
@ 2022-11-10 18:07 Maxim Cournoyer
  2022-11-10 19:29 ` Maxim Cournoyer
  2023-11-26 21:55 ` Felix Lechner via Bug reports for GNU Guix
  0 siblings, 2 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-11-10 18:07 UTC (permalink / raw)
  To: 59180

Hi,

Currently, the sync of issues with MUMI happen via a manually launched
rsync (by rekado).  We should properly configure it in the berlin.scm
configuration file, so that it sticks after a reboot.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service
  2022-11-10 18:07 bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service Maxim Cournoyer
@ 2022-11-10 19:29 ` Maxim Cournoyer
  2023-11-26 21:55 ` Felix Lechner via Bug reports for GNU Guix
  1 sibling, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-11-10 19:29 UTC (permalink / raw)
  To: 59180

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hi,
>
> Currently, the sync of issues with MUMI happen via a manually launched
> rsync (by rekado).  We should properly configure it in the berlin.scm
> configuration file, so that it sticks after a reboot.

From Ricardo:

  We need the service to read a secret from a file, set an env var
  (RSYNC_PASSWORD), and then keep doing this:

    timeout --kill-after 5m 1h rsync --delete -av
  
-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service
  2022-11-10 18:07 bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service Maxim Cournoyer
  2022-11-10 19:29 ` Maxim Cournoyer
@ 2023-11-26 21:55 ` Felix Lechner via Bug reports for GNU Guix
  2024-02-01 18:38   ` Maxim Cournoyer
  1 sibling, 1 reply; 5+ messages in thread
From: Felix Lechner via Bug reports for GNU Guix @ 2023-11-26 21:55 UTC (permalink / raw)
  To: 59180; +Cc: Maxim Cournoyer

Hi Maxim,

Here is rsync service I use [1] in case that's helpful.

Kind regards
Felix

[1]
https://codeberg.org/lechner/system-config/src/commit/bf38906f52526d9d8a2bb92489b3bd51d0e7d713/host/wallace-server/operating-system.scm#L633-L651




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service
  2023-11-26 21:55 ` Felix Lechner via Bug reports for GNU Guix
@ 2024-02-01 18:38   ` Maxim Cournoyer
  2024-02-01 19:48     ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2024-02-01 18:38 UTC (permalink / raw)
  To: Felix Lechner; +Cc: 59180

Hi Felix,

Felix Lechner <felix.lechner@lease-up.com> writes:

> Hi Maxim,
>
> Here is rsync service I use [1] in case that's helpful.
>
> Kind regards
> Felix
>
> [1]
> https://codeberg.org/lechner/system-config/src/commit/bf38906f52526d9d8a2bb92489b3bd51d0e7d713/host/wallace-server/operating-system.scm#L633-L651

Thanks.

This is how it is manually started, peeking at top:

--8<---------------cut here---------------start------------->8---
bash -c while true; do timeout --kill-after 5m 1h rsync --delete -av debbugs-var@debbugs.gnu.org::var-lib-debbugs /var/mumi/data/; sleep 1; done
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service
  2024-02-01 18:38   ` Maxim Cournoyer
@ 2024-02-01 19:48     ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2024-02-01 19:48 UTC (permalink / raw)
  To: Felix Lechner; +Cc: Ricardo Wurmus, 59180-done

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hi Felix,
>
> Felix Lechner <felix.lechner@lease-up.com> writes:
>
>> Hi Maxim,
>>
>> Here is rsync service I use [1] in case that's helpful.
>>
>> Kind regards
>> Felix
>>
>> [1]
>> https://codeberg.org/lechner/system-config/src/commit/bf38906f52526d9d8a2bb92489b3bd51d0e7d713/host/wallace-server/operating-system.scm#L633-L651
>
> Thanks.
>
> This is how it is manually started, peeking at top:
>
> bash -c while true; do timeout --kill-after 5m 1h rsync --delete -av debbugs-var@debbugs.gnu.org::var-lib-debbugs /var/mumi/data/; sleep 1; done

I implemented the above reusing the shared mcron job almost as-is,
and it appears to work:

--8<---------------cut here---------------start------------->8---
2024-02-01 20:46:00 90211 Rsync Debbugs data: running...
2024-02-01 20:46:01 90211 Rsync Debbugs data: receiving incremental file list
2024-02-01 20:46:01 90211 Rsync Debbugs data: spool/
2024-02-01 20:46:01 90211 Rsync Debbugs data: spool/by-affects.idx
2024-02-01 20:46:01 90211 Rsync Debbugs data: spool/by-correspondent.idx
2024-02-01 20:46:02 90211 Rsync Debbugs data: spool/by-message-id.idx
2024-02-01 20:46:02 90211 Rsync Debbugs data: spool/by-owner.idx
2024-02-01 20:46:02 90211 Rsync Debbugs data: spool/by-package.idx
[...]
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/org-mode_tag.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/parted.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/parted_tag.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/sed.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/sed_tag.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/skribilo.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/skribilo_tag.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/vc-dwim.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/vc-dwim_tag.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/woodchuck.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: spool/rrd/woodchuck_tag.rrd
2024-02-01 20:46:36 90211 Rsync Debbugs data: www/db/
2024-02-01 20:46:39 90211 Rsync Debbugs data: www/db/ix/
2024-02-01 20:46:39 90211 Rsync Debbugs data: www/db/ix/zstamp.html
2024-02-01 20:46:40 90211 Rsync Debbugs data:
2024-02-01 20:46:40 90211 Rsync Debbugs data: sent 161,909 bytes  received 8,905,931 bytes  223,897.28 bytes/sec
2024-02-01 20:46:40 90211 Rsync Debbugs data: total size is 18,780,129,589  speedup is 2,071.07
2024-02-01 20:46:40 90211 Rsync Debbugs data: completed in 40.293s
--8<---------------cut here---------------end--------------->8---

Thanks a lot, Felix!

-- 
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-01 19:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-10 18:07 bug#59180: [berlin] configure mumi <- debbugs sync via an rsync service Maxim Cournoyer
2022-11-10 19:29 ` Maxim Cournoyer
2023-11-26 21:55 ` Felix Lechner via Bug reports for GNU Guix
2024-02-01 18:38   ` Maxim Cournoyer
2024-02-01 19:48     ` Maxim Cournoyer

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.