this post was submitted on 09 Aug 2023
46 points (89.7% liked)

Technology

34981 readers
53 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
 

Hoping to set up a general location to throw files.

It might be used as a storage dump for Plex too..

Recommendations?

Edit: the synology recommendations have won out. Went with the DS923+. Thanks for all of the thoughtful recommendations!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It depends on what your goals are of course, but I use ZFS for the file system, sanoid to take snapshots on a schedule (hourly saved for a few days, daily saved for 1-2 weeks and so on up to monthly saved a year or two), Samba to actually share the files to Windows computers, Plex to share media to my TV.
Also rsync to a second (offsite) computer for replication/backups of the most important stuff. That computer also takes ZFS snapshots to get easy versioning of the files.

I wouldn't recommend it for most people, but it's nice if you're comfortable working with Linux to begin with.

[–] [email protected] 0 points 1 year ago (1 children)

Is there good FOSS software that you can run on debian or ubuntu that can allow you to access your files using SFTP while the files are being stored with a RAID system? And is it possible to have your files store older versions of the file when you overwrite them and keep these older versions of the file for X months?

[–] [email protected] 2 points 1 year ago

Yes, that shouldn't be an issue. I believe SFTP would be supported basically out-of-the-box if you install OpenSSH during the install, but you might want to create a group and configure access if you're not the only user.

The version thing is what I'm doing with ZFS (also works with BtrFS, but it doesn't feel as reliable yet). Basically I take snapshots every hour, and the entire state of the filesystem at that point becomes frozen in time, and can be accessed as long as the snapshots exists.
sanoid automates the process and cleans up so that there's a reasonable amount of snapshots, not hundreds or thousands.
Of course, this means that you can't really regain any space when you delete things, until the oldest snapshot containing the data is deleted.