pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kemin Zhou <kemin.zhou@ferring.com>
To: Victor Sudakov <vas@mpeks.no-spam-here.tomsk.su>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: automatic pg_dumpall
Date: Thu, 25 Mar 2004 17:00:12 -0800
Message-ID: <4063809C.3050001@ferring.com> (raw)
In-Reply-To: <c3tmns$2715$1@mpeks.tomsk.su>
References: <c3tmns$2715$1@mpeks.tomsk.su>

Victor Sudakov wrote:

>Colleagues,
>
>If I have to organize an automatic nightly pg_dumpall, how do I handle
>authentication ? I do not want to create a passwordless superuser (or
>trust method in pg_hba.conf), and there is noone to enter the password
>manually.  Is there another recipe?
>
>Thanks in advance for any input.
>
>  
>
use crontab
run this daily
su - postgres -c "/usr/local/pgsql/bin/pg_dump -b -Ft -f db.tar -h 
machine_name_of_db your_db"

Kemin






**********************************************************************
Proprietary or confidential information belonging to Ferring Holding SA or to one of its affiliated companies may be contained in the message. If you are not the addressee indicated in this message (or responsible for the delivery of the message to such person), please do not copy or deliver this message to anyone. In such case, please destroy this message and notify the sender by reply e-mail. Please advise the sender immediately if you or your employer do not consent to e-mail for messages of this kind. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Ferring.
**********************************************************************




view thread (4+ messages)  latest in thread

Message-ID: <4063809C.3050001@ferring.com>
Permalink:  ../4063809C.3050001@ferring.com/
Also on:    postgresql.org/message-id/4063809C.3050001@ferring.com

 · 

reply

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-admin@postgresql.org
  Cc: kemin.zhou@ferring.com, vas@mpeks.no-spam-here.tomsk.su
  Subject: Re: automatic pg_dumpall
  In-Reply-To: <4063809C.3050001@ferring.com>
  References: <c3tmns$2715$1@mpeks.tomsk.su> <4063809C.3050001@ferring.com>

* 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