Date: Wed, 19 Jul 2017 23:38:38 -0400 From: Roger Pate <roger@qxxy.com> To: fml <tetrosalame@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Can I use FreeBSD as a desktop system? Message-ID: <CADTH-otfHJZ8PwzdBz8LXCeyRKpkTr%2B7xT3td8vcmEupkx9jRg@mail.gmail.com> In-Reply-To: <20170719151943.GA1859@avalon.thwn> References: <CAN7_dzeDRZvH_wqZFmq6vxC%2BAdxwc-inuV8BVVmevs0xVbTpag@mail.gmail.com> <20170719151943.GA1859@avalon.thwn>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 19, 2017 at 11:19 AM, fml <tetrosalame@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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADTH-otfHJZ8PwzdBz8LXCeyRKpkTr%2B7xT3td8vcmEupkx9jRg>