Il 06/04/17 18:52, Marcin K. ha scritto:
>
> Hi, could you please attach the `barma diagnose` output?
>
>
> Hi Marco,
>
> Unfortunately this is not possible, corporate server with no network
> access. I understand that it may cause the problem much difficult to
> diagnose - sorry about that. If it's any help, I can quickly write more
> important parts of the config:
> compression = gzip
> immediate_checkpoint = false
> conninfo = ...
> streaming_conninfo = ...
> backup_method = postgres
> streaming_archiver = on
> slot_name = ...
>
> and that's about it. postgresql.conf archive_command configured (which
> works, because I can see files in incoming_wals_directory)
>
Well, it looks like you don't have 'archiver = on' in your list.
> Is there anything I can copy from diagnose what would help?
>
The diagnose is only a sum of 'barman check', 'barman show-server',
'barman status' and 'barman list-backup' for every server. It is useful
to have the status of the whole server in one shot. For this issue the
most important part is the output of 'barman show-server'.
> Is this expected to work? I mean, using barman with two sources of WALs
> - streaming and shipping from postgres. Is barman suppose to deal with
> it and remove unnecessary logs (which I have twice - in incoming and
> streaming dir)? Logs from streaming dir get compressed and moved to
> wals/ - this is fine.
>
Logs from the two sources are identical if everything is correctly
configured, so barman verify them and simply removes the second
identical file. In case they will not match, usually due to some
mistake, it will put the second file in the errors directory and the
'barman check' command will start to complain.