summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-04Add github to META.jsonFlorian Pritz1-0/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-04Checking in changes prior to tagging of version 2.0.0.2.0.0Florian Pritz1-0/+2
Changelog diff is: diff --git a/Changes b/Changes index a66ffa6..7a69a34 100644 --- a/Changes +++ b/Changes @@ -2,5 +2,7 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} +2.0.0 2017-06-04T16:18:33Z + - original version
2017-06-04Move example usage under dedicated headingFlorian Pritz2-2/+2
If it's in SYNPOSIS it messes up the -h output Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-04Add example usage and output to readmeFlorian Pritz2-0/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-04Require borg executable when installingFlorian Pritz3-0/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-04Build README from script instead of main packageFlorian Pritz5-26/+73
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-30Fix --update-cache not working due to help output optimizationFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-28Output usage earlier when called without argumentsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-28Add --adhocFlorian Pritz4-2/+72
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-11DB: Fix broken db initializationFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-11DB: Fix opening of missing dbFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-11t2_parsing: Ensure the timezone is reset after modifying TZFlorian Pritz1-2/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-11t2_parsing: Force UTC timezoneFlorian Pritz1-7/+9
The test only worked in GMT+1 before this... Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-11Add missing dependenciesFlorian Pritz3-3/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10t/02_parsing: Fix too many arguments to _handle_added_archivesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10Remove unused Data::Dumper dependencyFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10Use Function::Parameters in Helper packageFlorian Pritz1-9/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10Use Function::Parameters in Borg packageFlorian Pritz1-17/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10Use Function::Parameters for DB packageFlorian Pritz1-58/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10Use Function::Parameters for scriptFlorian Pritz1-3/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-10Use Function::Parameters for main packageFlorian Pritz3-69/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-05Add debug output to Borg packageFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-03Add empty line between pod and codeFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-03Fix license statementFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Make sqlite cache size configurableFlorian Pritz3-4/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Move configuration documentation to Settings packageFlorian Pritz2-57/+74
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Update READMEFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Update license file nameFlorian Pritz3-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Replace LICENSE with actualy GPLv3Florian Pritz1-338/+634
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Fix indentation in SYNOPSISFlorian Pritz1-6/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Add restore_simpleFlorian Pritz1-0/+25
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Improve $PATH untaint commentFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Set default borg_repo to match my backup scriptFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Call borg with repo path instead of setting BORG_REPOFlorian Pritz3-6/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Extract logger setup into methodFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Move database path to SettingsFlorian Pritz2-2/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Move format_timestamp to HelperFlorian Pritz3-10/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02die instead of returning undef in select_archive_timespecFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Add debug log in select_archive_timespecFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Use Carp in select_archive_timespecFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Use die in scriptFlorian Pritz1-4/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02die on error instead of croakFlorian Pritz1-2/+2
Croak would indicate that the caller is at fault, but if there is no path in the archive that's not a caller problem. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Only output die() message onceFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Left jusitfy package name and line number in debug logFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Log die() and warn() callsFlorian Pritz1-0/+14
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Ensure log4perl dependencies are included in use statementsFlorian Pritz1-1/+3
https://metacpan.org/pod/Log::Log4perl::FAQ#How-come-PAR-(Perl-Archive-Toolkit)-creates-executables-which-then-can't-find-their-Log::Log4perl-appenders? Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Improve debug messages in find_archivesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Standardize error level for functions in main packageFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Use Carp for find_archives errorsFlorian Pritz2-6/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Use Carp for path resolving errorFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>