Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
43b47094
Verified
Commit
43b47094
authored
Nov 26, 2017
by
Florian Pritz
Browse files
borg-client: Configure prefix map for hosts with btrfs
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
03b39f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/borg-client/templates/borg-restore.cfg.j2
View file @
43b47094
# 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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment