Re: Unable to run pg_dump from crontab

Поиск
Список
Период
Сортировка
От Nick Fankhauser
Тема Re: Unable to run pg_dump from crontab
Дата
Msg-id NEBBLAAHGLEEPCGOBHDGGEAPGMAA.nickf@ontko.com
обсуждение исходный текст
Ответ на Unable to run pg_dump from crontab  ("Daniel Ostroff" <dano@livingincomfort.com>)
Ответы Re: Unable to run pg_dump from crontab  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-admin
Dan-

Either create user "adam" in the database, or create the crontab entry under
a unix user that already has access to the database. I routinely run my
backups as the "postgres" user to ensure that I don't miss anything.

-Nick
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Daniel Ostroff
Sent: Monday, February 17, 2003 5:18 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Unable to run pg_dump from crontab


I'm trying to run a pg_dump under Crontab (FreeBSD is the OS).

The command line is:

/usr/home/jwilbur/usr/local/bin/pg_dump ShopCart >
~/usr/local/shopcart/backup/ShopCart.pgdump

I am getting the following message:

pg_dump: [archiver (db)] connection to database "ShopCart" failed: FATAL 1:
user "adam" does not exist

What can I do to correct this?

Thanks,

/Dan


В списке pgsql-admin по дате отправления:

Предыдущее
От: "mark carew"
Дата:
Сообщение: libpq.dll ??
Следующее
От: Laurette Cisneros
Дата:
Сообщение: Re: server won't shutdown