From: sivapostgres@yahoo.com <sivapostgres@yahoo.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Copy & Re-copy of DB
Date: Thu, 21 Jan 2021 13:13:44 +0000 (UTC)
Message-ID: <1776022013.3890342.1611234824367@mail.yahoo.com> (raw)
References: <1776022013.3890342.1611234824367.ref@mail.yahoo.com>
Hello,
I'm from SQL Server now developing my current project using PG.
In our earlier project(s), we used to copy the database from one server to another, work in another server, and re-copy it in the original server. All happened easily with just transferring the two files (mdf & ldf) to our required server.
Want to replicate the same in PG. Is there any way to accomplish the same in PG ?
Limitation of Backup utility. Transfer to another server was done successfully. When we want to re-copy to original server, we have to delete the original db in the original server, create a new db, restore it. Is that the only way ? or any other elegant way available ?
Happiness AlwaysBKR Sivaprakash
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: sivapostgres@yahoo.com
Subject: Re: Copy & Re-copy of DB
In-Reply-To: <1776022013.3890342.1611234824367@mail.yahoo.com>
References: <1776022013.3890342.1611234824367.ref@mail.yahoo.com> <1776022013.3890342.1611234824367@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox