bin: update

This commit is contained in:
Luc Bijl 2025-08-17 15:01:12 +02:00
parent 0cc125394f
commit a93593061c
5 changed files with 35 additions and 3 deletions

4
bin/dump Normal file → Executable file
View file

@ -2,7 +2,6 @@
command="/usr/bin/podman"
# Dumps databases
postgres_databases=""
@ -12,12 +11,11 @@ do
$command exec -it ${database}-pod-postgres sh -c "pg_dumpall -U postgres | gzip > /dump/${database}.sql.gz"
done
# Exports volumes
volumes=""
for volume in $volumes
do
$command volume export $volume --output <home>/.volumes/${volume}.tar
$command volume export $volume --output /home/neutrino/.volumes/${volume}.tar
done