Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to list/delete backups for inactive server #227

Closed
SpComb opened this issue May 28, 2019 · 1 comment · May be fixed by #722
Closed

Unable to list/delete backups for inactive server #227

SpComb opened this issue May 28, 2019 · 1 comment · May be fixed by #722

Comments

@SpComb
Copy link

SpComb commented May 28, 2019

As part of upgrading a server from PostgreSQL 9.5 -> 11 using pg_dumpall | psql, I had to configure a new barman backup server to replace the old barman backup server. I now have two barman servers configured: xyz-pgsql-dev1 (active = false) and xyz-pgsql-dev1@11. I would like to gradually cleanup the backups for the old server to make space for the new backups, but I am unable to use the barman command to do this:

$ sudo barman list-server
xyz-pgsql-dev1 - xyz-pgsql-dev1 @ PostgreSQL 9.5 (inactive)
xyz-pgsql-dev1@11 - xyz-pgsql-dev1 @ PostgreSQL 11
$ sudo barman list-backup xyz-pgsql-dev1
Skipping inactive server 'xyz-pgsql-dev1'
$ sudo barman delete xyz-pgsql-dev1 20190521T031702
Skipping inactive server 'xyz-pgsql-dev1'

Would it be possible to allow such maintenance commands for inactive servers, when using active = false to decomission a server?

@amenonsen
Copy link
Contributor

As part of an effort to pick up maintenance of Barman, I'm closing this and many other old open issues in this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants