Re: file system level backup

From: iztech <rashantha(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: file system level backup
Date: 2008-06-12 19:54:47
Message-ID: 32a0fcb3-54d0-402a-a390-e47bdd03200c@f63g2000hsf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Jun 12, 6:31 am, iztech <rashan(dot)(dot)(dot)(at)gmail(dot)com> wrote:
> i have just switched to posgresql and installed for use with ruby.
>
> i need to move my app and database to a new server. since i can shut
> down the server i think it will be easier for me to do a file system
> level back up.
>
> when i try to shut the server down i get this message
>
>  sudo -u postgres pg_ctl -D /opt/local/var/db/postgresql82/defaultdb
> stop
> pg_ctl: PID file "/opt/local/var/db/postgresql82/defaultdb/
can anyone let me know how i can tell where the db are located?

> postmaster.pid" does not exist
> Is server running?
>
> it is running.
>
> this is my first time attempting this. can someone suggest an easy
> tutorial on this.
>
> also...
> i have set up the new server with the same permissions so i should be
> able to move the db to the new location.
>
> total newbie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Denne 2008-06-12 22:24:14 Re: Win32 8.3.3 install fail (sufficient privileges to install system services).
Previous Message Raymond O'Donnell 2008-06-12 18:53:38 Re: Win32 8.3.3 install fail (sufficient privileges to