Re: Database clone stuck in the middle - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Database clone stuck in the middle
Date
Msg-id 4BB5F8F0.10908@lelarge.info
Whole thread Raw
In response to Re: Database clone stuck in the middle  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Database clone stuck in the middle  ("Gnanakumar" <gnanam@zoniac.com>)
Re: Database clone stuck in the middle  ("Gnanakumar" <gnanam@zoniac.com>)
List pgsql-admin
Le 02/04/2010 15:38, Kevin Grittner a écrit :
> "Gnanakumar" <gnanam@zoniac.com> wrote:
>
>> I connect to our database which is hosted remotely using PuTTY
>> thro SSH protocol.
>
>> my Internet got disconnected in the middle,
>> so database cloning was also stuck in the middle.
>
>> 4. Considering this Internet disconnection problem, what is the
>> safest way to clone a database using CREATE DATABASE WITH TEMPLATE
>> command, so that this will not happen in the future?
>
> You putty to the server and run psql from a shell on the database
> server?
>
> If so, try putting the word "nohup" in front of "psql" -- that tells
> the program to keep running even if the connection is lost.  (It is
> short for "no hangup", I believe.)
>

Or use screen.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Database clone stuck in the middle
Next
From: Tom Lane
Date:
Subject: Re: Database clone stuck in the middle