Add arguments

This commit is contained in:
George Lacey 2021-05-05 04:11:38 +01:00
parent 5414f3e141
commit 79edb5eb71

View File

@ -11,4 +11,11 @@ Summarises [borg](https://borgbackup.readthedocs.io/en/stable/#what-is-borgbacku
## How to use
Pipe the output of 'borg create --json' to the script, for example:
> borg create --json /repo/path::name /important/data/ | python3 ./main.py
> borg create --json /repo/path::name /important/data/ | python3 ./main.py -l [label]
### 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