FTPSYNC(1)

πŸ“¦
this version Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

✨ NAME ✨

ftpsync β€” mirror Debian and Debian-like repositories of packages πŸͺžπŸ’–


🌈 SYNOPSIS 🌈

ftpsync [OPTION]... [SYNC-FLAG]...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. ftpsync is part of the ftpsync suite, and the whole entire job of that suite is mirroring Debian and Debian-like repositories of packages. that's it, that's the vibe. πŸ“¦βœ¨

and here's the tea: there are way too many mirrors of Debian out there to just, like, populate them all from the one machine that generates the archive (that machine is called "ftp-master", iconic name, no notes). so instead the mirrors are organized in a tree-shaped hierarchy. 🌳

which means: every mirror has exactly one upstream that it syncs from, and each mirror can have any number of downstreams that in turn sync from it. it's giving family tree but make it packages. πŸ‘‘πŸ«Ά


πŸŽ€ SYNC FLAGS πŸŽ€

these babies can be specified right there on the command-line, or they can come in via a ssh forced command from the remote side. either way, they get the job done. πŸ’…

  • sync:archive:foo β€” selects archive foo for syncing. heads up bestie, a config needs to be available for this one. πŸ“
  • sync:all β€” do a complete sync. the whole thing. the entire meal. πŸ”₯
  • sync:stage1 β€” only do a stage 1 sync.
  • sync:stage2 β€” only do a stage 2 sync.
  • sync:mhop β€” do a special multi-hop sync, usually additionally to stage 1. 🦘
  • sync:callback β€” call back when done. so polite of it honestly. πŸ“ž

πŸ’… OPTIONS πŸ’…

  • -T β€” information about the used trigger. πŸ””

if it's undefined, these values get set automatically, like magic:

  • ssh if it's called from a ssh forced command.
  • cron if it's called via ftpsyn-cron(1).
ngl that's spelled ftpsyn-cron(1) in the source, and yes i'm keeping it exactly like that. not my typo, i'm just the messenger. πŸ™ˆ

🫢 SEE ALSO 🫢

yeah there's a lil stray + at the end there. it lives there. we respect it. ⭐

πŸ‘‘ AUTHORS πŸ‘‘

Debian mirror team. absolute legends, periodt. πŸŽ€πŸ’œ


and that's the whole page bestie πŸ’– this one came from the ftpsync Manual, section FTPSYNC(1) β€” go forth and mirror responsibly, mwah 🧚✨

πŸ“¦ where this page comes from