Skip to content

sync_zhprs_custom_word()这个函数能否改成使用自定义的数据路径,不用PG的数据目录 #86

Description

@Poiig

sync_zhprs_custom_word函数中使用PG数据目录作为字典存储位置,会有一定的问题。Barman进行备份的时候,会报错。

下面为Barman日志:

2024-11-06 09:55:01,853 [96037] barman.wal_archiver INFO: No xlog segments found from streaming for xxx.
2024-11-06 09:55:01,858 [96036] barman.wal_archiver INFO: No xlog segments found from streaming for xxxxx.
2024-11-06 09:55:17,068 [95003] barman.backup_executor INFO: WARNING: skipping special file "./.s.PGSQL.5432"
2024-11-06 09:55:17,085 [95003] barman.backup_executor INFO: pg_basebackup: 已完成检查点
2024-11-06 09:55:17,105 [95003] barman.backup_executor INFO: pg_basebackup: 错误: 无法得到复制数据流: ERROR: invalid segment number 0 in file "zhprs_dict_xxxxx.txt"
2024-11-06 09:55:17,105 [95003] barman.backup_executor INFO: pg_basebackup: 删除数据目录 "/backup/streaming_backup/xxxxxx/base/20241106T093927/data" 的内容

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions