Borgbot

From XPUB & Lens-Based wiki

Michael here documenting the install of a "borgbot" to do two things

  • receive backups of sandboxes
  • service static snapshots of retired sandboxes

Here are the steps:

  • Installed a Pi with "fresh" raspian lite
  • did apt-get update / upgrade
  • raspi-config to enable ssh
  • Install Tinc + adding a new node
    • it's convenient to ssh to the pi from a laptop that can also ssh to xpub to copy and paste the invite code
  • install borgbackup


Despite the (too) many ads, this page gives a pretty good discussion of mounting a drive. Also how-to-write-an-fstab-file-on-linux is maybe even better.

   sudo mkdir /mnt/usb
   sudo mount /dev/sda1 /mnt/usb


   sudo ls -l /dev/disk/by-uuid/
   sudo nano /etc/fstab