Updated repository to the new configuration.

This commit is contained in:
Luc Bijl 2024-08-30 21:26:24 +02:00
parent 25dde6a119
commit 1945f193ea
31 changed files with 766 additions and 866 deletions

23
bin/dump Normal file
View file

@ -0,0 +1,23 @@
#!/bin/sh
command="/usr/bin/podman"
# Dumps databases
postgres_databases=""
for database in $postgres_databases
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
done