Borgbot
Revision as of 10:07, 10 April 2025 by Michael Murtaugh (talk | contribs)
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
fish
apt-install fish which fish chsh
and enter /usr/bin/fish
mount/fstab
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
cat /etc/mtab
sudo lsblk sudo nano /etc/fstab
PARTUUID=39da60b5-15ff-4906... /mnt/usb ext4 rw,relatime 0 0
nginx
Install nginx
sudo apt-get install nginx
Configure to serve sandboxes.