Backup and restore of postgres db in barman

I have server with postgres db . Haved added some data whose backup is be to taken on barman. Inspite of following the complete procedure many times while running barman check postgres-server it shows the POSTGRESQL : failed following is the log result barman.server ERROR: Check ‘PostgreSQL’ failed for server ‘postgres-server’ 2021-12-21 09:10:00,040 [5272] barman.server INFO: Ignoring failed check ‘backup maximum age’ for server ‘postgres-server’ 2021-12-21 09:10:00,806 [5272] barman.server ERROR: Impossible to start the backup. Check the log for more details, or run ‘barman check postgres-server’ 2021-12-21 09:10:01,577 [5278] barman.wal_archiver INFO: No xlog segments found from file archival for postgres-server.

Pl provide a quick resolution as I have rub out of all ideas

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, there

Backups are handled automatically and included to you at no additional fee. Full backups are taken every day and write-ahead-logs are maintained to allow you to restore to any point in time during the retention period.

You an check our official Docs for the Managed PosfreSQL Database here:

And check the tutorial on how to restore a PostgreSQL cluster from Backups:

You can also manually back up your databases using the dokku-postgres plugin as well. You can check this article as well:

With this command you can manually backup PostgreSQL Database to DigitalOcean Spaces:

  1. dokku postgres:backup dbname bucketname

Hope this helps!

Regards, Alex

Hello @saurabhgore65

It seems this is more of a common issue with Barman and you might do better opening a support ticket with them directly

I would be interested to see what the output of “barman check postgres-serve” is.


Simon - SnapShooter Backups