mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Neither $XDG_CACHE_HOME nor $HOME are defined when this is run via the systemd service so just hardcode the path in the config. Signed-off-by: Florian Pritz <bluewind@xinu.at>
15 lines
280 B
Django/Jinja
15 lines
280 B
Django/Jinja
# We set the repo in the /usr/local/bin/borg wrapper which is enough
|
|
$borg_repo = "";
|
|
|
|
$cache_path_base = "/root/.cache/borg-restore.pl";
|
|
|
|
{% if filesystem == "btrfs" %}
|
|
@backup_prefixes = (
|
|
{regex => "^/", replacement => "backup-snap/"},
|
|
);
|
|
{% endif %}
|
|
|
|
1;
|
|
|
|
# vim: set ft=perl:
|