From b92a95cce0409ffeceb50ec9f7f05dab4d7c43fe Mon Sep 17 00:00:00 2001 From: idfx Date: Fri, 5 Oct 2001 14:31:11 +0000 Subject: [PATCH] changed, because this did not work --- doc/MAINTENANCE | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/MAINTENANCE b/doc/MAINTENANCE index 2055a833..0b1d2d35 100755 --- a/doc/MAINTENANCE +++ b/doc/MAINTENANCE @@ -1,5 +1,8 @@ To dump mir database : + pg_dumplo -a -d -s /dumpdir/dir + pg_dump -c -D -f /dumpdir/.sql +this generates a dir with all blobs and a sql-file with all data. - pg_dump -b -o -F t > mir_dump.tar - -This generates a tar file including blobs as data. \ No newline at end of file +To restore the database: + psql < .sql + pgdump_lo -i -d -s /dumpdir/dir -- 2.11.0