Giter Club home page Giter Club logo

docker-barman's People

Contributors

brzhk avatar hgalvao avatar lhoss avatar mariomourao avatar rsilva4 avatar thojkooi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-barman's Issues

Lock files are not deleted when docker container is stopped

When I stop docker barman container, lock files are not cleared

-rw------- 1 lxd  lxd     4 Apr  4 13:43 .postgresql.postgresql.rancher.internal-archive-wal.lock
-rw------- 1 lxd  lxd     4 Apr  4 13:43 .postgresql.postgresql.rancher.internal-cron.lock
-rw------- 1 lxd  lxd     4 Apr  4 13:29 .postgresql.postgresql.rancher.internal-receive-wal.lock
-rw------- 1 lxd  lxd     4 Apr  4 13:43 .postgresql.postgresql.rancher.internal-xlogdb.lock

Always ask root@rec_pg password

Use example docker compose up ,but failed at backup all step.
its always ask root@rec_pg password
still failed after volumen .ssh folder that i can ssh inside the barman container

How to automatically handle server configurations?

Hi,
We are using Kubernetes, Helm + Docker. Developers dynamically (un-)deploy Postgres images on their own. We have to fully automate the backup therefore.

We have to handle one entry per server within "/etc/barman.d". Any idea how we should handle these entries fully automated?
-Markus

Barman cron is executed twice

barman deb package installs cron task to /etc/cron.d/barman and barman user also has {{barman cron}} task configured resulting in these log messags:

2017-04-04 11:38:01,371 [323] barman.server INFO: Another cron process is already running on server postgresql.postgresql.rancher.internal. Skipping to the next server
2017-04-04 11:38:01,521 [339] barman.wal_archiver INFO: No xlog segments found from streaming for postgresql.postgresql.rancher.internal.
2017-04-04 11:39:01,576 [348] barman.server INFO: Another cron process is already running on server postgresql.postgresql.rancher.internal. Skipping to the next server
2017-04-04 11:39:01,722 [362] barman.wal_archiver INFO: No xlog segments found from streaming for postgresql.postgresql.rancher.internal.
2017-04-04 11:40:01,786 [367] barman.server INFO: Another cron process is already running on server postgresql.postgresql.rancher.internal. Skipping to the next server
2017-04-04 11:40:01,940 [385] barman.wal_archiver INFO: No xlog segments found from streaming for postgresql.postgresql.rancher.internal.
2017-04-04 11:41:01,965 [390] barman.server INFO: Another cron process is already running on server postgresql.postgresql.rancher.internal. Skipping to the next server
2017-04-04 11:41:02,117 [408] barman.wal_archiver INFO: No xlog segments found from streaming for postgresql.postgresql.rancher.internal.

Periodic recovery check

The goal is to have a scheduled recovery task for desired servers that somehow ensures the backup validity. This recovery task should also generate Prometheus metrics.

Maybe this should be accomplished by a companion image.

barman prom-exporter: configurable http port

Port is currently hardcoded (to 8000)
I want to contribute an improvment to have it configurable (keeping old port as default) through 1 of the following ways:

  • (opt) cmd-line args (like --listen-port)
  • new (opt) ENV var like BARMAN_EXPORTER_PORT
    • PR (for this variant): #18

any preference @rsilva4 ?
IMO using the ENV is easier and consistent to the current impl. though using cmdline args would be more standard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.