*Thurs 20 Dec 2023**ZFS file system; 3-2-1 backups & bitrot*
*Using ZFS to achieve 3-2-1 backups and bitrot protection on limited
hardware*
...by *Sean Twiehaus
<https://www.google.com/url?q=https://www.sluug.org/bio/Sean_Twiehaus&sa=D&source=calendar&usd=2&usg=AOvVaw1N8QmwQW9-YvHFULddYKBZ>*
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-…
<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/
<https://www.google.com/url?q=https://stllinux.org/&sa=D&source=calendar&usd=2&usg=AOvVaw2uM7FapJDOGtNsHLFt_7Rb>
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/
<https://www.google.com/url?q=https://stllinux.org/&sa=D&source=calendar&usd=2&usg=AOvVaw2uM7FapJDOGtNsHLFt_7Rb>
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.
UnixFile SystemsInformation TechnologySystem AdministrationTechnology
Professionals
Attendees (17)
===========================================
See
https://www.stllinux.org/
<https://www.google.com/url?q=https://www.stllinux.org/&sa=D&source=calendar&usd=2&usg=AOvVaw3Y-AOfHPNKVMZJY5EzlB9e>
for
current information. The *URL* link to this meeting is posted earlier in
the day of the meeting on the above home page. It is the link called "*linked
here*".
- *ONLINE MEETINGS ONLY* until further notice.
- *ONLINE * session will use a remote video meeting service.
- *HOW TO CONNECT* instructions will be on the *https://www.stllinux.org/
<https://www.google.com/url?q=https://www.stllinux.org/&sa=D&source=calendar&usd=2&usg=AOvVaw3Y-AOfHPNKVMZJY5EzlB9e>*
web
page and our mailing lists. Note that your browser cache may need to be
refreshed each time you check the web page for the instructions.
-
- We will open the remote session at about* 6:00 PM*, so that you can join
early to test sharing your microphone, screen and video camera.
-
- The STLLINUX meetings are eight days after the SLUUG General meeting; so,
usually on the third or fourth Thursday of each month from* 6:30 PM to
9:00 PM*.
-
- ==========================================