From: Michael Fuhr <mike@fuhr.org>
To: Jimmy P Mani <jimmymani@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: backup
Date: Sat, 8 Jan 2005 15:22:20 -0700
Message-ID: <20050108222220.GA13960@winnie.fuhr.org> (raw)
In-Reply-To: <48f3cd3a0501042145506b4be5@mail.gmail.com>
References: <48f3cd3a0501042145506b4be5@mail.gmail.com>
On Tue, Jan 04, 2005 at 09:45:35PM -0800, Jimmy P Mani wrote:
> i have a backup of pgsql in .tar format
> how can i make the database unzipped from that
Determine how the tarball was created and use the appropriate restore
method. See the "Backup and Restore" chapter in the PostgreSQL
documentation for details.
If the tarball contains toc.dat, other .dat files, and restore.sql,
then the backup was created with pg_dump and you can use pg_restore
to restore it. See the documentation for pg_restore.
If the tarball contains files like pgsql/base/25819/17187 then it's
a file system level backup and you can restore it as you would any
other directory structure. Read carefully the "File system level
backup" section of the documentation before doing anything. Make
sure the postmaster is shut down when you do the restore.
If you need more information then please be more specific about
what concerns or problems you're having.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: mike@fuhr.org, jimmymani@gmail.com
Subject: Re: backup
In-Reply-To: <20050108222220.GA13960@winnie.fuhr.org>
* 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