No Branch/Tag Specified
main
renovate/docker-29.x
feature/makeDeleteDefault
restic-exporter
cmd-setup-restic-s3
prom-mon
feature/dockerfile
bb2-classic
feature/selective_paths
list
enable-label
backupbot_revolution
backup_volumes
multi_path
2.4.0+2.4.0
2.3.0+2.3.0-beta
2.2.0+2.2.1-beta
2.1.0+2.2.0-beta
2.0.1+2.1.1-beta
1.0.0+2.0.0-beta
0.2.0+1.0.0
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
backupbot revolution
Done
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
moritz
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/backup-bot-two#28
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
There should be a backup of the app secrets as well. If you need to reinitialize the swarm for any reason or want to restore the app on another server the secrets are required. Further you don't need to handle a way to store all the autogenerated secrets locally anymore.
Also somehow related: coop-cloud/organising#480
Unfortunately I couldn't find any other way to access the secrets, than attaching them to a container and reading
/var/run/secrets.Therefore my idea is to attach all secrets of all apps that have the
'backupbot.backuplabel to the backupbot. Than the secrets can easily be handled by restic.Another approach:
mount
/var/lib/docker/containers/inside the backupbot. So the secrets can be accessed via/var/lib/docker/containers/<container-id>/mounts/secrets.This solves two problems with attaching the secrets to the backupbot:
New approach:
ef9fbda7d0For each app that is included in the backup the secrets are copied from
/var/lib/docker/containers/<container-id>/mounts/secrets/<secret_id>to/secrets/<secret_name>and/secretis included as backup path forrestic.