X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AD90853A39 for ; Sat, 30 Apr 2005 08:58:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28700-06 for ; Sat, 30 Apr 2005 11:58:17 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id E69DE53A2C for ; Sat, 30 Apr 2005 08:58:16 -0300 (ADT) Received: (qmail 15886 invoked by uid 500); 30 Apr 2005 12:18:12 -0000 Date: Sat, 30 Apr 2005 07:18:12 -0500 From: Bruno Wolff III To: Mauri Sahlberg Cc: pgsql-admin@postgresql.org Subject: Re: Backing up users? Message-ID: <20050430121812.GA15615@wolff.to> Mail-Followup-To: Bruno Wolff III , Mauri Sahlberg , pgsql-admin@postgresql.org References: <42733EFB.2010908@claymountain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42733EFB.2010908@claymountain.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/414 X-Sequence-Number: 17427 On Sat, Apr 30, 2005 at 11:16:59 +0300, Mauri Sahlberg wrote: > Hi, > > This might be a stupid question as it is not covered in the 7.4.7 and > probably obvious to all others. Where do the system catalogs live? How > to back them up? Should I back them up? > > The admin manual states that to restore a pg_dumped database you should > have those users created that will have permission related to objects > created by pg_restore but gives no clear instructions how to back the > users up and how to restore them before restoring the database. You want to use pg_dumpall.