pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Geoffrey <esoteric@3times25.net>
To: pgsql-admin@postgresql.org
Subject: Re: Create Linux Script for PostgreSQL database backup
Date: Thu, 02 Sep 2004 05:57:24 -0400
Message-ID: <4136EE84.8040001@3times25.net> (raw)
In-Reply-To: <4136C42B.50303@tentacle.net>
References: <20040901132055.17178.qmail@web61008.mail.yahoo.com>
	<200409020744.03552.tech@glastonburymusic.org.uk>
	<4136C42B.50303@tentacle.net>

Kaolin Fire wrote:
> For that matter:
> 
> echo "1   3   *   *   *   postgres   /usr/local/bin/pg_dumpall > 
> ~/backup.sql" >> /etc/crontab
> 
> note to remember the two >>'s so you don't obliterate your crontab like 
> I just did.

Unless things have changed, and they might have, you have to tell cron 
to reread the crontab file for it to process your addition.  Your better 
solution is to use the tools designed for editing crontab, such as 
'crontab -e.'  If you use this tool, crontab will automagically reread 
the file.

-- 
Until later, Geoffrey       Registered Linux User #108567
                             AT&T Certified UNIX System Programmer - 1995



view thread (14+ messages)  latest in thread

Message-ID: <4136EE84.8040001@3times25.net>
Permalink:  ../4136EE84.8040001@3times25.net/
Also on:    postgresql.org/message-id/4136EE84.8040001@3times25.net

 · 

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: esoteric@3times25.net
  Subject: Re: Create Linux Script for PostgreSQL database backup
  In-Reply-To: <4136EE84.8040001@3times25.net>
  References: <20040901132055.17178.qmail@web61008.mail.yahoo.com> <200409020744.03552.tech@glastonburymusic.org.uk> <4136C42B.50303@tentacle.net> <4136EE84.8040001@3times25.net>

* 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