Problem syncing PostgreSQL repository - Mailing list pgsql-admin

From motorao(敖罡)
Subject Problem syncing PostgreSQL repository
Date
Msg-id tencent_514063BA559E174E214AE256@qq.com
Whole thread Raw
Responses Re: Problem syncing PostgreSQL repository
List pgsql-admin
Dear PostgreSQL Community,

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

pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Replication Slots.
Next
From: Tom Lane
Date:
Subject: Re: Problem syncing PostgreSQL repository