Add arguments
This commit is contained in:
parent
5414f3e141
commit
79edb5eb71
|
@ -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
|
Loading…
Reference in New Issue
Block a user