BORG-RDELETE(1)

πŸ“¦
version 2.0.0b8 Β· 2 versions
, in ubuntu noble

✨ BORG-RDELETE ✨

okay bestie, welcome to the borg backup tool page for borg-rdelete πŸ’– the manual name is literally right there, BORG-RDELETE(1), so now you know where you are. this one's the Delete a repository girlie. she's dramatic, she's final, she's giving main character energy. let's get into it 🫢


🌸 SYNOPSIS 🌸

borg [common options] rdelete [options]

πŸ’… DESCRIPTION πŸ’…

so like. this command deletes the complete repository. the whole thing. not a vibe check, an actual deletion. πŸ’€

when you delete a complete repository, the security info and the local cache for it (if there is any) get deleted too. package deal, no cap. but wait β€” you have options, queen:

  • if you only want the local cache gone, use the --cache-only option.
  • if you want to keep the security info, use the --keep-security-info option.
🚨 okay so before you do ANY of this, always run --dry-run --list first to see what would actually get deleted. like, always. please. i'm begging. this is not a drill bestie. 😭

πŸŽ€ OPTIONS πŸŽ€

peep borg-common(1) for the common options that all Borg commands share, iykyk.

✨ options ✨

  • -n, --dry-run β€” do not change the repository. just a little peek, no touching. πŸ™ˆ
  • --list β€” output a verbose list of archives. show me everything. πŸ‘‘
  • --force β€” force deletion of corrupted archives. and if --force isn't giving, use --force --force in case --force does not work. yes, twice. double the force, double the slay. πŸ”₯
  • --cache-only β€” delete only the local cache for the given repository. cache girlies stay winning. ✨
  • --keep-security-info β€” keep the local security info when deleting a repository. we're preserving the lore. πŸ¦‹

🌈 EXAMPLES 🌈

# delete the whole repository and the related local cache:
$ borg rdelete
You requested to DELETE the repository completely *including* all archives it contains:
repo                                 Mon, 2016-02-15 19:26:54
root-2016-02-15                      Mon, 2016-02-15 19:36:29
newname                              Mon, 2016-02-15 19:50:19
Type 'YES' if you understand this and want to continue: YES

like, look at that confirmation prompt. it literally asks you to type YES if you understand what's happening. that's your last chance to back out and it's iconic of it honestly. πŸ“


πŸ‘€ SEE ALSO πŸ‘€


πŸ’œ AUTHOR πŸ’œ

The Borg Collective β€” we don't know her personally but we respect her. 🧚


okay that's the whole page, you ate that fr fr ⭐ this was the BORG-RDELETE(1) manual, dated 2024-04-01, brought to you by the borg backup tool. go forth and dry-run first, bestie πŸ’–πŸ’…πŸŽ€

πŸ“¦ where this page comes from