diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-06-04 17:07:52 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-06-04 17:07:52 +0200 |
commit | 07615a9b707d2e0a79723019d028b69412c61688 (patch) | |
tree | ff09acf115ec02d0ec46affb2e4736412516d6be | |
parent | ca1365305eae118e4a44735b4392ca948de9586f (diff) | |
download | App-BorgRestore-07615a9b707d2e0a79723019d028b69412c61688.tar.gz App-BorgRestore-07615a9b707d2e0a79723019d028b69412c61688.tar.xz |
Add example usage and output to readme
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | README.md | 10 | ||||
-rwxr-xr-x | script/borg-restore.pl | 10 |
2 files changed, 20 insertions, 0 deletions
@@ -21,6 +21,16 @@ borg-restore.pl \[options\] <path> Format: <number><unit> 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 + # DESCRIPTION borg-restore.pl helps to restore files from borg backups. 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] <path> Format: <number><unit> 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. |