summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-11-22Replace File::* dependencies with Path::TinyFlorian Pritz1-5/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-22Create cache directory in DB instead of SettingsFlorian Pritz2-4/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21borg_list: Use JSON with borg 1.1Florian Pritz1-5/+14
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21Borg::list_archive: Use --format to please borg 1.1Florian Pritz1-1/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21borg_list_time: Use JSON when possibleFlorian Pritz1-12/+27
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21Borg: Extract version information for future useFlorian Pritz1-0/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21borg_list_time: Fix parsing for borg >=1.1Florian Pritz1-1/+2
Output now contains additional data after the date. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21settings: Document that config must return trueFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21Enable --adhoc automatically when cache is emptyFlorian Pritz1-0/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-21Log borg errors instead of only throwing exceptionFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-12Remove duplicate exception stringsFlorian Pritz1-7/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-10-05Update versionFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-25Add missing autodie to packagesFlorian Pritz4-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-10Add basic documentation for all packagesFlorian Pritz3-0/+36
Module::Build::Tiny installs manpages for all packages and for these 3 the manpages were empty. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-10Bump minimal perl version to 5.14Florian Pritz5-5/+5
Function::Parameters requires >=5.14 so we can bump our version as well. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-24Checking in changes prior to tagging of version 2.1.0.2.1.0Florian Pritz1-1/+1
Changelog diff is: diff --git a/Changes b/Changes index 63cdd4d..ffbe7ba 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,10 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} +2.1.0 2017-06-24T15:26:08Z + - Improve documentation + - chdir back to original working directory after restore + 2.0.1 2017-06-04T17:44:27Z - Add github to META.json
2017-06-19Settings: Improve documentation of $borg_repoFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-11Remove unused, commented variableFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-11Use File::pushd for temporary chdirFlorian Pritz1-10/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-11Document main packageFlorian Pritz1-0/+128
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-06Move license documentation to end of fileFlorian Pritz1-15/+25
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-04Checking in changes prior to tagging of version 2.0.1.2.0.1Florian Pritz1-1/+1
Changelog diff is: diff --git a/Changes b/Changes index 7a69a34..63cdd4d 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,10 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} +2.0.1 2017-06-04T17:44:27Z + + - Add github to META.json + 2.0.0 2017-06-04T16:18:33Z - original version
2017-06-04Build README from script instead of main packageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-28Add --adhocFlorian Pritz3-0/+55
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-11Add missing dependenciesFlorian Pritz1-1/+0
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 main packageFlorian Pritz1-69/+16
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 Pritz1-0/+73
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Update license file nameFlorian Pritz1-1/+1
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-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 Pritz2-4/+7
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 Pritz2-9/+9
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-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-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>