rsbackup-mount(1)

πŸ“¦
version 10.0 Β· 2 versions
  • 10.0 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 6.0 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– rsbackup-mount πŸ’–

okay bestie, so this is a page from the General Commands Manual section, and it's all about rsbackup-mount(1) β€” the little helper that gets your backup disks mounted (or unmounted) so rsbackup can do its thing. no cap, it's giving ✨disk wrangler✨ energy.


🌸 NAME 🌸

rsbackup-mount β€” mount encrypted or unencrypted disks used by rsbackup


πŸ¦‹ SYNOPSIS πŸ¦‹

rsbackup-mount [OPTIONS] [--] [DEVICES]

✨ DESCRIPTION ✨

okay so here's the tea 🍡: rsbackup-mount mounts and unmounts encrypted or unencrypted partitions that are used as backup stores by rsbackup(1). that's it, that's the whole job. it's literally the bouncer for your backup disks πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • --unmount, -u β€” unmount devices instead of mounting them. (the default is to mount devices, so if you want the other direction you gotta say so.)
  • --check, -c β€” check for available devices that aren't open. πŸ‘€
  • --dry-run, -n β€” do nothing at all, and instead just print the commands that would have been executed. it's the "look but don't touch" mode fr fr πŸ™ˆ
  • --key-file PATH, -k PATH β€” pass the argument --key-file PATH to cryptsetup. (yes, it forwards it along like a little relay race πŸƒβ™€οΈ)
  • --help, -h β€” display usage message.
  • --version, -V β€” display version string.

🌈 CONFIGURATION 🌈

so, config lives at /etc/rsbackup/devices. it's a shell script fragment, which is lowkey iconic of it 🫢

it should set devices to a (space-separated) list of device names, and for each device name D, define D_uuid to its UUID.

if you need to specify that a device is unencrypted β€” meaning it just requires mounting or unmounting, nothing fancy β€” then define D_plain as a non-empty string for that device. ✨

tiny tip from the original: have a look in /dev/disk/by-uuid to find device UUIDs πŸ”

πŸ’œ Example πŸ’œ

# List names of devices here
devices="backup3 backup4"

# For each device, define DEVICE_uuid
# e.g. devicename_uuid=8f4171f0-007d-4083-a40c-407e5f9c24dd
backup3_uuid=8f4171f0-007d-4083-a40c-407e5f9c24dd
backup4_uuid=80a1ca0d-d07a-4195-9da1-8cbb9fbc11b9

# For any device that isn't encrypted, define DEVICE_plain
# e.g. devicename_plain=1
backup3_plain=1

see how backup3 got that _plain=1? that's her telling you she's unencrypted and proud πŸŽ€ and backup4? encrypted queen, no _plain for her πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘


🌟 AUTHOR 🌟

Richard Kettlewell <rjk@greenend.org.uk> β€” the mastermind behind all this, we stan πŸ’–


and that's the whole page bestie!! this was rsbackup-mount(1) from the General Commands Manual β€” go forth and mount responsibly 🫢✨🌸

mwah β€” see u in the next manpage πŸ’œ

πŸ“¦ where this page comes from