Groot
From wikinotes
Groot is my fileserver.
It is indispensable carrying trivial info like music/movies, in addition to VMs, backups, and more.
It is named after an ent-like character from Guardians of the Galaxy movies/comics that grows branches at-will.
Software | |
---|---|
samba | shares files |
zfs | the filesystem |
encfs | encrypts files over shares |
pf | firewall (freebsd) |
Backups
sudo -i # =============== # create snapshot # =============== sudo zfs snapshot -r zroot/media@2020-03-08_backup sudo mount -t zfs zroot/media@2020-03-08_backup /mnt/snapshot # ========== # mount disk # =========== sudo mount /dev/da0p1 /mnt/usb # ============================= # clone/start multivolumebackup # ============================= cd ~ git clone https://github.com/willjp/multivolumecopy cd multivolumecopy python -m multivolumecopy /mnt/snapshot -o /mnt/usb # ======================= # unmount/delete snapshot # ======================= sudo umount /mnt/snapshot sudo zfs destroy -r zroot/media@2020-03-08_backup