Skip to content
Snippets Groups Projects
Commit 7191cbc5 authored by wu-lee's avatar wu-lee
Browse files

mastodon_db_backup.sh - fix absence of container name

parent cf33ab15
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ backup() {
rm -f $(readlink -f "$backupdir/$link")
# create new backup file
docker exec pg_dumpall -U postgres -c -v | gzip >"$backupdir/$file"
docker exec -it "$cname" pg_dumpall -U postgres -c -v | gzip >"$backupdir/$file"
status=$?
# link the sequence number to it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment