Skip to content
New issue

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

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

Already on GitHub? # to your account

No support for new Barman state "WAITING_FOR_WALS" #1

Open
ghost opened this issue Aug 14, 2019 · 4 comments
Open

No support for new Barman state "WAITING_FOR_WALS" #1

ghost opened this issue Aug 14, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Aug 14, 2019

Barman 2.5 added a new state "WAITING_FOR_WALS" which should not block a base sync. However, because this new state is not supported, base backups are skipped. My basesync.log is now full of these entries:

Tue Aug 13 23:05:01 UTC 2019 All done.
INFO: Executing task: /var/run/barmans3/queue.d/20190814T040001.run

+-------------------------------------------------------
START: Wed Aug 14 23:05:01 UTC 2019
WHOAMI: barman
BARMAN_BACKUP_DIR: /mnt/eph0/barman
BARMAN_BACKUP_ID: 20190814T040001
BARMAN_ERROR:
BARMAN_PHASE: post
BARMAN_SERVER: db-server
BARMAN_STATUS: WAITING_FOR_WALS

ERROR: Backup skipped!

Task done.

END: Wed Aug 14 23:05:01 UTC 2019
+-------------------------------------------------------

Here are the contents of the queue file:

sudo cat /var/run/barmans3/queue.d/20190821T040002.run
BARMAN_BACKUP_DIR="/mnt/eph0/barman"
BARMAN_BACKUP_ID="20190821T040002"
BARMAN_ERROR=""
BARMAN_PHASE="post"
BARMAN_SERVER="db-server"
BARMAN_STATUS="WAITING_FOR_WALS"

@mainframe
Copy link
Member

Could you please show also cat /var/run/barmans3/queue.d/20190814T040001.run output?

@mainframe mainframe self-assigned this Aug 15, 2019
@mainframe mainframe added the bug Something isn't working label Aug 15, 2019
@ghost
Copy link
Author

ghost commented Aug 21, 2019

@mainframe Done. Thanks.

@flavioarieta
Copy link

Would a simple modification to barmans3-base-sync:52 be enough to allow the base backup without any problems or there is more to it?

@mainframe
Copy link
Member

@flavioarieta should be enough.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants