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 2E072D1B42F for ; Sat, 20 Dec 2003 14:28:05 +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 82957-10 for ; Sat, 20 Dec 2003 10:27:19 -0400 (AST) Received: from fusion.bennyvision.com (fusion.bennyvision.com [216.161.119.28]) by svr1.postgresql.org (Postfix) with SMTP id 73DB3D1B477 for ; Sat, 20 Dec 2003 10:27:14 -0400 (AST) Received: (qmail 3156 invoked from network); 20 Dec 2003 14:27:12 -0000 Received: from localhost (HELO webmail.stinkweasel.net) (127.0.0.1) by fusion.bennyvision.com with SMTP; 20 Dec 2003 14:27:12 -0000 Received: from 63.227.74.41 (SquirrelMail authenticated user benny) by webmail.stinkweasel.net with HTTP; Sat, 20 Dec 2003 08:26:50 -0600 (CST) Message-ID: <50886.63.227.74.41.1071930432.squirrel@webmail.stinkweasel.net> In-Reply-To: <1071901126.1381.62.camel@Bhuvan.bksys.co.in> References: <59830.63.227.74.41.1071899488.squirrel@webmail.stinkweasel.net> <1071901126.1381.62.camel@Bhuvan.bksys.co.in> Date: Sat, 20 Dec 2003 08:26:50 -0600 (CST) Subject: Re: pg_dump vs pg_dumpall - small database cluster, From: "C. Bensend" To: pgsql-admin@postgresql.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/288 X-Sequence-Number: 11794 >> 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. Thanks much! Benny -- "Hey, get in here, Boozy! You're late for your drunkening!" -- Moe, "The Simpsons"