summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-24Only increase sqlite cache size during updateFlorian Pritz2-4/+9
While not all operations fill the cache, --list does. However, for read operations it doesn't actually appear to help performance. Limit the large cache setting to update operations only because there it does really increase performance. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-24Update copyright to 2018Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-24Add --list feature to search for files contained in backups by pathFlorian Pritz3-2/+56
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-04Warn if sqlite cache is fullFlorian Pritz3-0/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-03Settings: Fix missing indentation in docFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-12-02Properly document removal of prefixes via @backup_prefixesFlorian Pritz1-4/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-26Checking in changes prior to tagging of version 2.2.0.2.2.0Florian Pritz3-2/+4
Changelog diff is: diff --git a/Changes b/Changes index 0c8276e..32e7b5b 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} + +2.2.0 2017-11-25T23:16:04Z - Add borg 1.1 support - Mention required positive return code of config in documentation - Enable adhoc mode automatically when cache is empty
2017-11-26Remove old cacheFlorian Pritz2-0/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-26Bump cache version levelFlorian Pritz1-1/+1
The previous code didn't support borg 1.1 properly and the cached might now be broken. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-26Use mtime for borg 1.1 instead of isomtimeFlorian Pritz1-1/+1
The rest of the code expects the mtime format, but borg <1.1 mixed up the formats between isomtime and mtime. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-23Update ChangesFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-22Log warning if no archives are detected in borg outputFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-22Replace File::* dependencies with Path::TinyFlorian Pritz3-7/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-22Create cache directory in DB instead of SettingsFlorian Pritz4-6/+6
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 Pritz3-12/+33
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 Pritz3-0/+40
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-12Prefix logging of uncaught exceptionsFlorian Pritz1-1/+1
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-05Checking in changes prior to tagging of version 2.1.1.2.1.1Florian Pritz1-0/+5
Changelog diff is: diff --git a/Changes b/Changes index ffbe7ba..397a7d2 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,11 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} +2.1.1 2017-10-05T07:58:12Z + - Fix incorrect/missing dependencies + - Use autodie everywhere to catch errors early + - Add basic documentation to internal packages + 2.1.0 2017-06-24T15:26:08Z - Improve documentation - chdir back to original working directory after restore
2017-10-05Update versionFlorian Pritz2-2/+2
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-09-10Update META.jsonFlorian Pritz1-0/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-10Update cpanfile with output of scan-prereqs-cpanfileFlorian Pritz1-5/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-10Bump minimal perl version to 5.14Florian Pritz7-7/+7
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 Pritz3-2/+6
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-24Update READMEFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-19Add --version to -h outputFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-19Settings: Improve documentation of $borg_repoFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-11Add --version optionFlorian Pritz2-1/+14
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 Test::Pod::Coverage for main packageFlorian Pritz3-1/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-11Use File::pushd for temporary chdirFlorian Pritz3-10/+15
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-06Use Test::PodFlorian Pritz3-1/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-04Checking in changes prior to tagging of version 2.0.1.2.0.1Florian Pritz3-2/+6
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-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>