1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/borg_client/templates
Evangelos Foutras 8a9cd33504
borg_client: use absolute path to borg in borg_cmd
Using plain "borg" resolves to /usr/local/bin/borg which is the wrapper
for our main backup host. This causes the offsite backup to be executed
with BORG_REPO set to the main backup destination.

While the above doesn't cause any issues with the backup script/service,
because borg invocations specify the backup destination as an argument,
it's not ideal and/or correct. Adjust borg_cmd to include the full path
of /usr/bin/borg, thus removing any ambiguity.
2022-08-08 08:31:43 +03:00
..
backup-my.cnf.j2 Small linting and whitespace fixes 2021-01-26 22:37:06 +01:00
backup-mysql.sh.j2 backup-mysql: ensure rm path never expands to /* 2021-03-29 23:17:13 +02:00
backup-postgres.sh.j2 Small linting and whitespace fixes 2021-01-26 22:37:06 +01:00
borg-backup-cpu-quota.j2 Limit Borg CPU usage on single vCPU servers to 50% 2021-07-07 12:35:40 +00:00
borg-backup-offsite.service.j2 borg_client: drop Restart=on-failure from services 2022-06-22 05:14:16 +03:00
borg-backup.service.j2 borg_client: drop Restart=on-failure from services 2022-06-22 05:14:16 +03:00
borg-backup.sh.j2 borg_client: remove "compact_after_prune" toggle 2022-08-07 04:49:07 +03:00
borg.j2 borg_client: use absolute path to borg in borg_cmd 2022-08-08 08:31:43 +03:00