Re: File System backup

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: itishree sukla <itishree(dot)sukla(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: File System backup
Date: 2013-06-21 12:40:53
Message-ID: CA+HiwqFMr3jjq5Dm32r8O8-OwiSvbzr6K_yns3sGmjB977uW7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 21, 2013 at 7:53 PM, itishree sukla
<itishree(dot)sukla(at)gmail(dot)com> wrote:
> Hi all,
>
> Can any one give me more suggestion, about this problem. Every time my os
> got restart, postmaster.pid is missing. After that createing postmaster.pid
> is also not helping to start the server. I am using postgresql 9.2 in
> ubuntu, with default installation. Is there any possibility i can take the
> Data directory backup, and install postgresql server, then restore Data
> directory. Will it work to get back my databases.

Can you tell what command you use to start the server and when you
issue it? Is that after OS restarts?) Did you, by any chance, use
"restart" whereas you should have used "start" assuming you are using
pg_ctl for the same?

Issuing "restart" requires that you should already have server running
(and that means postmaster.pid should be there in data directory).

--
Amit Langote

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message sachin kotwal 2013-06-21 12:40:59 Re: Migration from DB2 to PostgreSQL
Previous Message itishree sukla 2013-06-21 10:53:35 File System backup