Data backup to local duplicate without resetting permissions

From: gvim <gvimrc(at)gmail(dot)com>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Data backup to local duplicate without resetting permissions
Date: 2010-12-23 16:55:10
Message-ID: 4D137EEE.6000209@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What's the easiest way, in PostgreSQL 9.0, to keep a duplicate database on my local machine updated at intervals from another on a remote machine without having to reset permissions after a backup/restore. Also which type of backup? Plain text or compressed? Data-only or complete shema? Setup duplicate users or can I use a distinct set of users? I would ideally like to have the same schemas setup with distinct users then simply have a data-only backup from the remote server which I can restore to the local machine without resetting privileges/permissions.

gvim

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reto Schöning 2010-12-23 16:57:13 Re: "could not accept SSPI security context"
Previous Message Harald Armin Massa 2010-12-23 15:28:39 Re: Issue while using PostgreSql 8.4.