Skip to content

Details

Using ZFS to achieve 3-2-1 backups and bitrot protection on limited hardware ...by Sean Twiehaus
I'm gearing this talk towards homelab users. The premise will be: "I have some documents (taxes, copies of drivers licenses, marriage certificate etc.) that contain too much Personally Identifiable Information (PII) to upload to Google or Dropbox. How can I keep these documents backed up and secured using minimal hardware that I may already have laying around?

I'll show how I'm achieving 3-2-1 Backups using an ODROID H3+ w zfs_autobackup & Restic (links to each below).

The bulk of this presentation will be me explaining the ZFS setup that I described in this forum post:
[https://discourse.practicalzfs.com/t/snapshots-to-a-different-zpool-on-the-same-host-as-part-of-a-3-2-1-backup-strategy/1074](https://www.google.com/url?q=https://discourse.practicalzfs.com/t/snapshots-to-a-different-zpool-on-the-same-host-as-part-of-a-3-2-1-backup-strategy/1074&sa=D&source=calendar&usd=2&usg=AOvVaw3eqh6AUsB17Ns6mw2yyVLe)

Basically, I have an ODROID H3+ that has multiple drives attached. I configure them to have multiple zpools. I then take snapshots of one zpool and send it to another zpool on the same host. This gives me two copies of the data on two different storage devices. Then I use restic to send a third copy offsite. I also use some nifty ZFS features to enable bitrot protection on a single device zpool.

ODROID H3+: [https://www.hardkernel.com/shop/odroid-h3-plus/](https://www.google.com/url?q=https://www.hardkernel.com/shop/odroid-h3-plus/&sa=D&source=calendar&usd=2&usg=AOvVaw2hHcwbOtn2KT2NKup2GKjV)
3-2-1 Backups: [https://www.seagate.com/blog/what-is-a-3-2-1-backup-strategy/](https://www.google.com/url?q=https://www.seagate.com/blog/what-is-a-3-2-1-backup-strategy/&sa=D&source=calendar&usd=2&usg=AOvVaw2vrjdN9azzPX07LKaVvgTG)
zfs_autobackup: [https://github.com/psy0rz/zfs_autobackup](https://www.google.com/url?q=https://github.com/psy0rz/zfs_autobackup&sa=D&source=calendar&usd=2&usg=AOvVaw058n9MP5-ap4JJg3b2UJXP)
Restic: [https://restic.net/](https://www.google.com/url?q=https://restic.net/&sa=D&source=calendar&usd=2&usg=AOvVaw29y9UEZe_AD4R2zk55hJgM)

(Editor's note: A Copy-On-Write (COW) FS, the ZFS file system was part of Sun's Solaris OS. OpenSource from 2005 thru 2010, Oracle made it ClosedSource after Oracle Inc bought Sun Inc in 2010(?). It took until 2013 for Oracle to make it OpenSource again. During the wait BTRfs stole alot of its ideas and proponents. Now, Sean will bring us up to date on the latest. OpenZFS also runs on Linux & BSD (including MacOS).)

+++++++++++++_+
https://stllinux.org/
The url link to this Zoom mtng is posted earlier on the day of the mtng at the above home page. It is the link called "linked here".

ONLINE MEETINGS ONLY until further notice.
ONLINE session will use remote video software.
HOW TO CONNECT instructions on https://stllinux.org/ web page and our mailing lists. Note that your browser cache may need to be refreshed each time you check the above web page for the instructions. We will open the remote session at about 6:00 PM Central Standard Time ( CST ), so that you can join early to test your mic, screen & video sharing.

The Saint Louis MO, STL Linux Users Group (STLLUG) meets monthly to talk about Linux. This GNU/Linux Users Group usually holds its meetings on the third or fourth Thursday of every month. Meetings are free and open to everyone.

At 6:30 PM CST we start with introductions, announcements, current events of interest, and a general CALL FOR HELP segment. Then we will go into the presentation of our main topic, sometime around or after 7:00 PM CST.

Related topics

System Administration
Information Technology
Unix
Backup and Recovery
File Systems

You may also like