Compare commits
19
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
415f424dc5 | ||
|
|
20b6e080e2
|
||
|
|
75fed49303 | ||
|
|
6a02792051
|
||
|
|
c0a2b50d61 | ||
|
|
5e5e43a3c0
|
||
|
|
59b2488be1 | ||
|
|
fd29c781aa | ||
|
|
0a2798455d | ||
|
|
7987545bf6 | ||
|
|
aa86439200 | ||
|
|
742962b3e4 | ||
|
|
c49f98d7ae | ||
|
|
b38c399e74 | ||
|
|
bb7de01ddf | ||
|
|
77d47c42f0 | ||
|
|
5b3ed26db6 | ||
|
|
dbf3b68362 | ||
|
|
c99579e5ab |
+3
-2
@@ -5,9 +5,10 @@ steps:
|
||||
- name: publish image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: abra-bot
|
||||
username:
|
||||
from_secret: release_user
|
||||
password:
|
||||
from_secret: git_coopcloud_tech_token_abra_bot
|
||||
from_secret: release_password
|
||||
repo: git.coopcloud.tech/coop-cloud/backup-bot-two
|
||||
tags: ${DRONE_SEMVER_BUILD}
|
||||
registry: git.coopcloud.tech
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM docker:29.4.3-dind
|
||||
FROM docker:29.9.2-dind
|
||||
|
||||
RUN apk add --upgrade --no-cache restic bash python3 py3-pip py3-click py3-docker-py py3-json-logger curl
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@ Enable basic auth in the env file, by uncommenting the following line:
|
||||
|
||||
`abra app run <backupbot_name> app -- backup download --snapshot <snapshot_id> --path <absolute_path>`
|
||||
|
||||
extract the <path> from the output of the first command and use in the second.
|
||||
extract the `path` from the output of the first command and use in the second.
|
||||
|
||||
`abra app cp <backupbot_name> app:<path> .`
|
||||
|
||||
|
||||
+1
-1
@@ -225,7 +225,7 @@ def restore_path(snapshot_id, target, noninteractive, paths):
|
||||
|
||||
|
||||
def restic_restore(snapshot_id, include=[], target_dir=None):
|
||||
cmd = restic.cat.base_command() + ["restore", snapshot_id]
|
||||
cmd = restic.cat.base_command() + ["restore", snapshot_id, "--delete"]
|
||||
for path in include:
|
||||
cmd.extend(["--include", path])
|
||||
if target_dir:
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
image: git.coopcloud.tech/coop-cloud/backup-bot-two:2.4.0
|
||||
image: git.coopcloud.tech/coop-cloud/backup-bot-two:2.5.0
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "/var/lib/docker/volumes/:/var/lib/docker/volumes/"
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
mode: 666
|
||||
deploy:
|
||||
labels:
|
||||
- coop-cloud.${STACK_NAME}.version=2.4.0+2.4.0
|
||||
- coop-cloud.${STACK_NAME}.version=2.5.2+2.5.0
|
||||
- coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}
|
||||
- coop-cloud.backupbot.enabled=true
|
||||
#entrypoint: ['tail', '-f','/dev/null']
|
||||
|
||||
Reference in New Issue
Block a user