My setup is really high end i just treated it like a gaming pc. Dream machine Pro Max connected to a POE Enterprise 48, that gives 2.5gb network to all the wired devices. Have one u6 pro and one u7 pro access points. Finally a 1u unvr which runs the 10 or so AI-Pro cameras.
Love my unifi gear.
I run history and then clean it up so i have a guide to follow on the next setup. It’s not even so much for drive failure but to move to the newer OS versions when available.
The ‘data’ is backed up by scripts that tar folders up and scp them off to another server.
From the top:
Dream Machine Pro Max - This has two HDDs but I’m not using them. I have redundant internet sources, 1G Cable and 2G Fiber. The dream machine can fail over between them.
2U Patch Panel
POE-Enterprise 48 - This is connected via SFP+ 10G to the Dream Machine and is where every device in the network plugs in.
UNVR - This has 4x 14TB HDDs and is where the cameras record. That covers more than 2 months of constant recording at 4K on the cameras - which are all connected and powered by the switch. This connects via SFP+ to the switch.
Unifi Remote Power - This is like a redundant power source for the switches and stuff so if the power supply failed this would pick up.
Unifi Power Strip - everything is plugged in here, you can toggle the ports and stuff on and off which I don’t do.
There’s a bunch of other stuff in the rack multiple piholes and little intel nuc servers doing stuff. Redundant piholes is a nice addition to the network though once you get going.