bedup(8)

πŸ“¦
version 3.1.4 Β· 2 versions
, in debian bookworm, debian trixie, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– bedup β€” like, the whole vibe πŸ’–

okay bestie, sit down, we're talking about bedup from section 8 of the manual (that's the sysadmin-stuff section, iykyk). It's a deduplication program that's got extra ✨sparkle✨ because it also knows things about burp. Say it with me: bedup.


🌸 NAME 🌸

bedup β€” a deduplication program, but make it ✨burp-aware✨. That's the whole name. Short, iconic, no notes. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bedup [options]

So it's a file deduplication program that additionally knows its way around burp storage directories. Like, it doesn't just dedupe, it dedupes with context. And it ships inside the burp backup and restore package, so it's basically part of the family. 🫢


✨ OPTIONS ✨

Every single one, bestie, no skipping. Grab a snack. πŸ“

  • -c path β€” where the config file lives. Default is /etc/burp/burp.conf, because of course it is. πŸŽ€
  • -g <list of group names> β€” only runs on the directories of clients that are in one of the groups you list. The list is comma-separated. Want a client in a group? Use the dedup_group option in that client's config file on the server. Server-side glow-up. πŸ‘‘
  • -h | -? β€” prints the help text and dips. Respect. πŸ™ˆ
  • -d β€” deletes any duplicate files it finds. NON-BURP MODE ONLY, and use with caution!! I'm serious bestie, this one actually deletes things. 😭
  • -l β€” hard links any duplicate files it finds. Two files, one inode, no cap. πŸ”₯
  • -m <number> β€” the maximum number of hard links to a single file. Non-burp mode only β€” if you're in burp mode, you use the max_hardlinks option in the configuration file instead. The default is 10000. On ext3 the max number of links possible is 32000, but like… space is needed for the normal operation of burp, so don't be greedy. πŸ’€
  • -n <list of directories> β€” non-burp mode. Deduplicates any (set of) directories you throw at it.
  • -v β€” prints the duplicate paths. Super useful if you wanna double check the files that would be hard linked or deleted before you actually turn one of those options on. It's giving "look before you leap". πŸ‘€
  • -V β€” prints the version and exits. Short and sweet. ⭐

By default, bedup reads /etc/burp/burp.conf and deduplicates client storage directories using special knowledge of the structure. 🧚
With -n, that knowledge is turned off and you have to specify the directories to deduplicate on the command line. Which means running with -n is dangerous if you're deduplicating burp storage directories. Like, it doesn't know what it's looking at anymore. Danger. πŸ™ˆ

πŸ’€ BUGS πŸ’€

Found bugs? Not the vibe, but okay β€” please report them to the email list. See the website <http://burp.grke.net/> for details. πŸ›


πŸ‘‘ AUTHOR πŸ‘‘

The main author of Burp is Graham Keeling. Living legend behaviour, fr fr. 🫢


See the LICENCE file included with the source distribution. It's right there, bestie, go read it. πŸŽ€


okay and that's the whole page!! πŸ’– This was bedup(8), and the page is dated February 10, 2012 β€” yes, a vintage icon, we stan a classic 🌈 β€” and it belongs to the bedup manual, section 8, part of the burp package. mwah, go dedupe responsibly bestie πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from