generated from coop-cloud/example
Add Backup Bot Two support #27
Open
ChasquiLabo
wants to merge 1 commits from
escuela-comun/peertube:add-backup-support into main
pull from: escuela-comun/peertube:add-backup-support
merge into: :main
:main
:renovate/configure
:issue-22
:6.1.1+v6.3.3
:dev
No Reviewers
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze (Born Deleuze)
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
dannygroenewegen (Danny Groenewegen)
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
hex (Josh Dukes)
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 (p4u1)
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting (stevensting)
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/peertube#27
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.
Summary
Adds backup and restore support for PeerTube using Backup Bot Two and the CoopCloud backup specification.
PostgreSQL is backed up using
pg_dumpinstead of copying the live database volume.Changes
Why an additional backup service?
The current PostgreSQL image (
pgautoupgrade:18-alpine) does not include Bash, which Backup Bot Two requires to execute hooks. A lightweightpostgres:18-trixiehelper service allowspg_dumpandpg_restoreto run without modifying the existing database image.Testing
Tested with PeerTube 8.3.2 and PostgreSQL 18.
AI Assistance
Developed with assistance from ChatGPT (OpenAI LLM), with backup and full restoration tested in a real CoopCloud environment.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.