Merge pull request 'Fixes broken container names in restic backup script' (#178) from hotfix/restic-backup-script into main
Reviewed-on: #178
This commit is contained in:
commit
3c04c7530e
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ rm -f $dir_prefix/forgejo/postgres/dump.sql
|
|||
rm -f $dir_prefix/woodpecker/postgres/dump.sql
|
||||
|
||||
# Dump databases
|
||||
docker exec -t forgejo_db_1 pg_dumpall -c -U forgejo > $dir_prefix/forgejo/postgres/dump.sql
|
||||
docker exec -t woodpecker_woodpecker-database_1 pg_dumpall -c -U postgres > $dir_prefix/woodpecker/postgres/dump.sql
|
||||
docker exec -t forgejo-db-1 pg_dumpall -c -U forgejo > $dir_prefix/forgejo/postgres/dump.sql
|
||||
docker exec -t woodpecker-woodpecker-database-1 pg_dumpall -c -U postgres > $dir_prefix/woodpecker/postgres/dump.sql
|
||||
|
||||
# Check if repo must be initialized
|
||||
if $restic cat config >/dev/null 2>&1; then
|
||||
|
|
Loading…
Reference in a new issue