r/HomeServer • • 22d ago

Backup strategy

Hi everyone.

I made my first home server about a year ago and is time for an upgrade. Till now I had a Lenovo M920x but space was running low and while searching for HDD I came across an Aoostar WTR PRO with 4x 16TB Ironwolf Pro and bought it. I will be running Proxmox on it.
16TB is plenty for me, so I was thinking how to use the 4 drives and came up with the following plan:
- 2 drives in a ZFS Raid1 configuration, for protection against data loss
- 1 drive in the same machine doing incremental backups, protection against accidental deletion (zfs snapshoots?)
- 1 drive in an externa enclosure that I would connect 1-2 a month a do a backup in case of ransomware, lightning, psu failure,.. (ext4? zfs snapshoots?)
- My current 4TB backup drive with the most important data, encrypted and stored at a relative house in case of fire, theft, etc. (updated 3-4 times a year).

I would like an opinion about that, better ideas, flaws, etc. (I'm talking about home use here, document, pictures, etc.)

p.s. I know I'm missing the 2 in 3-2-1, but that should do for now.

7 Upvotes

11 comments sorted by

1

u/itworkaccount_new 22d ago

That Aoostar is a NAS. I wouldn’t recommend running proxmox on it. The cpu and ram are not going to make that a pleasant experience.

Set it up as a Nas and expose that storage to your Lenovo as an NFS share.

You don’t want to store your snapshots on the same hardware as your VMs or a hardware failure takes both offline.

I mean your strategy will work and you already know it’s not 3-2-1.

For home it’s better than most.

1

u/Afraid_Technician234 22d ago

From my research the processor should outperform my current one, the ram will be transferred from my current machine (both use sodimm ddr4) so performance should not be a problem, since is not now. The system and VMs will be on nvme drives in raid1, again transferred from the current system.
The 16TB drive will be in a samba share so other devices can access it.
I would like to keep it all in one machine for space constraints (I'm running pfsense in a VM - some are probably screaming now). I also don't mind that much if a failure leaves me without access for a couple of days, unpleasant but as long as all the important data is not lost, I can live with that.

Edit: The snapshots I was talking were about the data on the hdd (documents, pictures) I don't care that much about the VMs, can always set them up again.

1

u/Afraid_Technician234 8d ago

Ok, for anyone stumbling on this thread, everything is up and running and is set like this:

Two drives in ZFS Raid1 that act as my NAS.

Snapshots are created with Sanoid daily and monthly (if I ever start working on files directly on the NAS, will add hourly).

Another drive in the same machine where the snapshots are copied to with Syncoid after they are made.

The retention of the snapshots at the moment is set to 7 daily and 2 monthly on the NAS, 30 daily and 6 monthly on the backup drive.

A forth drive in an external enclosure that is connected only during backup and where the snapshot on the backup drive are copied and scrub is performed once a month (another snapshot that is never automaticly pruned is also created on both backup drives so they don't get out of sync even if I'm late to do the backup).

A fifth drive with the snapshots (just the most important ones since is smaller), that is stored at a relatives house in another city and updated irregulary (in the future I may put a pc there to automate the offsite backup).

It's not perfect, but a lot better than it was.

1

u/Adventurous_Sun_4768 20d ago

For the external disk, I'd keep it ZFS too and use zfs send/receive for the monthly copy. It stays incremental and carries the snapshots with it, so the offline copy has the same history as the live pool — which is the whole point of that disk. ext4 + rsync works and you can read it on any machine, but you lose the snapshot history on that copy, and rsync re-walks everything each time you plug it in.

1

u/Afraid_Technician234 20d ago

Thank you. How do I need to keep the snapshots to have all the data in case the other 3 drives are fried by lightning or a psu failure? Probably need to keep all of the monthly snapshots?

1

u/Adventurous_Sun_4768 20d ago

No — the latest monthly snapshot alone holds all your data as it was that day. Older snapshots only matter if you want to restore a deleted file or an older version of one. One thing to watch for your scenario: the external disk only saves you from lightning or a PSU failure if it's unplugged and stored away from the server between copies — left connected, the same surge can take it too.

1

u/Afraid_Technician234 19d ago

Thanky you. Still wrapping my head around zfs snapshots. The drive will be connected only during backing up, otherwise it will be stored elsewere.

1

u/cat2devnull 20d ago

If you have any data that you care about then add in offsite backups. Something like Duplicati to Backblaze would do the job nicely and isn’t a problem to setup.

1

u/Afraid_Technician234 20d ago

I was thinking of having a drive at a relatives house, that I would sync a few of times a year. I tough about cloud, but I don't really like having my data in the cloud, even if encrypted and I also don't like subscriptions.

1

u/cat2devnull 20d ago

If you have a relative then if thy don’t mind having a small computer tucked in the corner somewhere.
I have an old N5105 under the tv in my parents entertainment unit. I use Duplicati and backup my entire setup every night.
It’s just has a single drive as I don’t need redundancy for an offsite backup.

1

u/Afraid_Technician234 19d ago

That is the plan for the future, to setup a nas or computer there and automate the whole thing.