pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
suggestion the process to sync the data from PROD DB to Staging environment
7+ messages / 4 participants
[nested] [flat]

* suggestion the process to sync the data from PROD DB to Staging environment
@ 2020-05-27 15:56 postgann2020 s <postgann2020@gmail.com>
  2020-05-27 16:03 ` Re: suggestion the process to sync the data from PROD DB to Staging environment Luan Huynh <nnhluan@gmail.com>
  2020-05-27 16:20 ` Re: suggestion the process to sync the data from PROD DB to Staging environment David G. Johnston <david.g.johnston@gmail.com>
  2020-05-27 17:36 ` Re: suggestion the process to sync the data from PROD DB to Staging environment soumitra bhandary <soumitra.bhandary@hotmail.com>
  0 siblings, 3 replies; 7+ messages in thread

From: postgann2020 s @ 2020-05-27 15:56 UTC (permalink / raw)
  To: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

Hi Team,

Thanks for your support.

Could someone please suggest the process to *sync the data from PROD DB to
the Staging environment* with minimal manual intervention or automatically.

Thanks & Regards,
Postgann.

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: suggestion the process to sync the data from PROD DB to Staging environment
  2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
@ 2020-05-27 16:03 ` Luan Huynh <nnhluan@gmail.com>
  2020-05-27 16:08   ` Re: suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
  2 siblings, 1 reply; 7+ messages in thread

From: Luan Huynh @ 2020-05-27 16:03 UTC (permalink / raw)
  To: postgann2020 s <postgann2020@gmail.com>; +Cc: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

Hi Postgann,

How frequently do you sync *hourly/daily/weekly*? Do you have other
processes writing data into Staging env?

Regards,

On Wed, May 27, 2020 at 5:56 PM postgann2020 s <postgann2020@gmail.com>
wrote:

> Hi Team,
>
> Thanks for your support.
>
> Could someone please suggest the process to *sync the data from PROD DB
> to the Staging environment* with minimal manual intervention or
> automatically.
>
> Thanks & Regards,
> Postgann.
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: suggestion the process to sync the data from PROD DB to Staging environment
  2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
  2020-05-27 16:03 ` Re: suggestion the process to sync the data from PROD DB to Staging environment Luan Huynh <nnhluan@gmail.com>
@ 2020-05-27 16:08   ` postgann2020 s <postgann2020@gmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: postgann2020 s @ 2020-05-27 16:08 UTC (permalink / raw)
  To: Luan Huynh <nnhluan@gmail.com>; +Cc: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

Hi Luan,

Thanks for your email.

How frequently do you sync *hourly/daily/weekly*?  > looking for a daily
basis.
Do you have other processes writing data into Staging env?  > Yes, we have
old PROD data.

Thanks & Regards,
Postgann.

On Wed, May 27, 2020 at 9:33 PM Luan Huynh <nnhluan@gmail.com> wrote:

> Hi Postgann,
>
> How frequently do you sync *hourly/daily/weekly*? Do you have other
> processes writing data into Staging env?
>
> Regards,
>
> On Wed, May 27, 2020 at 5:56 PM postgann2020 s <postgann2020@gmail.com>
> wrote:
>
>> Hi Team,
>>
>> Thanks for your support.
>>
>> Could someone please suggest the process to *sync the data from PROD DB
>> to the Staging environment* with minimal manual intervention or
>> automatically.
>>
>> Thanks & Regards,
>> Postgann.
>>
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: suggestion the process to sync the data from PROD DB to Staging environment
  2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
@ 2020-05-27 16:20 ` David G. Johnston <david.g.johnston@gmail.com>
  2020-05-27 16:31   ` Re: suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
  2 siblings, 1 reply; 7+ messages in thread

From: David G. Johnston @ 2020-05-27 16:20 UTC (permalink / raw)
  To: postgann2020 s <postgann2020@gmail.com>; +Cc: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

On Wed, May 27, 2020 at 8:56 AM postgann2020 s <postgann2020@gmail.com>
wrote:

> Could someone please suggest the process to *sync the data from PROD DB
> to the Staging environment* with minimal manual intervention or
> automatically.
>

Read up on the general purpose "bash" scripting language, the PostgreSQL
"pg_dump" and "pg_restore" commands, "ssh", and "cron".

"cron" and "bash" provide for the "automatically" requirement.

It is possible to assemble something functional with those tools.  Whether
it will actually work in your specific situation is impossible to say since
you provide zero information about your environment.

David J.

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: suggestion the process to sync the data from PROD DB to Staging environment
  2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
  2020-05-27 16:20 ` Re: suggestion the process to sync the data from PROD DB to Staging environment David G. Johnston <david.g.johnston@gmail.com>
@ 2020-05-27 16:31   ` postgann2020 s <postgann2020@gmail.com>
  2020-05-27 17:29     ` Re: suggestion the process to sync the data from PROD DB to Staging environment David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 1 reply; 7+ messages in thread

From: postgann2020 s @ 2020-05-27 16:31 UTC (permalink / raw)
  To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

Thanks, David,

Please find the environment details.

Environment:
PROD:
OS: RHEL 7.1
Postgres: 9.5.15

Staging:
OS: RHEL 7.1
Postgres: 9.5.15

Thanks&Regards,
PostgAnn.

On Wed, May 27, 2020 at 9:51 PM David G. Johnston <
david.g.johnston@gmail.com> wrote:

> On Wed, May 27, 2020 at 8:56 AM postgann2020 s <postgann2020@gmail.com>
> wrote:
>
>> Could someone please suggest the process to *sync the data from PROD DB
>> to the Staging environment* with minimal manual intervention or
>> automatically.
>>
>
> Read up on the general purpose "bash" scripting language, the PostgreSQL
> "pg_dump" and "pg_restore" commands, "ssh", and "cron".
>
> "cron" and "bash" provide for the "automatically" requirement.
>
> It is possible to assemble something functional with those tools.  Whether
> it will actually work in your specific situation is impossible to say since
> you provide zero information about your environment.
>
> David J.
>
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: suggestion the process to sync the data from PROD DB to Staging environment
  2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
  2020-05-27 16:20 ` Re: suggestion the process to sync the data from PROD DB to Staging environment David G. Johnston <david.g.johnston@gmail.com>
  2020-05-27 16:31   ` Re: suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
@ 2020-05-27 17:29     ` David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: David G. Johnston @ 2020-05-27 17:29 UTC (permalink / raw)
  To: postgann2020 s <postgann2020@gmail.com>; +Cc: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

On Wed, May 27, 2020 at 9:31 AM postgann2020 s <postgann2020@gmail.com>
wrote:

> Thanks, David,
>
> Please find the environment details.
>
> Environment:
> PROD:
> OS: RHEL 7.1
> Postgres: 9.5.15
>
> Staging:
> OS: RHEL 7.1
> Postgres: 9.5.15
>

Ok...not particularly helpful though I do see you are not keeping up with
minor and major releases.

Maybe the terms metrics and goals would have been better...like how big is
the database and what kind of network do the two machines exist in and how
would they communicate data from one to the other...

David J.

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: suggestion the process to sync the data from PROD DB to Staging environment
  2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
@ 2020-05-27 17:36 ` soumitra bhandary <soumitra.bhandary@hotmail.com>
  2 siblings, 0 replies; 7+ messages in thread

From: soumitra bhandary @ 2020-05-27 17:36 UTC (permalink / raw)
  To: postgann2020 s <postgann2020@gmail.com>; +Cc: pgsql-admin; pgsql-general <pgsql-general@postgresql.org>

If possible you can connect staging server as asynchronous slave node to one of the asynchronous node already in production

Sent from my iPhone

On 27-May-2020, at 9:26 PM, postgann2020 s <postgann2020@gmail.com> wrote:


Hi Team,

Thanks for your support.

Could someone please suggest the process to sync the data from PROD DB to the Staging environment with minimal manual intervention or automatically.

Thanks & Regards,
Postgann.


^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2020-05-27 17:36 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 15:56 suggestion the process to sync the data from PROD DB to Staging environment postgann2020 s <postgann2020@gmail.com>
2020-05-27 16:03 ` Luan Huynh <nnhluan@gmail.com>
2020-05-27 16:08   ` postgann2020 s <postgann2020@gmail.com>
2020-05-27 16:20 ` David G. Johnston <david.g.johnston@gmail.com>
2020-05-27 16:31   ` postgann2020 s <postgann2020@gmail.com>
2020-05-27 17:29     ` David G. Johnston <david.g.johnston@gmail.com>
2020-05-27 17:36 ` soumitra bhandary <soumitra.bhandary@hotmail.com>

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