From: Bruce Momjian <bruce@momjian.us>
To: Payal Singh <payals1@umbc.edu>
Cc: pgsql-bugs@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Craig Ringer <ringerc@ringerc.id.au>
Subject: Re: Problem with pg_upgrade
Date: Fri, 6 Jul 2012 16:05:27 -0400
Message-ID: <20120706200527.GC11753@momjian.us> (raw)
In-Reply-To: <CAK4ouny5kBCSVtrSFJ1fP6wcSHDPmT_VeSCJ0m-KqOJL1ivZNQ@mail.gmail.com>
References: <CAK4ounw9CmG0_vUwwtsr2QXXhOJJ8E9g5mw-vuXAo57KSTQFDg@mail.gmail.com>
<4FF5BD8A.5010307@ringerc.id.au>
<CAK4ounyW7oGprZuVRv8tfVROTimeY49yL4HRcq+Yqnt0P-8PXw@mail.gmail.com>
<1316.1341527311@sss.pgh.pa.us>
<20120706033700.GB15538@momjian.us>
<CAK4ounxaUVnPADZf5f5bABZRZfa99BnayH4n8Ywd-PkY3C3NpQ@mail.gmail.com>
<20120706173153.GC6235@momjian.us>
<CAK4ounxb-1wJw9SQth_LmXeOE4+=nK7w5GxSOPf8pnR88BZpJQ@mail.gmail.com>
<20120706193029.GB11753@momjian.us>
<CAK4ouny5kBCSVtrSFJ1fP6wcSHDPmT_VeSCJ0m-KqOJL1ivZNQ@mail.gmail.com>
On Fri, Jul 06, 2012 at 04:03:38PM -0400, Payal Singh wrote:
> The omnipitr-backup-slave process takes online backups from the standby, and
> this is done everyday. This process connects to the master and calls a
> pg_start_backup and then looks for a restore point on the standby after that
> WAL address. So i don't think I need to shut down the server.
My guess is if you try pg_upgrade without omnipitr-backup-slave, and it
works, odds are something about your use of omnipitr-backup-slave is
wrong.
> Also, it is the omnipitr-backup-slave process that makes a separate backup for
> xlog.
>
>
> If you run vacuumedb now, does everything later work fine?
>
>
> I'm not sure about that. Didn't try anything else after that. The 9.2beta2
> server starts without errors though.
True, but it seems like something it wrong about the cluster, as is
shown by vacuumdb.
---------------------------------------------------------------------------
>
> Regards,
> Payal
>
> On Fri, Jul 6, 2012 at 3:30 PM, Bruce Momjian <bruce@momjian.us> wrote:
>
> On Fri, Jul 06, 2012 at 02:22:28PM -0400, Payal Singh wrote:
> > The first message in the log is probably because the backup is taken from
> a
> > standby. I am using omnipitr-backup-slave to make the backups and then
> > restoring one of those.
>
> OK, this is what I wanted to see. Is the server running while you are
> taking these backups, because that will not work.
>
> > The whole process that I followed is:
> >
> >
> > 1. Restoring backup file:
> > 2.
> > 3. payal@sparedb1:/data/pg$ sudo tar -xvzf /mnt/nas/backups/postgres/
> > userslave2/backups/data/
> userslave2.int.functionx.net-xlog-2012-07-03.tar.gz
>
> > 489. payal@sparedb1:/data/pg$ sudo tar -xvzf /mnt/nas/backups/postgres/
> > userslave2/backups/data/
> userslave2.int.functionx.net-xlog-2012-07-03.tar.gz
> > 490. 9.1/pg_xlog/
> > 491. 9.1/pg_xlog/000000010000027C00000070
> > 492. 9.1/pg_xlog/000000010000027C0000006B.009707C0.backup
> > 493. 9.1/pg_xlog/000000010000027C0000006D
> > 494. 9.1/pg_xlog/000000010000027C0000006C
> > 495. 9.1/pg_xlog/000000010000027C0000006B
> > 496. 9.1/pg_xlog/000000010000027C0000006E
> > 497. 9.1/pg_xlog/000000010000027C00000071
> > 498. 9.1/pg_xlog/000000010000027C0000006F
>
> Why is the xlog backup a separate step? Because it is a separate file
> system? The system is down, I assume.
>
> If you run vacuumedb now, does everything later work fine?
>
> --
> Bruce Momjian <bruce@momjian.us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + It's impossible for everything to be true. +
>
>
>
>
> --
> Payal Singh
> Graduate Student
> Department of Computer Science and Electrical Engineering
> University of Maryland, Baltimore County
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
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-bugs@postgresql.org
Cc: bruce@momjian.us, payals1@umbc.edu, tgl@sss.pgh.pa.us, ringerc@ringerc.id.au
Subject: Re: Problem with pg_upgrade
In-Reply-To: <20120706200527.GC11753@momjian.us>
References: <CAK4ounw9CmG0_vUwwtsr2QXXhOJJ8E9g5mw-vuXAo57KSTQFDg@mail.gmail.com> <4FF5BD8A.5010307@ringerc.id.au> <CAK4ounyW7oGprZuVRv8tfVROTimeY49yL4HRcq+Yqnt0P-8PXw@mail.gmail.com> <1316.1341527311@sss.pgh.pa.us> <20120706033700.GB15538@momjian.us> <CAK4ounxaUVnPADZf5f5bABZRZfa99BnayH4n8Ywd-PkY3C3NpQ@mail.gmail.com> <20120706173153.GC6235@momjian.us> <CAK4ounxb-1wJw9SQth_LmXeOE4+=nK7w5GxSOPf8pnR88BZpJQ@mail.gmail.com> <20120706193029.GB11753@momjian.us> <CAK4ouny5kBCSVtrSFJ1fP6wcSHDPmT_VeSCJ0m-KqOJL1ivZNQ@mail.gmail.com> <20120706200527.GC11753@momjian.us>
* 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