Re: win32: how to backup (dump does not work)

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "fkater(at)googlemail(dot)com" <fkater(at)googlemail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: win32: how to backup (dump does not work)
Date: 2008-02-26 21:37:12
Message-ID: 47C48688.6040704@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

fkater(at)googlemail(dot)com wrote:
> Hi,
>
> I urgently need a way to simply backup the database's data on win32
> (e.g. the 'data' directory).
>
> As discussed earlier I can't use dump/dumpall since my data needs
> persistent tableoids which, however, are not the same after a restore.
>
> AFAIK stopping the server, zipping data dir, and restarting the server
> creates a zip file which is not easily portable to other computers due
> to some ntfs file system permission problems.

What exactly would those problems be? If you can shut your server down
like this, that's absolutely the easiest way to get it done. It should
be portable across all win32 machines at least - and if that's not
enough, pg_dump really is your only option.

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Maciej Sieczka 2008-02-26 21:49:22 Re: how to auto GRANT custom ACL on a new table?
Previous Message Rodrigo E. De León Plicet 2008-02-26 21:37:08 Re: win32: how to backup (dump does not work)