with barman 1.3.1 and postgres 8.4, starting a backup:
Starting backup for server test-8.4 in /tmp/barman-tests/test-8.4/base/20140415T104148 ERROR: Backup failed issuing start backup command: pg_start_backup(): current transaction is aborted, commands ignored until end of transaction block
From logfile:
2014-04-15 10:41:48,705 barman.backup DEBUG: initialising backup information 2014-04-15 10:41:48,857 barman.backup INFO: Starting backup for server test-8.4 in /tmp/barman-tests/test-8.4/base/20140415T104148 2014-04-15 10:41:48,858 barman.backup DEBUG: connecting to database (host=/tmp port=5484 user=postgres dbname=postgres) 2014-04-15 10:41:48,858 barman.backup DEBUG: detecting data directory 2014-04-15 10:41:48,919 barman.backup DEBUG: detecting tablespaces 2014-04-15 10:41:48,923 barman.backup DEBUG: issuing start backup command 2014-04-15 10:41:48,926 barman.server DEBUG: Error calling pg_is_in_recovery() function: function pg_is_in_recovery() does not exist LINE 1: select pg_is_in_recovery() ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2014-04-15 10:41:48,926 barman.server DEBUG: pg_start_backup(): current transaction is aborted, commands ignored until end of transaction block 2014-04-15 10:41:48,929 barman.backup ERROR: Backup failed issuing start backup command: pg_start_backup(): current transaction is aborted, commands ignored until end of transaction block
Bug fixed with this commit:
https://sourceforge.net/p/pgbarman/code/ci/257152972368d8fc91c681cb66ce451e02460c30/