Re: Fast backup/restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mengel(at)notes(dot)cc(dot)sunysb(dot)edu
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fast backup/restore
Date: 2006-10-17 15:11:02
Message-ID: 28103.1161097862@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mengel(at)notes(dot)cc(dot)sunysb(dot)edu writes:
> We just tar/gzip the entire data directory. It takes all of 20 sec. We've
> successfully restored from that also.

You've been very lucky ... unless you stopped the postmaster while
taking the backup. Without that, this method WILL screw you someday.

(But as long as you're willing to stop the postmaster, it's a perfectly
reasonable option.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian Mathis 2006-10-17 15:11:19 Re: A query planner that learns
Previous Message Martijn van Oosterhout 2006-10-17 15:09:22 Re: How to _really_use a non-default tablespace