1 |
On 30/09/21 22:50, Mark Knecht wrote: |
2 |
> I'm in the study phase on some sort of NAS backup system for my home. |
3 |
> I'll be building (or buying) a new desktop/server machine in the next |
4 |
> few months - my i980 machine doesn't have the right instruction set for |
5 |
> running Tensorflow anymore - so I want to figure out backups before I |
6 |
> put together the new machine. |
7 |
|
8 |
Okay, your NAS box is going to be shut down most of the time? Why not |
9 |
re-purpose your old box as the NAS? If it was running a lot, I'd be |
10 |
concerned about the power consumption,but here it sounds okay. |
11 |
> |
12 |
> I have about $400 credit at NewEgg and would like to keep my additional |
13 |
> costs on the NAS down to about $100-$200. I expect the new machine to |
14 |
> probably be 4TB RAID but it would be quite a while before that gets |
15 |
> filled up. |
16 |
|
17 |
If that includes buying new drives, you're pushing your luck here ... a |
18 |
new "suitable for raid" 4TB drive will probably blow that budget in one hit! |
19 |
> |
20 |
> What do I need to be thinking about? Do I need 8TB in the NAS box? |
21 |
|
22 |
Ummm... I'd be inclined to buy a single 8TB drive. It's not much more |
23 |
than the 4TB - I'd suggest suggest Seagate Ironwolf. The Tosh N300s |
24 |
aren't bad afaik, but I've no personal experience. You could get a WD |
25 |
Red Pro, but do NOT get a plain Red, and given the way they've mucked |
26 |
people about I personally wouldn't get a WD. |
27 |
|
28 |
> Are 2 or 4 bay NAS boxes generally RAID? I do backups today about once a week. |
29 |
> I do not currently keep any snapshots. |
30 |
|
31 |
2-bay will be mirrored, 4-bay is normally raid-5 |
32 |
|
33 |
> I just back up files so over time |
34 |
> the backup carries a lot of stuff that I don't need anymore and I have |
35 |
> to go clean it up if I run out of space. |
36 |
|
37 |
Get that 8TB Ironwolf/N300, format it btrfs (it pains me to say that |
38 |
:-), and set up your backup to do an "in place" rsync then snapshot the |
39 |
volume. |
40 |
|
41 |
That way, each backup will be an incremental, but the snapshot will give |
42 |
you a full backup. Think of it like git, it will store the current |
43 |
state, with diffs so you can checkout any previous state if you want. |
44 |
|
45 |
Just MAKE SURE the drive never actually fills up - btrfs has an |
46 |
appalling rep for surviving a disk full with snapshots. |
47 |
|
48 |
If you need more space you can then think about getting a second (and |
49 |
third, and fourth) 8TB drive and going to raid or just adding them to |
50 |
the btrfs. Again, just remember that, at the moment, btrfs parity raid |
51 |
also has a pretty appalling rap. Mirroring is fine. |
52 |
> |
53 |
> The NAS would be turned off most of the time. If I need to use it I'll |
54 |
> just power it up. |
55 |
> |
56 |
> I've been looking at a few software solutions based on another thread |
57 |
> here but so far nothing has excited me so recommendations for what makes |
58 |
> sense for high reliability home backup is of great interest, especially |
59 |
> if it helps me somehow in cleaning up the backups after deleting stuff |
60 |
> on my main machine on purpose and therefore not needing it on the backup. |
61 |
> |
62 |
> Thanks in advance for any ideas. |
63 |
|
64 |
Take a read of the raid wiki - |
65 |
https://raid.wiki.kernel.org/index.php/Linux_Raid |
66 |
|
67 |
In particular the overview section. My current (new) setup is ext4, over |
68 |
lvm, over mirror raid, over dm-integrity, over two IronWolves. I'm |
69 |
planning to add a Barracuda and go raid-5, but not without a solid |
70 |
backup first !!! |
71 |
|
72 |
Make sure you read the warnings, and the timeout mismatch section! It |
73 |
talks about Barracudas, and WD Reds! |
74 |
|
75 |
On a different topic, I don't know anything about it but some file |
76 |
systems do block level de-duplication - zfs I believe for one. That way, |
77 |
you can create your backups in dated directories, and the filesystem |
78 |
will store each duplicated file only once, without you having to worry |
79 |
apart from maybe having to trigger a manual de-duplicate once in a |
80 |
while. But with 8TB that won't be often. |
81 |
|
82 |
Cheers, |
83 |
Wol |