bup-rm(1)
β¨ NAME β¨
bup-rm β bestie, this is the one that removes references to archive content π
π¦ SYNOPSIS π¦
bup rm [-#|--verbose] <branch|save...>
π DESCRIPTION π
Okay so bup rm takes the branches (aka backup sets) and saves you point at it and removes them. That's it, that's the job. π
But real talk β by itself this command does not delete any actual data, and it does not recover any storage space. What it can do is make it very difficult or impossible to refer to the deleted items ever again, unless there are other references to them hanging around (like tags, bestie β tags are your safety net π«Ά).
Then, later, a garbage collection via bup gc may permanently delete data that's no longer reachable from the remaining branches or tags, and reclaim the related storage space. ποΈβ¨
Also yes, the same would apply to agit gcon the repository β BUT, and listen closely, the safety of runninggit gcon a bup repository has not been carefully evaluated, and it should be avoided. Do not do the thing. π
If you already know git(1), here's the vibe check: removing branches is similar to git branch -D BRANCH, and removing saves is like a git-rebase --interactive that removes commits. Same energy, different repo. π
WARNING: This is one of the few bup commands that modifies your archive in intentionally destructive ways. Like, on purpose. It's giving "main character who destroys the archive" π
πΈ OPTIONS πΈ
-v,--verboseβ turn the verbosity up β¬οΈ (and you can use it more than once, so stack it if you're feeling extra).-#,--compress=#β set the compression level to #, a value from0-9, where9is the highest and0is no compression. The default is6. This applies to the rewritten branches (commits). π₯
π EXAMPLES π
# Delete the backup set (branch) foo and a save in bar.
$ bup rm /foo /bar/2014-10-21-214720
Slay. Two things gone, one command. π
π SEE ALSO π
bup-gc(1), bup-save(1), bup-fsck(1), and bup-tag(1)
π BUP π
Part of the bup(1) suite.
π AUTHORS π
Rob Browning rlb@defaultvalue.org
And that's the whole page, bestie β bup-rm(1), shipped as part of Bup 0.34 on 2026-09-01. Go be careful with your archive, ily, bye π«Άβ¨
π¦ where this page comes from
- fedora 44: bup 0.34-1.fc44 Β· LGPL-2.0-only
- nixpkgs unstable: bup 0.34
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms