My home vault - for backup and restore

Hi,
I’m working in this project for years and today i upload the script to GihHub and i want someone to review the code.
More info here AD’s free blog

The Final Product Is:

:white_check_mark: Zero-config for end users - First-run wizard does everything
:white_check_mark: Crash-proof - Handles read-only drives, full disks, network issues
:white_check_mark: Self-healing - Auto-remounts USB drives, retries on failure
:white_check_mark: Space-efficient - Hard links save disk space on your NAS
:white_check_mark: Time-efficient - Incremental backups after first run
:white_check_mark: Smart - Excludes caches, temp files, and its own config
:white_check_mark: Automatable - Cron integration with quiet mode
:white_check_mark: Repairable - catches bit rot with checksums
:white_check_mark: Informative - Beautiful colored output with progress bars
:white_check_mark: Professional - MIT licensed, GitHub ready

Regards,
Wael

I will have a deeper look into iot, but what you try to achieve is built-in into ZFS - maybe that is worth to look into for you.

You mean ZFS send/receive

That, and dedup, compression and snapshots.

I’ll upload ZFS Edition to GitHub

# Run normally
sudo ./my-home-vault-zfs.sh

# Quiet mode for cron
sudo ./my-home-vault-zfs.sh --quiet

# List all ZFS snapshots
zfs list -t snapshot | grep mhv

# Browse snapshot contents
ls /tank/mhv_username/.zfs/snapshot/

i upload v5.1.5-zfs and v5.1.5.a-zfs just for GitHub commits and delete all note’s in my PC