Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-11 | DB: Fix broken db initialization | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-11 | DB: Fix opening of missing db | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-11 | Add missing dependencies | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Remove unused Data::Dumper dependency | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters in Helper package | Florian Pritz | 1 | -9/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters in Borg package | Florian Pritz | 1 | -17/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters for DB package | Florian Pritz | 1 | -58/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters for main package | Florian Pritz | 1 | -69/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-05 | Add debug output to Borg package | Florian Pritz | 1 | -0/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-03 | Add empty line between pod and code | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-03 | Fix license statement | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Make sqlite cache size configurable | Florian Pritz | 3 | -4/+17 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move configuration documentation to Settings package | Florian Pritz | 1 | -0/+73 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Update license file name | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Fix indentation in SYNOPSIS | Florian Pritz | 1 | -6/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Add restore_simple | Florian Pritz | 1 | -0/+25 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Set default borg_repo to match my backup script | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Call borg with repo path instead of setting BORG_REPO | Florian Pritz | 2 | -4/+7 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move database path to Settings | Florian Pritz | 2 | -2/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move format_timestamp to Helper | Florian Pritz | 2 | -9/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | die instead of returning undef in select_archive_timespec | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Add debug log in select_archive_timespec | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use Carp in select_archive_timespec | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | die on error instead of croak | Florian Pritz | 1 | -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-02 | Improve debug messages in find_archives | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Standardize error level for functions in main package | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use Carp for find_archives errors | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use Carp for path resolving error | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Add TODO | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move backup path mapping to main package | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move path resolving to main package | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Refactor update_cache() | Florian Pritz | 1 | -18/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Improve log messages when adding archives | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use logger everywhere in main package | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Start documenting the main class | Florian Pritz | 1 | -1/+14 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Mark some functions private | Florian Pritz | 1 | -11/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Remove unused get_temp_path | Florian Pritz | 1 | -11/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Remove unused get_mtime_from_lookuptable | Florian Pritz | 1 | -17/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Do not pass $opts to main class | Florian Pritz | 1 | -7/+1 | |
The only reason this was done, was for the debug output. This no longer requires large amounts of memory or time (simple count(*) in the db now) so this is no longer necessary. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-19 | Fix broken db handling when updating cache | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-19 | Migrate main package to Log::Any | Florian Pritz | 1 | -20/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-13 | Refactor db creation and cache dir creation | Florian Pritz | 3 | -23/+33 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-13 | timespec_to_seconds: Use atomic groups in regex | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Fix sort order of detected archives | Florian Pritz | 1 | -1/+1 | |
cmp sorts strings, <=> sorts numbers Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Use POSIX::strftime instead of DateTime | Florian Pritz | 1 | -4/+2 | |
DateTime take forever to load (~115ms on my machine) and it's not required here. Removing it makes the usage text appear much faster. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Make $db an object variable | Florian Pritz | 1 | -36/+20 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Add new_no_defaults constructor for test suite | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Borg::list_archive: Use open() instead of IPC::Run for performance | Florian Pritz | 2 | -3/+9 | |
Surprisingly the callback isn't actually that bad, but IPC::Run (probably new_chunker) adds quite some overhead. Since open supports everything we need, use that instead. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-03 | Fix broken recursion in save_node | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-03 | Pass sub to IPC::Run instead of using a typeglob | Florian Pritz | 2 | -7/+7 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |