BUPSTASH-GC(1)

πŸ“¦
version 0.12.0 Β· 3 versions
, in alpine 3.24

πŸ’… BUPSTASH-GC β€” the girlies' guide to cleaning your repo

ok so real talk β€” this is BUPSTASH-GC(1), from the General Commands Manual, and no cap it's the little command that frees up your disk space. bestie, let's get into it πŸŽ€


✨ SYNOPSIS ✨

Run the garbage collector against a repository, removing unreferenced data and freeing disk space. that's the whole vibe, honestly.

bupstash gc [OPTIONS]

🧹 DESCRIPTION 🧹

okay so picture this: bupstash gc literally walks the repository contents, hunting down unreachable data chunks and removing them, potentially reclaiming disk space. she's doing her little lap around the repo, sniffing out orphan chunks like a truffle pig but make it cute 🐷✨

It is safe to run bupstash gc at any time β€” no dramatic timing needed, she's chill like that. But heads up: some operations (such as bupstash-put(1)) may temporarily be delayed while she's doing her thing. not forever, just a little moment πŸ™ˆ

And the iconic part? The garbage collector only relies on unencrypted metadata, so it does not need access to decryption keys to operate. she literally doesn't need the keys, she doesn't want the keys, she operates on vibes and metadata alone πŸ’…πŸ”‘βŒ


🌸 OPTIONS 🌸

  • -r, --repository REPO β€” the repository to connect to and operate on. may be of the form ssh://$SERVER/$PATH for remote repositories if ssh access is configured. if you don't specify it, it's set to BUPSTASH_REPOSITORY. like, she'll just know πŸ’–
  • --no-progress β€” suppress progress indicators. (progress indicators are also suppressed when stderr is not an interactive terminal β€” she can tell when you're not really watching 🫢)
  • -q, --quiet β€” be quiet, implies --no-progress. she's on mute, no commentary, just results πŸ”‡

🌈 ENVIRONMENT 🌈

  • BUPSTASH_REPOSITORY β€” the repository to connect to. may be of the form ssh://$SERVER/$PATH for remote repositories if ssh access is configured. yes, same format as -r, she's consistent πŸ‘‘
  • BUPSTASH_REPOSITORY_COMMAND β€” a command to run to connect to an instance of bupstash-serve(1). this allows more complex connections to the repository for less common use cases. for when the basic connection isn't giving what it needs to give πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

go read these next bestie, iykyk:

  • bupstash(1)
  • bupstash-repository(7)

✨ and that's the tea ✨ this little gem is from May 2025, source/version BUPSTASH-GC(1) from the General Commands Manual β€” go forth and gc, queen, your disk space is gonna eat πŸ”₯πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from