---------------------------------------
backups
June 16th, 2019
---------------------------------------

I've (finally) got a neat backup system in place that I'm happy
with. 5 copies including my local computer :)

I backup everything in $HOME, except for my VirtualBox folder. This
is backed up to my raspberry pi using borgbackup[0], which has a
2tb hard drive connected to it. If my external hard drive
is plugged in, borg backs it up to there as well.

On my raspberry pi, I use mosaicfs[1] for the backup volume. This
is because I later sync it to the cloud, and I want it in managable
upload sizes. I haven't seen very much I/O overhead at all with it.

I use borg because it has in-built compression and encryption; and
it's super easy to use.

I then have a daily crontab on my raspberry pi to sync that to
google drive. Depending on the size of the archive, that can take a
long time due to my very slow internet connection shared with other
people, meaning I need to limit uploads to 20KB/s, so it makes sure
there isn't another upload running first.

Then, on aussies.space[2], it syncs that to onedrive. I have 0
trust for either of these services. This is why it's encrypted, and
besides, mosaicfs adds a bit of "security by obscurity" (not a
good principle to rely on however).

Hence; I have 5 copies of my homedir:
* local computer
* external hard drive
* raspberry pi
* google drive
* one drive

and two are offsite.

3/2/1 backup rule complete.

In addition, I have quite a bit of unique data on my raspberry pi's
external hard drive (mostly ripped cd's; that I don't want to have
to re-rip). These are rsync'd nightly to my external hard drive
connected to my laptop.

Furthermore, I'm also using clonezilla monthly to create a full
system image. I only keep one-two of these, since they are rather
large (256GB). These are also stored on my external hard drive.
It's not a big deal if these get lost.

Unfortunatly, my Windows VM isn't backed up. I've decided that this
isn't a big deal if it gets lost. I just need to download the ISO,
install, install Office, chocolatey, boom boom boom. Not hard.

Literally the day after I made that decision, I acidentally nuked
the VM. :P

Reinstalling once I get an ISO at school.

I hope this inspires you to create your own backup system.

Next time,
~fosslinux