Hello Abhilash,
I guess this is the issue: "I've already enabled pgespresso
extension and archived wal logs from Master to a directory named
'wals' in the slave server's data directory".
You should archive WAL files from the master to the backup server
(in the incoming directory), rather than on the standby (unless you
transfer on both servers, but in my view that is an unnecessary
precaution). You should have streaming replication in place between
the master and the standby, is that right?
For completeness, I am cutting/pasting a section from the
documentation you find at
http://docs.pgbarman.org/#concurrent_backup_and_backup_from_a_standby
:
> When backing up from a standby server, continuous archiving of WAL files must be configured on the master to ship files to the Barman server (as outlined in the "Continuous WAL archiving" section above).
> [ In case of concurrent backup, currently Barman does not have a way to determine that the closing WAL file of a full backup has actually been shipped - opposite to the case of an exclusive backup where it is Postgres itself that makes sure that the WAL file is correctly archived. Be aware that the full backup cannot be considered consistent until that WAL file has been received and archived by Barman. We encourage Barman users to wait to delete the previous backup - at least until that moment. ]
Please pay also attention to the last paragraph, as it is very important.
Let me know if I have correctly understood your problem and answered
your question.
Could you also send the output of "barman diagnose"?
Thanks,
Gabriele
--
Gabriele Bartolini - 2ndQuadrant Italia
PostgreSQL Training, Services and Support
gabriele....@2ndQuadrant.it |
www.2ndQuadrant.it
> --
> --
> You received this message because you are subscribed to the "Barman for
> PostgreSQL" group.
> To post to this group, send email to
pgba...@googlegroups.com
> To unsubscribe from this group, send email to
>
pgbarman+u...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Barman, Backup and Recovery Manager for PostgreSQL" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pgbarman+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.