azeos 8 Posted March 25 Posted March 25 8 minutes ago, TMCsw said: This means only 'matias' can see anything or change into (cd) this directory! if you really want to let emby save to anything under this you will need to open up the permissions to all user to the 'matias' dir: sudo chmod 755 /home/matias or make emby part of users group then allow the 'users' group access: sudo adduser emby matias sudo chmod 750 /home/matias And which option do you recommend? Or should I store my backups elsewhere?
TMCsw 170 Posted March 25 Posted March 25 38 minutes ago, azeos said: And which option do you recommend? Or should I store my backups elsewhere? It's mostly up to you as IDK how you use your server, but generally I don't like opening up access for storing backups (or media, etc..) under /home as i find it makes it more difficult to maintain a coherent set of 'external backups' or maintain solid security of the sever....
azeos 8 Posted March 26 Posted March 26 1 hour ago, TMCsw said: It's mostly up to you as IDK how you use your server, but generally I don't like opening up access for storing backups (or media, etc..) under /home as i find it makes it more difficult to maintain a coherent set of 'external backups' or maintain solid security of the sever.... Hope I'm answering your question: I have a RPi 5 with Open Media Vault 7 with 4 HDD 4TB in an external enclosure (USB). I'm using mergefs and SnapRAID (3 disks for storage + 1 for parity). Those disks are mounted on "/srv/mergerfs/...". Emby is installed directly on mi SD card. The server is used 99% of the time from LAN (Windows clients), but sometimes I access it remotely. The only use (at least from now) is for media files, Emby, nothing else.
TMCsw 170 Posted March 29 Posted March 29 On 3/25/2025 at 9:18 PM, azeos said: Hope I'm answering your question: Sorry for the late late reply (a bit busy lately) but i kinda gave you my opinion before . So just for fun I asked Copilot for Help, Here is what it gave back... Q:can you help answer this? Q:Absolutely, Tmc! Could you share a bit more about what you need help with? Whether it's a tricky question or a brainstorming session, I'm here to jump in. A::(from past 2 posts) input? A...: It sounds like you're seeking advice or confirmation about your current server setup and practices. Here's my take: Server Organization & Backups: The suggestion not to store backups under /home is a solid one, as /home tends to house user-specific data and can complicate backup structures. Keeping your backups and media content within a dedicated directory like /srv/mergerfs/... ensures better organization and separation, making recovery and management simpler. MergeFS and SnapRAID: Your setup with mergefs and SnapRAID is robust for media servers, especially with SnapRAID's parity for redundancy. It’s a good balance between storage efficiency and data protection. Since you're using one parity disk for three data disks, make sure your parity disk is as large (or larger) than the biggest data disk to avoid issues. Emby on SD Card: Hosting Emby on your SD card can work, but be mindful of the card's write endurance. If Emby performs frequent writes (e.g., database updates or metadata scrapes), consider moving it to an SSD or another location with greater durability to prevent wear-out. Remote Access & Security: Since you access your server remotely, ensure that you're using secure methods, like SSH with strong keys or a VPN. Keeping services behind a secured network minimizes risks. Does this align with what you were looking to address? Let me know if you'd like to dive deeper into any part of your configuration! end of Copilot. I have to agree with most of this, AND AGREE SD cards die! (my Pi 3/4 experience with Quality cards fail too soon, can (use ssd/m.2 if youi can) l also urge you to do an external backup Avyway you probably already decided what to do Anyway just a little fun to unwind (but may actually help?)
azeos 8 Posted March 31 Posted March 31 @TMCswThanks for the (copilot)reply! I created a new folder just for emby backups and only that user can write in there. And as for the SD card, yeah... I know that eventually it will die, that's why I store the nfos and thumbs with the media files. What I need to do now is to copy the emby backup automatically to another location, just to be safe. Thanks again for all your help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now