Backup script: change _ for - in container name.
This commit is contained in:
parent
bf02e58448
commit
1fe82fe923
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function etebase_backup {
|
|||
|
||||
|
||||
function synapse_backup {
|
||||
docker exec -t synapse_postgres pg_dumpall -c -U synapse > "$synapsepg_datadir/dump.sql"
|
||||
docker exec -t synapse-postgres pg_dumpall -c -U synapse > "$synapsepg_datadir/dump.sql"
|
||||
compose_stop synapse
|
||||
borg_create synapse
|
||||
[[ $restart -eq 1 ]] && compose_start synapse
|
||||
|
|
Loading…
Reference in a new issue