From 07615a9b707d2e0a79723019d028b69412c61688 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 4 Jun 2017 17:07:52 +0200 Subject: Add example usage and output to readme Signed-off-by: Florian Pritz --- script/borg-restore.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'script') diff --git a/script/borg-restore.pl b/script/borg-restore.pl index 0fe5a2a..04a1e9b 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -25,6 +25,16 @@ borg-restore.pl [options] Format: Units: s (seconds), min (minutes), h (hours), d (days), m (months = 31 days), y (year) +Example usage: + + > borg-restore.pl bin/backup.sh + 0: Sat. 2016-04-16 17:47:48 +0200 backup-20160430-232909 + 1: Mon. 2016-08-15 16:11:29 +0200 backup-20160830-225145 + 2: Mon. 2017-02-20 16:01:04 +0100 backup-20170226-145909 + 3: Sat. 2017-03-25 14:45:29 +0100 backup-20170325-232957 + Enter ID to restore (Enter to skip): 3 + INFO Restoring home/flo/bin/backup.sh to /home/flo/bin from archive backup-20170325-232957 + =head1 DESCRIPTION borg-restore.pl helps to restore files from borg backups. -- cgit v1.2.3-24-g4f1b