From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Hunter Hillegas <lists(at)lastonepicked(dot)com> |
Cc: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: 7.4 Crashed... Why? |
Date: | 2003-12-07 01:36:39 |
Message-ID: | 17319.1070760999@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hunter Hillegas <lists(at)lastonepicked(dot)com> writes:
> I did find a cron job that was running in the suspect time... But all it
> does is the following:
> DATE=`date +%Y%m%d`
> DB1=/root/database_backup/db1_db.$DATE
> su - postgres -c "/usr/local/pgsql/bin/pg_dump db1" >> $DB1
> gzip $DB1
> Is it possible this could cause some strange behavior? This backup script
> has been running for a year (every night) w/o any trouble.
The cron script itself certainly looks unexceptional. But if "su - postgres"
executes postgres' ~/.profile or other shell-startup scripts (I think it
does so on some platforms but not others), maybe you had some weird
behavior recently added to those scripts?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Hunter Hillegas | 2003-12-07 02:49:30 | Re: 7.4 Crashed... Why? |
Previous Message | Hunter Hillegas | 2003-12-07 00:11:49 | Re: 7.4 Crashed... Why? |