From: Dan Langille Date: Thu, 18 Sep 2008 16:06:43 +0000 (+0000) Subject: See ticket 1152 X-Git-Tag: Release-3.0.0~965 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f97c0f9e932d6bcdc1af33cb7516c800fbae9d0e;p=bacula%2Fbacula See ticket 1152 Include the -E SQL_ASCII option in the createdb command example Mention compression options in the comments git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7611 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/make_catalog_backup.in b/bacula/src/cats/make_catalog_backup.in index 98b1ae3387..a9643a12a9 100755 --- a/bacula/src/cats/make_catalog_backup.in +++ b/bacula/src/cats/make_catalog_backup.in @@ -47,6 +47,7 @@ else else PGHOST="" fi + # you could also add --compress for compression. See man pg_dump exec ${BINDIR}/pg_dump -c $PGHOST -U $2 $1 >$1.sql else echo ".dump" | ${BINDIR}/sqlite3 $1.db >$1.sql @@ -67,6 +68,6 @@ fi # To read back a PostgreSQL database use: # cd @working_dir@ # dropdb bacula -# createdb bacula +# createdb bacula -E SQL_ASCII # psql bacula