Backup Strategies? - Mailing list pgsql-admin

From Joshua Kramer
Subject Backup Strategies?
Date
Msg-id Pine.LNX.4.64.0702030141110.1342@localhost.localdomain
Whole thread Raw
Responses Re: Backup Strategies?  ("Shoaib Mir" <shoaibmir@gmail.com>)
List 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


pgsql-admin by date:

Previous
From: "Robert Leftwich"
Date:
Subject: Re: pg_dumpall failure - could not access status of transaction
Next
From: "Shoaib Mir"
Date:
Subject: Re: Backup Strategies?