summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-04-02Add TODOFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Move backup path mapping to main packageFlorian Pritz2-10/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Move path resolving to main packageFlorian Pritz2-8/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Fix unhandleted formatting in invalid path error messageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Fix width of milliseconds in debug log formatFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Refactor update_cache()Florian Pritz1-18/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Change default log level to INFOFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Improve log messages when adding archivesFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Use logger everywhere in main packageFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02Start documenting the main classFlorian Pritz2-2/+28
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-02script: Abort early if path is not found in backupsFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>