X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id CB4A2D1B2BD for ; Thu, 27 May 2004 11:42:20 -0300 (ADT) 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 60395-06 for ; Thu, 27 May 2004 11:42:04 -0300 (ADT) Received: from outputservices.com (outputt1130.customer.frii.net [216.17.159.130]) by svr1.postgresql.org (Postfix) with ESMTP id 104C4D1B3CA for ; Thu, 27 May 2004 11:41:59 -0300 (ADT) Received: from outputservices.com (outputservices.com [137.106.76.15]) by outputservices.com (8.11.3/8.11.3) with ESMTP id i4REg4922273; Thu, 27 May 2004 08:42:05 -0600 (MDT) Message-ID: <40B5FE3C.4000206@outputservices.com> Date: Thu, 27 May 2004 08:42:04 -0600 From: Marty Scholes User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.9) Gecko/20020517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Cc: Marty Scholes Subject: What is safe to exclude when doing a UFS backup? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/292 X-Sequence-Number: 13608 We are running a tiny (< 1GB) Pg installation, but are starting to migrate over our production Oracle apps. We run a daily Oracle dump and a daily Pg dump to /var/tmp, keeping the most recent four versions of each. Nightly, we have Veritas Netbackup backup the whole filesystem to a tape library. Currently, the Oracle data directory (which also has the redo logs) is excluded from the UFS backup as those datafiles are 100 GB and are completely useless in a restore. I have not excluded the Pg data files since I don't know what is safe to exclude and the files are very small. As we migrate apps and the Pg install grows, we will need to exclude those data files. Which directories/files are safe to exclude from the UFS backup? In other words, what files can Pg live without and still get off the ground far enough to restore from a pg_dump? Thanks in advance, Marty