Re: suggestion the process to sync the data from PROD DB to Staging environment

From: postgann2020 s <postgann2020(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: suggestion the process to sync the data from PROD DB to Staging environment
Date: 2020-05-27 16:31:13
Message-ID: CANynezOK7dVS-Q8UjZQMRBSwuK_bbb63OJ6zMg9PTMD+FFUTtw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Wed, May 27, 2020 at 8:56 AM postgann2020 s <postgann2020(at)gmail(dot)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.
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message postgann2020 s 2020-05-27 16:45:49 Suggestion to Monitoring Tool
Previous Message David G. Johnston 2020-05-27 16:20:56 Re: suggestion the process to sync the data from PROD DB to Staging environment

Browse pgsql-general by date

  From Date Subject
Next Message postgann2020 s 2020-05-27 16:45:49 Suggestion to Monitoring Tool
Previous Message David G. Johnston 2020-05-27 16:20:56 Re: suggestion the process to sync the data from PROD DB to Staging environment