mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-20 11:54:39 +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
|
||||
$borg_repo = "";
|
||||
|
||||
#@backup_prefixes = (
|
||||
#{regex => "^/", replacement => "backup-snap/"},
|
||||
#);
|
||||
{% if filesystem == "btrfs" %}
|
||||
@backup_prefixes = (
|
||||
{regex => "^/", replacement => "backup-snap/"},
|
||||
);
|
||||
{% endif %}
|
||||
|
||||
1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user