Skip to content
Snippets Groups Projects
Verified Commit cd6178e0 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase Committed by Frederik Schwan
Browse files

Remove borg-restore.pl

The perl script is currently breaking and there's not really an advantage to keeping it around.
We've never used it.
parent 9338bddf
No related branches found
No related tags found
1 merge request!224Remove borg-restore.pl
Pipeline #4019 passed
---
- 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
pacman: name=borg state=present
- name: check if borg repository already exists
command: borg list {{ item['host'] }}/{{ item['dir'] }}
......
......@@ -83,5 +83,3 @@ if is_btrfs "$src"; then
done
rmdir "$backup_mountdir"
fi
/usr/bin/vendor_perl/borg-restore.pl --update-cache
# We set the repo in the /usr/local/bin/borg wrapper which is enough
$borg_repo = "";
$cache_path_base = "/root/.cache/borg-restore.pl";
{% if filesystem == "btrfs" %}
@backup_prefixes = (
{regex => "^/", replacement => "backup-snap/"},
);
{% endif %}
1;
# vim: set ft=perl:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment