Open olberger opened 1 month ago
For the records, AFAIU from reading https://forum.yunohost.org/t/borg-borg-server-deduplicated-encrypted-and-remote-backups/5006/32 there's a timer which runs it.
Indeed:
# systemctl list-timers | grep borg
Wed 2024-05-29 12:00:00 CEST 6min left Wed 2024-05-29 11:00:02 CEST 53min ago borg.timer borg.service
Then:
# cat /etc/systemd/system/borg.service
[Unit]
Description=Run backup borg
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/sudo /var/www/borg/backup-with-borg borg
User=borg
Group=borg
#[Install]
#WantedBy=multi-user.target
OK, so one may manually run it with sudo /var/www/borg/backup-with-borg borg
to proceed with backups...
That script seems to be referred to in the discussions, issues, or elsewhere, but there ain't any clear documentation explaining its use, AFAICS.
It would be great to have a mention in the README, somewhere.
Thanks in advance.