1 Jul 2004 01:23
Re: backups
<wespvp <at> syntegra.com>
2004-06-30 23:23:08 GMT
2004-06-30 23:23:08 GMT
On 6/30/04 11:59 AM, "jearl <at> bullysports.com" <jearl <at> bullysports.com> wrote:
> You don't want to back files in the pgdata directory directly.
> Instead you want to use pg_dump to create a snapshot of your database
> and use that as your backup.
That's great for a small to medium database, but doesn't work worth a hoot
for large databases. With several hundred million to over a billion rows,
the pg_dump isn't too bad, but I can't wait days for the reload to complete.
While replication may be an option to avoid shutting the primary DB down, we
currently have to shut down the database and do file system dumps (full
weekly, incrementals nightly). Even with replication, we'd need to shut
down the shadow DB and do a file system backup - a replicate doesn't protect
you against replicated garbage. We are also investigating using file system
snapshots - shut the DB down, snapshot, bring it back up.
I'm looking forward to point in time recovery...
What do other sites with mondo databases do?
Wes
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Regards and best wishes,
Justin Clift
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo <at> postgresql.org
RSS Feed