BUPSTASH-RECOVER-REMOVED(1)

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

πŸ’– BUPSTASH-RECOVER-REMOVED πŸ’–

okay so bestie, picture this: you hit rm on some stuff in your repo, and like... immediately regret it 😭 we've all been there. this is the bupstash-recover-removed page from the General Commands Manual, and it's literally your undo button 🫢


✨ SYNOPSIS ✨

Recover repository items that were removed, but that have not yet been deleted via garbage collection.

bupstash recover-removed [OPTIONS]

🌸 DESCRIPTION 🌸

bupstash recover-removed lets you undo all the rm operations that have happened since the last time bupstash-gc(1) was invoked. no cap β€” that's the whole vibe. in other words, this command is your little safety net for correcting errors and accidental invocations of bupstash-rm(1) πŸ’…

heads up bestie: bupstash recover-removed requires put and get permissions on the repository you're operating on. both. not one, not the other. πŸŽ€

🌈 OPTIONS 🌈

  • -r, --repository REPO β€” the repository you want to connect to and operate on ✨ it may be of the form ssh://$SERVER/$PATH for remote repositories, as long as ssh access is configured. if you don't specify it, it gets set to BUPSTASH_REPOSITORY πŸ¦‹
  • --no-progress β€” suppresses progress indicators πŸ™ˆ (and fun fact: progress indicators are also suppressed when stderr is not an interactive terminal, so it kinda does this on its own sometimes)
  • -q, --quiet β€” be quiet 🀫 implies --no-progress

🧚 ENVIRONMENT 🧚

  • BUPSTASH_REPOSITORY β€” the repository to connect to πŸ’– may be of the form ssh://$SERVER/$PATH for remote repositories if ssh access is configured
  • BUPSTASH_REPOSITORY_COMMAND β€” a command to run to connect to an instance of bupstash-serve(1) πŸ‘‘ this is what lets you do more complex connections to the repository for those less common use cases, iykyk

πŸ”₯ SEE ALSO πŸ”₯

bupstash(1), bupstash-rm(1), bupstash-gc(1)


okay that's the whole thing bestie, go forth and un-delete your stuff πŸ’œ

this iconic little page is from May 2025, and it ships as part of the BUPSTASH-RECOVER-REMOVED(1) manual in the General Commands Manual β€” slay πŸŽ€βœ¨

πŸ“¦ where this page comes from