We are a PostgreSQL repository proxy services provider , dedicated to maintaining local mirrors for the community.
We recently encountered an issue while attempting to sync data via rsync, and we kindly seek your guidance to resolve it.
Issue Description:
When executing the rsync command to sync from the official repository, the following error occurred:
# rsync -avP -n rsync://rsync.postgresql.org/pgsql-ftp/ /tmp/pgsql
@ERROR: Unknown module 'pgsql-ftp'
rsync error: error starting client-server protocol (code 5) at main.c(1649) [Receiver=3.1.2]
Context & Attempts
Command Objective: To retrieve the latest PostgreSQL source and binary packages via rsync.
Environment:
rsync version: 3.1.2 (system default)
Network connectivity: Direct access to rsync.postgresql.org (no proxy restrictions)
Troubleshooting Tried:
Verified the rsync server address via ping rsync.postgresql.org (connection successful).
Tested with different rsync flags (e.g., removing -n for actual sync), but the error persisted.
Inquiry
Is the module pgsql-ftp still valid for rsync synchronization? If not, could you please advise the correct module name or repository path?
Are there any specific access permissions or protocols (e.g., SSH-based rsync) required for mirroring?
Are there alternative synchronization methods (e.g., HTTP/S, Git) recommended for maintaining mirrors?
Background
As a service provider in China, we aim to optimize local access to PostgreSQL resources for users in the region. Any guidance on repository mirroring best practices would be greatly appreciated.
Thank you for your time and support!
Best regards,
Motorao