From: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
---|---|
To: | "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org, Joko Siswanto <jokonet(at)gmail(dot)com> |
Subject: | Re: How to Backup like in mysql or ms sql server |
Date: | 2006-07-02 08:42:19 |
Message-ID: | 44A786EB.50903@wildenhain.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Uwe C. Schroeder wrote:
> You can technically just copy & paste the postgresql data directory IF YOU
> SHUT DOWN THE POSTMASTER FIRST! Be aware that this will only work for the
> same version of postgresql. Also: this is not a good way to do it and I'd
> encourage you not to use this as general means of backup (it's ok if you want
> to create a quick clone of an existing database on a second machine -
> provided that the platform and postgresql version on there is identical to
> the source).
Well, err. thats not completely true with current postgres versions:
http://www.postgresql.org/docs/current/static/backup-online.html
...
>> Is there any way to back-up database like mysql or sql server we just copy
>> and paste. Or maybe there is any tools to copy database when the service is
>> shutdown.
>>
>> Where is postgresql put teh database files?
Well, thats in the docs ;) (or see above)
btw, just "copy and paste" w/o preparation is
dangerous with the above databases too.
Regards
Tino
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-07-02 10:13:02 | Re: different sort order in windows and linux version |
Previous Message | Dave Page | 2006-07-02 07:28:20 | Techdocs error (WAS: RE: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4) |