diff options
Diffstat (limited to 'borg-restore.pl')
-rwxr-xr-x | borg-restore.pl | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/borg-restore.pl b/borg-restore.pl index 622bec3..0798f32 100755 --- a/borg-restore.pl +++ b/borg-restore.pl @@ -6,6 +6,23 @@ use strict; borg-restore.pl - Restore paths from borg backups +=head1 SYNOPSIS + +borg-restore.pl [options] <path> + + Options: + --help, -h short help message + --debug show debug messages + --update-cache, -u update cache files + --destination, -d <path> Restore backup to directory <path> + --time, -t <timespec> Automatically find newest backup that is at least + <time spec> old + + Time spec: + Select the newest backup that is at least <time spec> old. + Format: <number><unit> + Units: s (seconds), min (minutes), h (hours), d (days), m (months = 31 days), y (year) + =head1 DESCRIPTION borg-restore.pl helps to restore files from borg backups. @@ -115,22 +132,9 @@ with --update-database. {regex => "^/", replacement => "mnt/snapshots/root/"}, ); -=head1 SYNOPSIS -borg-restore.pl [options] <path> - Options: - --help, -h short help message - --debug show debug messages - --update-cache, -u update cache files - --destination, -d <path> Restore backup to directory <path> - --time, -t <timespec> Automatically find newest backup that is at least - <time spec> old - Time spec: - Select the newest backup that is at least <time spec> old. - Format: <number><unit> - Units: s (seconds), min (minutes), h (hours), d (days), m (months = 31 days), y (year) =cut |