public inbox for [email protected]  
help / color / mirror / Atom feed
Problem syncing PostgreSQL repository
2+ messages / 2 participants
[nested] [flat]

* Problem syncing PostgreSQL repository
@ 2025-05-29 06:46  =?utf-8?B?bW90b3JhbyjmlZbnvaEp?= <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: =?utf-8?B?bW90b3JhbyjmlZbnvaEp?= @ 2025-05-29 06:46 UTC (permalink / raw)
  To: =?utf-8?B?cGdzcWwtYWRtaW4=?= <[email protected]>; +Cc: =?utf-8?B?bmlub3p1byjlt6blu7rplIsp?= <[email protected]>

Dear PostgreSQL Community,


We are a PostgreSQL&nbsp;repository proxy services provider , dedicated to maintaining local mirrors for the community.&nbsp;
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 &amp; 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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Problem syncing PostgreSQL repository
@ 2025-05-29 11:03  Tom Lane <[email protected]>
  parent: =?utf-8?B?bW90b3JhbyjmlZbnvaEp?= <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2025-05-29 11:03 UTC (permalink / raw)
  To: =?utf-8?B?bW90b3JhbyjmlZbnvaEp?= <[email protected]>; +Cc: =?utf-8?B?cGdzcWwtYWRtaW4=?= <[email protected]>; =?utf-8?B?bmlub3p1byjlt6blu7rplIsp?= <[email protected]>

"=?utf-8?B?bW90b3JhbyjmlZbnvaEp?=" <[email protected]> writes:
> 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]

You'll need to switch to some other rsync protocol; see here:

https://www.postgresql.org/message-id/[email protected]...

			regards, tom lane






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-05-29 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-05-29 06:46 Problem syncing PostgreSQL repository =?utf-8?B?bW90b3JhbyjmlZbnvaEp?= <[email protected]>
2025-05-29 11:03 ` Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox