酒保状态始终为START

时间:2018-12-06 10:03:29

标签: postgresql barman

我正在尝试运行酒保服务器。酒保检查显示一切正常,但是当我尝试运行酒保备份时,状态始终为“已启动”。

我的数据库大小为5GB,但目录大小现在一直增加到25GB,并且仍在增加。这是我的酒保诊断

{
    "global": {
        "config": {
            "barman_home": "/var/lib/barman", 
            "barman_user": "barman", 
            "compression": "gzip", 
            "configuration_files_directory": "/etc/barman.d", 
            "errors_list": [], 
            "last_backup_maximum_age": "3 DAYS", 
            "log_file": "/var/log/barman/barman.log", 
            "log_level": "INFO", 
            "minimum_redundancy": "3", 
            "retention_policy": "RECOVERY WINDOW OF 2 WEEKS"
        }, 
        "system_info": {
            "barman_ver": "2.5", 
            "kernel_ver": "Linux backup 4.4.0-117-generic #141-Ubuntu SMP Tue Mar 13 11:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux", 
            "python_ver": "", 
            "release": "LSB Version:\tcore-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch\nDistributor ID:\tUbuntu\nDescription:\tUbuntu 16.04.4 LTS\nRelease:\t16.04\nCodename:\txenial", 
            "rsync_ver": "rsync  version 3.1.1  protocol version 31", 
            "ssh_ver": ""
        }
    }, 
    "servers": {
        "pg": {
            "backups": {}, 
            "config": {
                "active": true, 
                "archiver": false, 
                "archiver_batch_size": 0, 
                "backup_directory": "/var/lib/barman/pg", 
                "backup_method": "postgres", 
                "backup_options": "concurrent_backup", 
                "bandwidth_limit": null, 
                "barman_home": "/var/lib/barman", 
                "barman_lock_directory": "/var/lib/barman", 
                "basebackup_retry_sleep": 30, 
                "basebackup_retry_times": 0, 
                "basebackups_directory": "/var/lib/barman/pg/base", 
                "check_timeout": 30, 
                "compression": "gzip", 
                "conninfo": "host=pg user=barman dbname=somedb", 
                "custom_compression_filter": null, 
                "custom_decompression_filter": null, 
                "description": "somedb", 
                "disabled": false, 
                "errors_directory": "/var/lib/barman/pg/errors", 
                "immediate_checkpoint": false, 
                "incoming_wals_directory": "/var/lib/barman/pg/incoming", 
                "last_backup_maximum_age": "3 days", 
                "max_incoming_wals_queue": null, 
                "minimum_redundancy": 3, 
                "msg_list": [], 
                "name": "pg", 
                "network_compression": false, 
                "parallel_jobs": 1, 
                "path_prefix": null, 
                "post_archive_retry_script": null, 
                "post_archive_script": null, 
                "post_backup_retry_script": null, 
                "post_backup_script": "/var/lib/barman/report.sh", 
                "post_delete_retry_script": null, 
                "post_delete_script": null, 
                "post_recovery_retry_script": null, 
                "post_recovery_script": null, 
                "post_wal_delete_retry_script": null, 
                "post_wal_delete_script": null, 
                "pre_archive_retry_script": null, 
                "pre_archive_script": null, 
                "pre_backup_retry_script": null, 
                "pre_backup_script": null, 
                "pre_delete_retry_script": null, 
                "pre_delete_script": null, 
                "pre_recovery_retry_script": null, 
                "pre_recovery_script": null, 
                "pre_wal_delete_retry_script": null, 
                "pre_wal_delete_script": null, 
                "recovery_options": "", 
                "retention_policy": "window 2 w", 
                "retention_policy_mode": "auto", 
                "reuse_backup": null, 
                "slot_name": "barman", 
                "ssh_command": null, 
                "streaming_archiver": true, 
                "streaming_archiver_batch_size": 0, 
                "streaming_archiver_name": "barman_receive_wal", 
                "streaming_backup_name": "barman_streaming_backup", 
                "streaming_conninfo": "host=pg user=streaming_barman dbname=somedb", 
                "streaming_wals_directory": "/var/lib/barman/pg/streaming", 
                "tablespace_bandwidth_limit": null, 
                "wal_retention_policy": "simple-wal 2 w", 
                "wals_directory": "/var/lib/barman/pg/wals"
            }, 
            "status": {
                "config_file": "/etc/postgresql/9.4/main/postgresql.conf", 
                "connection_error": null, 
                "current_size": 5207495516.0, 
                "current_xlog": "000000010000000B00000026", 
                "data_directory": "/var/lib/postgresql/9.4/main", 
                "hba_file": "/etc/postgresql/9.4/main/pg_hba.conf", 
                "ident_file": "/etc/postgresql/9.4/main/pg_ident.conf", 
                "is_in_recovery": false, 
                "is_superuser": true, 
                "pg_basebackup_bwlimit": true, 
                "pg_basebackup_compatible": true, 
                "pg_basebackup_installed": true, 
                "pg_basebackup_path": "/usr/bin/pg_basebackup", 
                "pg_basebackup_tbls_mapping": true, 
                "pg_basebackup_version": "9.5.14", 
                "pg_receivexlog_compatible": true, 
                "pg_receivexlog_installed": true, 
                "pg_receivexlog_path": "/usr/bin/pg_receivexlog", 
                "pg_receivexlog_supports_slots": true, 
                "pg_receivexlog_synchronous": true, 
                "pg_receivexlog_version": "9.5.14", 
                "pgespresso_installed": false, 
                "replication_slot": [
                    "barman", 
                    true, 
                    "B/26FAAAA8"
                ], 
                "replication_slot_support": true, 
                "server_txt_version": "9.4.18", 
                "streaming": true, 
                "streaming_supported": true, 
                "synchronous_standby_names": [
                    "barman_receive_wal"
                ], 
                "systemid": "6557130237786012721", 
                "timeline": 1, 
                "wal_level": "hot_standby", 
                "xlogpos": "B/26FAAAA8"
            }, 
            "wals": {
                "last_archived_wal_per_timeline": {
                    "00000001": {
                        "compression": "gzip", 
                        "name": "000000010000000B00000025", 
                        "size": 3402217, 
                        "time": 1544076565.064759
                    }
                }
            }
        }
    }
}

我正在使用Barman 2.5和PostgreSQL 9.4。

0 个答案:

没有答案