1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 11:54:39 +02:00

borg: Add borg-restore.pl config

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2017-11-21 17:22:46 +01:00
parent 425f4263d8
commit 6eccd3332f
2 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,9 @@
- name: install borg and tools
pacman: name=borg,perl-app-borgrestore state=present
- name: install borg-restore config
template: src=borg-restore.cfg.j2 dest=/etc/borg-restore.cfg owner=root group=root mode=0644
- name: check if borg repository already exists
command: borg list {{ backup_host }}:{{ backup_dir }}
register: borg_list

View File

@ -0,0 +1,10 @@
# We set the repo in the /usr/local/bin/borg wrapper which is enough
$borg_repo = "";
#@backup_prefixes = (
#{regex => "^/", replacement => "backup-snap/"},
#);
1;
# vim: set ft=perl: