Please let me know below details.
pg_basebackup utility depends on which are the parameters?
Is there any possibility to run the pg_basebackup in multi thread?
To improve the speed of the backup of database using pg_basebackup utility we shutdown the database and started alone database services. Till that time other sevices won't run. We observed some improvement but any other things we need to perform to reduce the time taken by the pg_basebackup utility.
We are using below command to take the backup of the database. Any improvements to reduce the time taken by backup statement.
$PGHOME/bin/pg_basebackup -p 5433 -U postgres -P -v -x --format=tar --gzip --compress=6 --pgdata=- -D /opt/backup_db