Replicating an existing (huge) database - Mailing list pgsql-general

From Srinivasa T N
Subject Replicating an existing (huge) database
Date
Msg-id CAFruNdeXBDzHvQGBPfvc+cbKKTq=WsJKTzdKYkhMpLsG3RtGdA@mail.gmail.com
Whole thread Raw
Responses Re: Replicating an existing (huge) database  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: Replicating an existing (huge) database  (Torsten Förtsch <tfoertsch123@gmail.com>)
List pgsql-general
Hi All,
   I am using postgresql 12.  As part of streaming replication setup, I run pg_basebackup on the slave which copies the database from master to slave.  But the database is huge and it takes around 2 to 3 days for the pg_basebackup to finish.  When pg_basebackup is running, a huge number of wal files are generated on the master which occupies a lot of space (even though it is for 2-3 days, disk space is low).   Is there any other way to start replication without using pg_baseback?

Regards,
Seenu.

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: autovacuum hung on simple tables
Next
From: Laurenz Albe
Date:
Subject: Re: Replicating an existing (huge) database