borgmatic: add action
This commit is contained in:
parent
0b067cabca
commit
98c1d63962
@ -18,6 +18,19 @@ job "borgmatic" {
|
|||||||
|
|
||||||
}
|
}
|
||||||
task "borgmatic" {
|
task "borgmatic" {
|
||||||
|
action "manual-backup" {
|
||||||
|
command = "/usr/local/bin/borgmatic"
|
||||||
|
args = ["create",
|
||||||
|
"prune",
|
||||||
|
"--verbosity",
|
||||||
|
"1"
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
action "list-backup" {
|
||||||
|
command = "/usr/local/bin/borgmatic"
|
||||||
|
args = ["rlist"]
|
||||||
|
}
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "ghcr.service.consul:5000/borgmatic-collective/borgmatic"
|
image = "ghcr.service.consul:5000/borgmatic-collective/borgmatic"
|
||||||
|
Loading…
Reference in New Issue
Block a user