Revision 2092
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/pg_dump_vegbien | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# Dumps a schema of the vegbien db |
|
3 |
|
|
4 |
selfDir="$(dirname -- "$0")" |
|
5 |
|
|
6 |
if ! test "$#" -eq 1; then |
|
7 |
echo "Usage: $0 schema >schema.sql" |
|
8 |
exit 2 |
|
9 |
fi |
|
10 |
|
|
11 |
"$selfDir/../bin/postgres_vegbien" pg_dump --schema="$1" --schema-only \ |
|
12 |
--no-owner --no-privileges |
|
0 | 13 |
Also available in: Unified diff
Added pg_dump_vegbien to dump a schema of the vegbien db