From: Marty Scholes <marty@outputservices.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: What is safe to exclude when doing a UFS backup?
Date: Thu, 27 May 2004 10:45:03 -0600
Message-ID: <40B61B0F.8060302@outputservices.com> (raw)
References: <200405271510.i4RFA6c20340@candle.pha.pa.us>
Bruce,
Many thanks!
Marty
Bruce Momjian wrote:
> Marty Scholes wrote:
>
>>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?
>
>
> You need to back up all the files in /data, but none of the subdirectories.
>
> We should make this easier to do someday.
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: marty@outputservices.com, pgman@candle.pha.pa.us
Subject: Re: What is safe to exclude when doing a UFS backup?
In-Reply-To: <40B61B0F.8060302@outputservices.com>
References: <200405271510.i4RFA6c20340@candle.pha.pa.us> <40B61B0F.8060302@outputservices.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox