Backing BTRFS filesystem with Restic to Storj.

I’m using BTRFS on my home server. One of subvolumes is called media and is used to store curated collection of personal and professional photos, movies, books, etc. for whole family. In this post, I will share my experience with backing the whole media NAS share (currently 116 GiB). Backup procedure Consistency - preparing backup source First snapshot btrfs subvolume snapshot -r /mnt/t20raid/svols/media /mnt/t20raid/snaps/media/2022-05-31 Create a readonly snapshot of '/mnt/t20raid/svols/media' in '/mnt/t20raid/snaps/media/2022-05-31' restic backup to Storj via S3 gateway...

June 5, 2022 · 2 min · Bart Prokop

Btrfs on Luks

Further maintenance Scrubbing Regularly scrub your drive… # btrfs scrub start /mnt/t20raid # btrfs scrub status /mnt/t20raid # watch 'btrfs scrub status /mnt/t20raid' This is example “work in progress”: Every 2.0s: btrfs scrub status /mnt/t20raid t20: Sun Aug 14 14:39:52 2022 UUID: 9f65175e-ec44-4fbf-a28d-cc10ef1a799e Scrub started: Sun Aug 14 14:32:07 2022 Status: running Duration: 0:07:40 Time left: 0:09:38 ETA: Sun Aug 14 14:49:30 2022 Total to scrub: 302.91GiB Bytes scrubbed: 134.13GiB (44....

June 5, 2022 · 1 min · Bart Prokop