On Tue, Mar 1, 2022 at 6:55 PM dulhaver via Barman, Backup and
Recovery Manager for PostgreSQL <
pgba...@googlegroups.com> wrote:
>
> I run a local instance where barman and postgres run on the same machine
>
> There is trouble with backups and read an error in the postgres logs complaining about the archive_command
>
> archive_command = 'barman-wal-archive localhost:/var/lib/barman/postgres-local/incoming localhost %p'
you are using barman-wal-archive as it was a kind of rsync, but the
command is simpler:
barman-wal-archive -U postgres localhost localhost %p
or something like that. You need to specify the user, the target host,
the name of the host in the configuration and %p placeholder.
Now, running this on localhost means you are going to load the
internal netwrork instead of a direct file trnsfer.
Luca