From e584b32a3c3f17505f97a160deb2bedb7b639e1a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 26 Feb 2017 23:36:12 +0100 Subject: Add script Signed-off-by: Florian Pritz --- script/borg-restore.pl | 859 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 859 insertions(+) create mode 100755 script/borg-restore.pl (limited to 'script') diff --git a/script/borg-restore.pl b/script/borg-restore.pl new file mode 100755 index 0000000..0c52c9b --- /dev/null +++ b/script/borg-restore.pl @@ -0,0 +1,859 @@ +#!/usr/bin/perl -T +use warnings; +use strict; + +=head1 NAME + +borg-restore.pl - Restore paths from borg backups + +=head1 SYNOPSIS + +borg-restore.pl [options] + + Options: + --help, -h short help message + --debug show debug messages + --update-cache, -u update cache files + --destination, -d Restore backup to directory + --time, -t Automatically find newest backup that is at least +