Summarises borg backups using output from 'borg create'
Go to file
2021-05-08 13:17:29 +01:00
src Set default error text 2021-05-07 13:09:27 +01:00
.gitignore Parse borg JSON instead of raw output 2021-05-04 04:18:42 +01:00
LICENSE Update license to GNU General Public License v3.0 2016-09-20 12:19:44 +01:00
README.md Add notice before archiving 2021-05-08 13:17:29 +01:00

borg manager

Summarises borg backups using output from 'borg create'.

This project has been superseded by borg-web, a client and web server that provides summaries in the form of a website

Features:

  • Parses json output from 'borg create --json'
  • Stores repo and archive information in sqlite database
  • Logs errors
  • Prints summary of repos and recent errors

Planned:

  • Output to Graphs/HTML

How to use

Pipe the output of 'borg create --json' to the script, for example:

borg create --json /repo/path::name /important/data/ 2>&1 | python3 ./main.py -l [label]

Note: 2>&1 redirects errors to borg-manager for logging

Arguments:

  • -o / --output -> specify database location

-o /home/user/borg/logs

  • -l / --label -> specify label for borg repo

-l 'Server backups'

  • -s / --summary -> print summary