Re: File system level copy - Mailing list pgsql-general

From Albe Laurenz
Subject Re: File system level copy
Date
Msg-id D960CB61B694CF459DCFB4B0128514C208AF0CBE@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: File system level copy  ("Wang, Hao" <Hao.Wang@emc.com>)
List pgsql-general
Hao Wang wrote:

> My purpose is not to do backup for my database.

I understood that.  It was just a side comment.

> I just want to copy the whole db3 database to another
> machine and restore it. That database could be very large so I think
directly copy is more efficient
> than pg_dump.  So I'd like to do some test to see if this way works.
If it doesn't work, I will
> consider to use pg_dump.

Any attempt to make a file system copy of a live system without
doing PITR will very likely cause data corruption.

You'll have to use pg_dump.

Yours,
Laurenz Albe


pgsql-general by date:

Previous
From: hari.fuchs@gmail.com
Date:
Subject: Re: Finding first free time from reservations table
Next
From: Vishalakshi Navaneethakrishnan
Date:
Subject: Postgres Index