Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have, for more than two years, and my remote backup has been an encrypted ZFS for a year and a half. [1]

The scripts in that post are a little outdated, so if you would like to see updated ones, contact me [2].

The end result is a setup that:

* Has parallel upload to saturate my slow upload connection.

* Allows resume with `make -j<cores>`

* Allows me to backup things that are only on my server, such as my Gitea instance [3], to my desktop, thus having my server and desktop serve as backups to each other.

* Allows me to delete snapshots older than a certain number of snapshots (set to 60).

* Has automatic loading and unloading of encryption keys, to reduce the exposure time. (However, I wish raw sends on encrypted datasets worked. But it is nice that I can load the keys and download individual files instead, which I've already had to do.)

Perhaps I should add an update post to [1]. If there's enough interest, I will.

Edit: I should make clear that my ZFS is only my home directory. I do not use it as a root or boot filesystem because it runs off of a mirror of hard drives, and my root/boot drive is an SSD and can be destroyed without pain because all of my configs are in a repo in my home directory. Thus, it would be trivial to rebuild my system.

[1]: https://gavinhoward.com/2021/02/adventures-in-backing-up-dat...

[2]: https://gavinhoward.com/contact/

[3]: https://git.yzena.com/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: