From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> |
Cc: | pgsql-admin(at)postgresql(dot)org, gnanam(at)zoniac(dot)com |
Subject: | Re: Database clone stuck in the middle |
Date: | 2010-04-02 14:02:24 |
Message-ID: | 4BB5F8F0.10908@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Le 02/04/2010 15:38, Kevin Grittner a écrit :
> "Gnanakumar" <gnanam(at)zoniac(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-04-02 14:16:56 | Re: Database clone stuck in the middle |
Previous Message | Kevin Grittner | 2010-04-02 13:38:36 | Re: Database clone stuck in the middle |