On 29 Aug 2023, Ultra Magnus said the following...
I know that many that are going to read this message are probably
already doing some form of backup
so my question is, What type of backup are you using it can be anything LTO, NAS, cloud, etc
I do a simple tar/7zip and then copy it over to my NAS and also upload it to OneDrive & FastMail.
[backup.sh]
#!/bin/bash
cd /home/jay/mystic
./mis shutdown
sleep 15
./mis poll killbusy all
./mis poll uplink
./mutil mailin.ini
tar cf - /home/jay/mystic/ | 7z a -bd -si /tmp/nrbbs-`date +%F`.tar.7z
cp -fv /tmp/nrbbs-`date +%F`.tar.7z /mnt/nas/Jay\ Backups/BBS/
cd /home/jay/.onedrive-uploader
/usr/local/bin/onedrive-uploader upload /tmp/nrbbs-`date +%F`.tar.7z /
curl --user $1:$2 -T /tmp/nrbbs-`date +%F`.tar.7z
https://myfiles.fastmail.com/BBS%20Backups/ -sw '%{http_code}'
rm -f /tmp/nrbbs-`date +%F`.tar.7z
./mis daemon
[/backup.sh]
Jay
... A bee with a knife will give you a buzz cut
--- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
* Origin: Northern Realms (21:3/110)