Incident de sauvegarde sur gardefou #6

Closed
opened 2023-10-16 14:53:30 +02:00 by neox · 0 comments
Owner

En faisant un tour sur mother, détection d'un problème de sauvegarde :

$ admin666@mother:~$ systemctl status | head -2
● mother
    State: degraded

$ admin666@mother:~$ systemctl list-units |grep -i failed
● borgmatic.service  loaded failed failed    borgmatic backup

$ admin666@mother:~$ systemctl status borgmatic.service 
● borgmatic.service - borgmatic backup
     Loaded: loaded (/lib/systemd/system/borgmatic.service; static)
     Active: failed (Result: exit-code) since Sun 2023-06-04 00:51:32 CEST; 19h ago
TriggeredBy: ● borgmatic.timer
       Docs: https://torsion.org/borgmatic/
    Process: 481374 ExecStartPre=sleep 1m (code=exited, status=0/SUCCESS)
    Process: 481596 ExecStart=systemd-inhibit --who=borgmatic --what=sleep:shutdown --why=Prevent interrupting scheduled backup /usr/bin/borgmatic create --verbosity -1 --syslog-verbosity 1 (code=exited, status=1/FAILURE)
   Main PID: 481596 (code=exited, status=1/FAILURE)
        CPU: 32.592s

=(^-^)=root@mother:/home/admin666# journalctl -n 100 -u borgmatic.service |grep CRITICAL
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo: Error running actions for repository
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL Command 'borg create --exclude-from /etc/borgmatic/excludes ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo::{now:%Y-%m-%dT%H:%M} /etc /home /opt /root /srv /usr /var --info' returned non-zero exit status 2.
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL /etc/borgmatic/config.yaml: Error running configuration file
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL summary:
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL /etc/borgmatic/config.yaml: Error running configuration file
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo: Error running actions for repository
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL Traceback (most recent call last):
juin 04 00:51:32 mother borgmatic[481597]: CRITICAL Command 'borg create --exclude-from /etc/borgmatic/excludes ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo::{now:%Y-%m-%dT%H:%M} /etc /home /opt /root /srv /usr /var --info' returned non-zero exit status 2.

Un problème côté gardefou. Vérification faite côté sauvkipeu, tout va bien.

En faisant un tour sur mother, détection d'un problème de sauvegarde : ``` $ admin666@mother:~$ systemctl status | head -2 ● mother State: degraded $ admin666@mother:~$ systemctl list-units |grep -i failed ● borgmatic.service loaded failed failed borgmatic backup $ admin666@mother:~$ systemctl status borgmatic.service ● borgmatic.service - borgmatic backup Loaded: loaded (/lib/systemd/system/borgmatic.service; static) Active: failed (Result: exit-code) since Sun 2023-06-04 00:51:32 CEST; 19h ago TriggeredBy: ● borgmatic.timer Docs: https://torsion.org/borgmatic/ Process: 481374 ExecStartPre=sleep 1m (code=exited, status=0/SUCCESS) Process: 481596 ExecStart=systemd-inhibit --who=borgmatic --what=sleep:shutdown --why=Prevent interrupting scheduled backup /usr/bin/borgmatic create --verbosity -1 --syslog-verbosity 1 (code=exited, status=1/FAILURE) Main PID: 481596 (code=exited, status=1/FAILURE) CPU: 32.592s =(^-^)=root@mother:/home/admin666# journalctl -n 100 -u borgmatic.service |grep CRITICAL juin 04 00:51:32 mother borgmatic[481597]: CRITICAL ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo: Error running actions for repository juin 04 00:51:32 mother borgmatic[481597]: CRITICAL Command 'borg create --exclude-from /etc/borgmatic/excludes ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo::{now:%Y-%m-%dT%H:%M} /etc /home /opt /root /srv /usr /var --info' returned non-zero exit status 2. juin 04 00:51:32 mother borgmatic[481597]: CRITICAL /etc/borgmatic/config.yaml: Error running configuration file juin 04 00:51:32 mother borgmatic[481597]: CRITICAL juin 04 00:51:32 mother borgmatic[481597]: CRITICAL summary: juin 04 00:51:32 mother borgmatic[481597]: CRITICAL /etc/borgmatic/config.yaml: Error running configuration file juin 04 00:51:32 mother borgmatic[481597]: CRITICAL ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo: Error running actions for repository juin 04 00:51:32 mother borgmatic[481597]: CRITICAL Traceback (most recent call last): juin 04 00:51:32 mother borgmatic[481597]: CRITICAL Command 'borg create --exclude-from /etc/borgmatic/excludes ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo::{now:%Y-%m-%dT%H:%M} /etc /home /opt /root /srv /usr /var --info' returned non-zero exit status 2. ``` Un problème côté `gardefou`. Vérification faite côté `sauvkipeu`, tout va bien.
cpm was assigned by neox 2023-10-16 14:53:30 +02:00
neox closed this issue 2023-10-16 14:53:30 +02:00
Sign in to join this conversation.
No description provided.