Hi,
I'm using baman 1.3.2 on a Centox 6.5 box.
Here are the output of the above commands:
bash-4.1$ barman check server-dbServer pitch6-db: ssh: OK PostgreSQL: OK archive_mode: OK archive_command: OK directories: OK retention policy settings: OK compression settings: OK minimum redundancy requirements: OK (have 0 backups, expected at least 0)
bash-4.1$ barman status server-dbServer server-db: Description: Pitch6 PostgreSQL Database PostgreSQL version: 9.3.4 pgespresso extension: Not available PostgreSQL Data directory: /var/lib/pgsql/9.3/data PostgreSQL 'archive_command' setting: rsync -a %p bar...@10.130.232.46:/var/lib/barman/server-db/incoming/%f Archive status: last shipped WAL segment None Current WAL segment: 000000010000000000000014 Retention policies: not enforced No. of available backups: 0 First available backup: None Last available backup: None Minimum redundancy requirements: satisfied (0/0)bash-4.1$ barman diagnose
{
"global": {
"config": {
"barman_home": "/var/lib/barman",
"barman_user": "barman",
"configuration_files_directory": "/etc/barman/conf.d",
"log_file": "/var/log/barman/barman.log"
},
"system_info": {
"kernel_ver": "Linux server-backup 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux",
"python_ver": "Python 2.6.6",
"release": "RedHat Linux CentOS release 6.5 (Final)",
"rsync_ver": "rsync version 3.0.6 protocol version 30",
"ssh_ver": "OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013"
}
},
"servers": {
"server-db": {
"backups": {
"20140527T100200": {
"backup_id": "20140527T100200",
"backup_label": "None",
"begin_offset": "40",
"begin_time": "Tue May 27 10:02:00 2014",
"begin_wal": "00000001000000000000000B",
"begin_xlog": "0/B000028",
"config_file": "/var/lib/pgsql/9.3/data/postgresql.conf",
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": null,
"hba_file": "/var/lib/pgsql/9.3/data/pg_hba.conf",
"ident_file": "/var/lib/pgsql/9.3/data/pg_ident.conf",
"mode": "default",
"pgdata": "/var/lib/pgsql/9.3/data",
"server_name": "server-db",
"size": null,
"status": "STARTED",
"tablespaces": null,
"timeline": 1,
"version": 90304
},
"20140527T105733": {
"backup_id": "20140527T105733",
"backup_label": "None",
"begin_offset": null,
"begin_time": null,
"begin_wal": null,
"begin_xlog": null,
"config_file": null,
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": "failure detecting data directory (FATAL: no pg_hba.conf entry for host \"10.130.232.46\", user \"postgres\", database \"postgres\", SSL off)",
"hba_file": null,
"ident_file": null,
"mode": "default",
"pgdata": null,
"server_name": "server-db",
"size": null,
"status": "FAILED",
"tablespaces": null,
"timeline": null,
"version": null
},
"20140527T105809": {
"backup_id": "20140527T105809",
"backup_label": "None",
"begin_offset": null,
"begin_time": null,
"begin_wal": null,
"begin_xlog": null,
"config_file": null,
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": "failure detecting data directory (FATAL: no pg_hba.conf entry for host \"10.130.232.46\", user \"postgres\", database \"postgres\", SSL off)",
"hba_file": null,
"ident_file": null,
"mode": "default",
"pgdata": null,
"server_name": "server-db",
"size": null,
"status": "FAILED",
"tablespaces": null,
"timeline": null,
"version": null
},
"20140527T111236": {
"backup_id": "20140527T111236",
"backup_label": "None",
"begin_offset": null,
"begin_time": null,
"begin_wal": null,
"begin_xlog": null,
"config_file": null,
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": "failure detecting data directory (FATAL: no pg_hba.conf entry for host \"10.130.232.46\", user \"postgres\", database \"postgres\", SSL off)",
"hba_file": null,
"ident_file": null,
"mode": "default",
"pgdata": null,
"server_name": "server-db",
"size": null,
"status": "FAILED",
"tablespaces": null,
"timeline": null,
"version": null
},
"20140527T111803": {
"backup_id": "20140527T111803",
"backup_label": "None",
"begin_offset": null,
"begin_time": null,
"begin_wal": null,
"begin_xlog": null,
"config_file": null,
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": "failure detecting data directory (FATAL: no pg_hba.conf entry for host \"10.130.232.46\", user \"postgres\", database \"postgres\", SSL off)",
"hba_file": null,
"ident_file": null,
"mode": "default",
"pgdata": null,
"server_name": "server-db",
"size": null,
"status": "FAILED",
"tablespaces": null,
"timeline": null,
"version": null
},
"20140527T112156": {
"backup_id": "20140527T112156",
"backup_label": "None",
"begin_offset": "40",
"begin_time": "Tue May 27 11:21:56 2014",
"begin_wal": "000000010000000000000010",
"begin_xlog": "0/10000028",
"config_file": "/var/lib/pgsql/9.3/data/postgresql.conf",
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": null,
"hba_file": "/var/lib/pgsql/9.3/data/pg_hba.conf",
"ident_file": "/var/lib/pgsql/9.3/data/pg_ident.conf",
"mode": "default",
"pgdata": "/var/lib/pgsql/9.3/data",
"server_name": "server-db",
"size": null,
"status": "STARTED",
"tablespaces": null,
"timeline": 1,
"version": 90304
},
"20140528T052946": {
"backup_id": "20140528T052946",
"backup_label": "None",
"begin_offset": "40",
"begin_time": "Wed May 28 05:29:46 2014",
"begin_wal": "000000010000000000000013",
"begin_xlog": "0/13000028",
"config_file": "/var/lib/pgsql/9.3/data/postgresql.conf",
"end_offset": null,
"end_time": null,
"end_wal": null,
"end_xlog": null,
"error": null,
"hba_file": "/var/lib/pgsql/9.3/data/pg_hba.conf",
"ident_file": "/var/lib/pgsql/9.3/data/pg_ident.conf",
"mode": "default",
"pgdata": "/var/lib/pgsql/9.3/data",
"server_name": "server-db",
"size": null,
"status": "STARTED",
"tablespaces": null,
"timeline": 1,
"version": 90304
}
},
"config": {
"active": true,
"backup_directory": "/var/lib/barman/server-db",
"backup_options": "exclusive_backup",
"bandwidth_limit": null,
"barman_home": "/var/lib/barman",
"basebackups_directory": "/var/lib/barman/server-db/base",
"compression": null,
"conninfo": "host=10.130.232.45 user=postgres",
"custom_compression_filter": null,
"custom_decompression_filter": null,
"description": "Pitch6 PostgreSQL Database",
"immediate_checkpoint": false,
"incoming_wals_directory": "/var/lib/barman/server-db/incoming",
"lock_file": "/var/lib/barman/server-db/server-db.lock",
"minimum_redundancy": 0,
"name": "server-db",
"network_compression": false,
"post_backup_script": null,
"pre_backup_script": null,
"retention_policy": null,
"retention_policy_mode": "auto",
"ssh_command": "ssh
post...@10.130.232.45",
"tablespace_bandwidth_limit": null,
"wal_retention_policy": "main",
"wals_directory": "/var/lib/barman/server-db/wals"
},
"status": {
"archive_command": "rsync -a %p bar...@10.130.232.46:/var/lib/barman/server-db/incoming/%f",
"archive_mode": "on",
"config_file": "/var/lib/pgsql/9.3/data/postgresql.conf",
"current_xlog": "000000010000000000000014",
"data_directory": "/var/lib/pgsql/9.3/data",
"hba_file": "/var/lib/pgsql/9.3/data/pg_hba.conf",
"ident_file": "/var/lib/pgsql/9.3/data/pg_ident.conf",
"last_shipped_wal": null,
"pgespresso_installed": false,
"server_txt_version": "9.3.4"
},
"system_info": {
"kernel_ver": "Linux server-db 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux",
"python_ver": "Python 2.6.6",
"release": "RedHat Linux CentOS release 6.5 (Final)",
"rsync_ver": "bash: rsync: command not found",
"ssh_ver": "OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013"
}
}
}
}
And the log file have a lot of lines like these:
2014-05-28 11:14:02,189 barman.backup INFO: Processing xlog segments for server-db
2014-05-28 11:14:02,200 barman.backup INFO: no file found
2014-05-28 11:15:01,465 barman.backup INFO: Processing xlog segments for server-db
2014-05-28 11:15:01,470 barman.backup INFO: no file found
2014-05-28 11:16:01,737 barman.backup INFO: Processing xlog segments for server-db
2014-05-28 11:16:01,743 barman.backup INFO: no file found
2014-05-28 11:17:01,993 barman.backup INFO: Processing xlog segments for server-db
2014-05-28 11:17:01,999 barman.backup INFO: no file found