Can I use FreeBSD as a desktop system?
Roger Pate
roger at qxxy.com
Thu Jul 20 03:39:20 UTC 2017
On Wed, Jul 19, 2017 at 11:19 AM, fml <tetrosalame at gmail.com> wrote:
> - backups (the usual suspects; since I need encrypted off-site backups
> I'm investigating Tarsnap, avaiable as package);
Tarsnap works great on FreeBSD. I have this script in my crontab:
#!/bin/sh -ue
cd /
tarsnap=--tarsnap=/usr/local/bin/tarsnap
# /usr/local/bin not in default PATH from cron
/root/bin/tarsnap-backup "$tarsnap" roger home/roger/serve/hg
home/roger/vault home/roger/projects
case "$(date +%d)" in
01|15) /root/bin/tarsnap-prune-old "$tarsnap" --keep-days=30 roger ;;
esac
Where tarsnap-backup and tarsnap-prune-old are from my repo
https://bitbucket.org/rdpate/one-off/src/360557bf714ec5b3b0f6a06f085fb8037b333a13
(as well as cronic, used to call the above script from cron).
More information about the freebsd-questions
mailing list