diff options
author | Florian Pritz <bluewind@xinu.at> | 2019-02-07 17:01:28 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2019-02-07 17:14:35 +0100 |
commit | 4034169f9655ea6b28741067c58c0219e42365e1 (patch) | |
tree | 9a76c3c328d7420ec4dc2494889800823ab21ac2 /lib/App/BorgRestore.pm | |
parent | 138ba53c92dc10c1b9b9bb31448b76f9bbac0ecd (diff) | |
download | App-BorgRestore-4034169f9655ea6b28741067c58c0219e42365e1.tar.gz App-BorgRestore-4034169f9655ea6b28741067c58c0219e42365e1.tar.xz |
Support borg list --prefix option via setting
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App/BorgRestore.pm')
-rw-r--r-- | lib/App/BorgRestore.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index 753567e..1e923c5 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -93,7 +93,7 @@ method new($class: $deps = {}) { my $config = $deps->{settings}->get_config(); - $deps->{borg} //= App::BorgRestore::Borg->new($config->{borg}->{repo}); + $deps->{borg} //= App::BorgRestore::Borg->new(@{$config->{borg}}{qw(repo backup_prefix)}); $deps->{db} //= App::BorgRestore::DB->new($config->{cache}->{database_path}, $config->{cache}->{sqlite_memory_cache_size}); return $class->new_no_defaults($deps, $config); |