From: Egon Reetz <reetz@usco.de>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: backup file system
Date: Wed, 31 Oct 2001 15:39:56 +0100
Message-ID: <3BE00D3C.E47497B0@usco.de> (raw)
References: <2DFBC8374F5A0F4E954C07C158844F320851F8@milton.sonosite.com>
<3BDFFF86.E9D8B34D@prosalud.com.ar>
I don't understand why it's not possible to backup all the database files while the
db is down. I'm working for years with Oracle and doing a tape backup from all
necessary files is one way to restore the database.
Egon
Francisco Solari wrote:
> I had the same problem, but backing up the filesystem isn't the solution. I did
> it and when I tried to restore the database was impossible. If anyone knows how
> to solve this problem please let me know
>
> "Leong, Fushan" wrote:
>
> > Hi :
> >
> > I am very new in postgres and hope someone can give me some suggestions
> >
> > I am working on a shell script to backup my postgres database. Compared
> > with pg_dump and pg_dumpall, I would
> > like to backup the file system instead of dump the database because I can
> > shutdown the database server in
> > midnight for a few hours. I also can sure I will have a stable backup. ( No
> > user is doing anything at the same time )
> >
> > I search internet but did not find anyone mention this method. Did I miss
> > anything? I plan to backup all
> > files under data directory. Is that enough?
> >
> > thanks
> > Fushan
> > DBA
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/users-lounge/docs/faq.html
>
> ------------------------------------------------------------------------
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
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: reetz@usco.de
Subject: Re: backup file system
In-Reply-To: <3BE00D3C.E47497B0@usco.de>
References: <2DFBC8374F5A0F4E954C07C158844F320851F8@milton.sonosite.com> <3BDFFF86.E9D8B34D@prosalud.com.ar> <3BE00D3C.E47497B0@usco.de>
* 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