Backup Strategies?

From: Joshua Kramer <josh(at)globalherald(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Backup Strategies?
Date: 2007-02-03 06:51:56
Message-ID: Pine.LNX.4.64.0702030141110.1342@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Hello All,

What strategies are people using for automated, script-based backup of
databases? There are a few I can think of:

1. Create a "db_backup" unix user and a "db_backup" pgsql user. Grant
READ access to all objects on all databases for the "db_backup" pgsql
user. Create a .pgpass file in the home directory of the "db_backup" unix
user. Backup as needed with a script run as the "db_backup" unix user.

2. Create a "db_backup" unix user and repeat above, except using the
"postgres" db user.

Thanks,
-Josh

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shoaib Mir 2007-02-03 08:18:58 Re: Backup Strategies?
Previous Message Robert Leftwich 2007-02-03 03:49:54 Re: pg_dumpall failure - could not access status of transaction