X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 342A5D1B481 for ; Mon, 22 Dec 2003 17:50:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 54068-10 for ; Mon, 22 Dec 2003 13:49:36 -0400 (AST) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id D5751D1B454 for ; Mon, 22 Dec 2003 13:49:34 -0400 (AST) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id hBMHmreD013228; Mon, 22 Dec 2003 10:48:53 -0700 (MST) Date: Mon, 22 Dec 2003 10:31:15 -0700 (MST) From: "scott.marlowe" To: "C. Bensend" Cc: Subject: Re: pg_dump vs pg_dumpall - small database cluster, In-Reply-To: <50886.63.227.74.41.1071930432.squirrel@webmail.stinkweasel.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/302 X-Sequence-Number: 11808 On Sat, 20 Dec 2003, C. Bensend wrote: > > >> pg_dumpall seems to do this for me, without any command-line args > >> needed. Am I correct in saying that 'pg_dumpall > filename' will > >> produce > >> a PostgreSQL dump that includes _everything_ I need to go from a clean > >> PG install to accepting connections again with data intact? Users, > >> passwords, etc? > >> > > > > and the owner of pg_dumpall process must be a database superuser. > > Absolutely... I'm running this directly on the database server, as the > PostgreSQL superuser, so permissions aren't an issue. I just want to be > very sure that pg_dumpall is getting absolutely everything I need, > because I don't have the resources at this site to do full filesystem > backups of this host. Note that in the past, occasional dependency issues have cause pg_dumpall to fail for certain users. I myself had it happen with a customer sequence a little while ago on 7.2.4. Unfortunately, I'm unable to reproduce the sequence of events that caused it, so I can't really report it as a bug.