I did some research and it seems that it is possible to set archive commands which should be picked up by the rsync command:
archive_command = 'rsync -a %p --exclude /var/lib/pgsql/data/base/pgsql_tmp'
Restarted the server/database and when I do a 'SHOW ALL' command in PostgreSQL I can clearly see that the option has been set:
SHOW ALL;
name setting description
archive_command rsync -a %p --exclude /var/lib/pgsql/data/base/pgsql_tmp Sets the shell command that will be called to archive a WAL file.
But it still gives the same error that the /var/lib/pgsql/data/base/pgsql_tmp/ folder doesn't exist anymore and the backup reports a "FAILED" message.
It almost looks like the added parameters are not being picked up by Pgbarman, is there anything I am still missing?
Op woensdag 31 augustus 2016 15:48:09 UTC+2 schreef Tjeerd:
--
--
You received this message because you are subscribed to the "Barman for PostgreSQL" group.
To post to this group, send email to pgba...@googlegroups.com
To unsubscribe from this group, send email to
pgbarman+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB
---
You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pgbarman+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For more options, visit this group at
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB
---
You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pgbarman+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB
---
You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pgbarman+unsubscribe@googlegroups.com.