| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Louis-David Mitterrand <vindex(at)apartia(dot)org> |
| Cc: | PostgreSQL-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: is backing up a live postgres enough? |
| Date: | 2002-11-24 17:40:25 |
| Message-ID: | 26954.1038159625@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Louis-David Mitterrand <vindex(at)apartia(dot)org> writes:
> I recently restored a debian system from off-site rsync'ed copie of
> /{var,etc,home} including a large Postgres db in /var/lib/postgres/data.
> FWIW the rsync backup was run nightly on the _live_ system with all
> daemons active.
> The db started fine on the restored filesystem. Was I lucky?
Exceedingly. Are you *sure* your data is okay --- have you actually run
any consistency checks? I'd be looking for partially-committed
transactions, broken indexes, that sort of thing.
> What is the accepted practice w.r.t Postgres backups?
*NOT* that.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2002-11-24 18:14:57 | Re: Calculated fileds in pg |
| Previous Message | Aleksei Wolff | 2002-11-24 17:36:19 | Re: GUI for Postgres Management? PostgreSQL vs MySQL. |