]> git.sur5r.net Git - bacula/bacula/commitdiff
See ticket 1152
authorDan Langille <dan@langille.org>
Thu, 18 Sep 2008 16:06:43 +0000 (16:06 +0000)
committerDan Langille <dan@langille.org>
Thu, 18 Sep 2008 16:06:43 +0000 (16:06 +0000)
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

bacula/src/cats/make_catalog_backup.in

index 98b1ae33876361dbb42a35c67379ee4fffef5d05..a9643a12a934022e5cc7aca756342cb0cc0ca404 100755 (executable)
@@ -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 <bacula.sql
 #