Re: backup non-built-in tablespace

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Karuna Karpe" <karuna(dot)karpe(at)os3infotech(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: backup non-built-in tablespace
Date: 2011-12-02 15:46:23
Message-ID: 4ED89E6F0200002500043766@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Karuna Karpe <karuna(dot)karpe(at)os3infotech(dot)com> wrote:

> I want get cold backup of database cluster, but in database
> cluster there are four non-built-in tablespaces. So, when get the
> cold backup of database cluster and restore on another machine and
> I check tablespaces for that there is no any non-built-in
> tablespace is available.
>
> So,Please can any one let me know that, how to get non-built-in
> tablespace backup?

>From this page:

http://www.postgresql.org/docs/current/interactive/continuous-archiving.html

There is this:

| Be certain that your backup dump includes all of the files under
| the database cluster directory (e.g., /usr/local/pgsql/data). If
| you are using tablespaces that do not reside underneath this
| directory, be careful to include them as well (and be sure that
| your backup dump archives symbolic links as links, otherwise the
| restore will corrupt your tablespaces).

You might want to search that page for the other mentions of
"tablespace" to find the descriptions of when to make a backup, how
to restore, and caveats.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rob Richardson 2011-12-02 15:55:28 Where do I get pgAgent now?
Previous Message Florian Weimer 2011-12-02 10:15:01 Re: Number of established connections since postmaster start