Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
databases
Commits
4ed34518
Commit
4ed34518
authored
Mar 11, 2019
by
Robin Sonnabend
Browse files
Do not dump all tables twice in pg_backup
parent
384a932e
Changes
1
Show whitespace changes
Inline
Side-by-side
postgres/files/pgbackup.sh
View file @
4ed34518
...
...
@@ -5,5 +5,5 @@ do
sudo
-u
postgres pg_dump
-o
$DB
|
gzip
-c
--
>
${
DB
}
.sql.gz
done
sudo
-u
postgres pg_dumpall
-U
postgres
-o
|
gzip
-c
--
>
pg_dumpall.sql.gz
sudo
-u
postgres pg_dumpall
-g
-U
postgres
-o
|
gzip
-c
--
>
pg_dumpall.sql.gz
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment