mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-20 14:13:22 +02:00
borg-client: Configure prefix map for hosts with btrfs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
03b39f90fc
commit
43b47094f9
@ -1,9 +1,11 @@
|
|||||||
# We set the repo in the /usr/local/bin/borg wrapper which is enough
|
# We set the repo in the /usr/local/bin/borg wrapper which is enough
|
||||||
$borg_repo = "";
|
$borg_repo = "";
|
||||||
|
|
||||||
#@backup_prefixes = (
|
{% if filesystem == "btrfs" %}
|
||||||
#{regex => "^/", replacement => "backup-snap/"},
|
@backup_prefixes = (
|
||||||
#);
|
{regex => "^/", replacement => "backup-snap/"},
|
||||||
|
);
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user