Verified Commit 43b47094 authored by Florian Pritz's avatar Florian Pritz
Browse files

borg-client: Configure prefix map for hosts with btrfs



Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 03b39f90
# 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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment