Re: pg_dump why no indicator of completion

From: Tim <timfosho(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: pg_dump why no indicator of completion
Date: 2023-05-02 03:21:58
Message-ID: CAKhLO5h0iaJFrESO2yUBwKYUgqWhMocRQyxejEXOdZ_9Jo7GeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> After reading the responses in this thread I've adjusted it to capture
the exit status

Just so I'm not a complete troll, heres your example which also appends a
success/fail message :)

nohup $(pg_dump ${connection_details} > something.log 2>&1 && echo "pgdump
succeded" >> something.log || echo "pgdump failed" something.log) &

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron 2023-05-02 07:41:47 Re: pg_dump why no indicator of completion
Previous Message Ian Lawrence Barwick 2023-05-02 03:14:45 Re: pg_dump why no indicator of completion