1
A
回答
0
我有同樣的問題。我解決了改變存檔的postgresql.conf
前:
archive_mode = on
wal_level = 'replica'
archive_command = 'rsync -a %p [email protected]:INCOMING_WALS_DIRECTORY/%f'
後:
archive_mode = on
wal_level = 'replica'
archive_command = 'rsync -a %p [email protected]:/data/barman/pgsql-master/incoming/%f'
**重新啓動應用更改Postgres的。
我發現目錄中使用此命令(INCOMING_WALS_DIRECTORY):
$ barman show-server pgsql-master
下一步,我使用:
barman switch-xlog --force --archive pgsql-master
嘗試再次檢查。
相關問題
- 1. 巴曼PostgreSQL的傳入瓦茲目錄
- 2. 如何在heroku pg follower上設置自動備份?
- 3. MODULE_NOT_FOUND in heroku pg:備份
- 4. 備份PostgreSQL
- 5. 備份ST3設置
- 6. Postgresql每日備份
- 7. PG:拉,PG:備份中的Heroku CLI不再可用
- 8. Heroku pg:備份:從public_url恢復。未找到備份。
- 9. 有限的備份權postgresql
- 10. 下載安全/ SSL Heroku PG備份?
- 11. Heroku下載pg:備份如何
- 12. 備份PostgreSQL用於在Windows
- 13. postgresql備份文件權限
- 14. Postgresql數據庫備份
- 15. 設置PostgreSQL連接時,PG Ruby Gem是否使用pgpass?
- 16. 如何從使用Heroku PG備份的備份中恢復三個項目?
- 17. Broken Rails設置/ pg gem
- 18. PostgreSQL數據庫設計的備份 - 無數據
- 19. docker postgresql容器的循環備份
- 20. 恢復PostgreSQL的9.1備份到8.1
- 21. PostgreSQL增量備份的最佳方法
- 22. PostgreSQL的,備份/自定義功能
- 23. 插入關係go-pg PostgreSQL
- 24. Lion,RVM,Postgresql和PG Gem
- 25. MonoTouch:如何設置「不備份」屬性
- 26. `Heroku的PG:備份capture`給出「未找到資源」錯誤
- 27. Heroku的發佈階段 - PG備份遷移
- 28. 在PostgreSQL中自動備份數據庫
- 29. Postgresql使用Python備份數據庫
- 30. POSTGRESQL 9.1備份和恢復到8.4
看一看PostgreSQL的日誌文件,以檢查您的'archive_command'錯誤。根據文檔中的說明,很可能您沒有正確配置ssh。 –
我已經正確配置了postgres和barman。這對postgres master來說工作正常。當我嘗試從postgres獲取備份時,我收到以下錯誤。 – devops
2016-06-10 06:20:03,592 [5693] barman.server錯誤:檢查'WAL檔案'服務器失敗'smapgrep02.example.com' 2016-06-10 06:20:03,783 [5693]酒保。服務器錯誤:檢查'服務器'備份最大時限'失敗'smapgrep02.example.com' 2016-06-10 06:20:03,928 [5693] barman.server錯誤:檢查服務器'smapgrep02'中'沒有恢復'失敗。 example.com」 – devops