Skip site navigation (1) Skip section navigation (2)

Re: Real time monitoring of pg_dump progress through web apps

From: Anup Greens <agreens123(at)gmail(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Real time monitoring of pg_dump progress through web apps
Date: 2012-02-15 05:01:42
Message-ID: CACODLfbPJSfOJeSaSHwF-mtwRcFVPqu1dJHKizD_mTVkSvRujQ@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
Thanks for the response.

On Tue, Feb 14, 2012 at 8:04 PM, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov
> wrote:

> Anup Greens <agreens123(at)gmail(dot)com> wrote:
>
> > Our web app is using postgres as DB. We want to give our clients
> > the options of backing up his data. Since the data is couple of
> > GBs it takes couple of minutes to execute pg_dump on DB after the
> > user has selected backup option from his/her browser.
> > We want to show some sort of progress bar for the backup
> > operation. So my questions are : Is there a way of asking pg_dump
> > to report back the time it estimates to complete the backup
> > operation.  Or even before executing pg_dump is there a way of
> > knowing how much time pg_dump will take to dump a the database?
>
> No.  The closest you could get would be to use the --verbose option
> of pg_dump and show the resulting messages.
>
> -Kevin
>

In response to

pgsql-admin by date

Next:From: Frank LanitzDate: 2012-02-15 08:54:21
Subject: Error in log
Previous:From: Kevin GrittnerDate: 2012-02-14 14:34:13
Subject: Re: Real time monitoring of pg_dump progress through web apps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group