Tôi đang cố gắng sao chép luồng chạy trên postgresql 9.0. Tôi đang làm theo các bước như đã đề cập trong liên kết: http://brandonkonkle.com/blog/2010/oct/20/postgres-9-streaming-replication-and-django-balanc/Lỗi từ lưu trữ postgresql 9.0 trong khi định cấu hình sao chép luồng nóng
Khi tôi cố gắng thực hiện lệnh lưu trữ trên postgresql, tôi nhận được cảnh báo yêu cầu tôi đợi vô tận. Tôi đang thực hiện các lệnh theo thứ tự sau:
SELECT pg_start_backup('base_backup');
cd /var/lib/postgresql/9.0/
sudo tar -cjf ~/postgres-data.tar.bz2 main
SELECT pg_stop_backup();
Đối với điều này tôi nhận được kết quả như sau:
NOTICE: pg_stop_backup cleanup done, waiting for required WAL segments to be archived
WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (60 seconds elapsed)
HINT: Check that your archive_command is executing properly. pg_stop_backup can be cancelled safely, but the database backup will not be usable without all the WAL segments.
WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (120 seconds elapsed)
HINT: Check that your archive_command is executing properly. pg_stop_backup can be cancelled safely, but the database backup will not be usable without all the WAL segments.
này tiếp tục tiếp tục xa hơn và cảnh báo không bao giờ kết thúc. Vui lòng cho tôi biết nếu có ai gặp phải sự cố này.