Thank you very much for your explanation.
We are taking the backup of database everyday using pg_basebackup utility. We have implemented a pg_basebackup utility through shell script.This will be invoked everyday at 2AM and takes the backup of database.
We don't have any building standby server. In order to take the backup of the database through pg_basebackup utility, we have enable below things.
wal_level = archive
archive_mode = on
max_wal_senders = 1
Through your update, I understand we haven't enabled archive_command (#archive_command = '') due to this number of wal files are keep on growing in pg_xlog. How to meet my requirement? Please guide me .
Regards,
Raghavendra Rao