From 5d40ff08c3473f9e5381dc3af669b6d0e7adc7a3 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 30 Apr 2021 22:43:28 +0100 Subject: add ZFS backup part 2 --- .../gemfeed/2016-04-16-offsite-backup-with-zfs-part2.gmi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.gmi (limited to 'content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.gmi') diff --git a/content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.gmi b/content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.gmi new file mode 100644 index 00000000..a3c4febf --- /dev/null +++ b/content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.gmi @@ -0,0 +1,15 @@ +> Written by Paul Buetow 2016-04-16 + +=> ../ Go back to the main site + +# Offsite backup with ZFS (Part 2) + +=> ./2016-04-03-offsite-backup-with-zfs.gmi Read the first part before reading any furter here... + +I enhanced the procedure a bit. From now on I am having two external 2TB USB hard drives. Both are setup exactly the same way. To decrease the probability that they will not fail at about the same time both drives are of different brands. One drive is kept at the secret location. The other one is kept at home right next to my HP MicroServer. + +Whenever I am updating offsite backup I am doing it to the drive which is kept locally. Afterwards I bring it to the secret location and swap the drives and bring the other one back home. This ensures that I will always have an offiste backup available at a different location than my home - even while updating one copy of it. + +Furthermore, I added scrubbing (*zpool scrub...*) to the script. It ensures that the file system is consistent and that there are no bad blocks on the disk and the file system. To increase the reliability I also run a *zfs set copies=2 zroot*. That setting is also synchronized to the offsite ZFS pool. ZFS stores every data block to disk twice now. Yes, it consumes twice as much disk space but it makes it better fault tolerant against hardware errors (e.g. only individual disk sectors going bad). + +E-Mail me your throughts at comments@mx.buetow.org! -- cgit v1.2.3