Report this

What is the reason for this report?

Backup and restore of postgres db in barman

Posted on December 21, 2021

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



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!

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 @saurabhgore65

It seems this is more of a common issue with Barman and you might do better opening a support ticket with them directly https://github.com/EnterpriseDB/barman

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

Regards

Simon - SnapShooter Backups

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:

https://www.digitalocean.com/docs/databases/postgresql/how-to/

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

https://www.digitalocean.com/docs/databases/postgresql/how-to/restore-from-backups/

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

https://tute.io/automatic-backup-postgresql-dokku-digitalocean-spaces

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

  1. dokku postgres:backup dbname bucketname

Hope this helps!

Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.