Building a Tiny NAS for My Parents
Vložit
- čas přidán 3. 11. 2022
- Follow me:
Mastodon mastodon.technology/web/@nott...
GitHub github.com/notthebee
Twitch twitch.com/notthebeee
Support the channel:
Mastodon tilde.zone/@notthebee
Patreon / wolfgangschannel
PayPal (one time donation) www.paypal.com/donate/?hosted...
Music:
Videos are edited with Davinci Resolve Studio. I use Affinity Photo for thumbnails and Ableton Live for audio editing.
Video gear:
Camera geni.us/K8OOyKV (Amazon)
Main lens geni.us/jnnElY4 (Amazon)
Microphone geni.us/tgiSqL (Amazon)
Key light geni.us/Gi1zE2 (Amazon)
Softbox geni.us/F86pM (Amazon)
Secondary light geni.us/aciv (Amazon)
Other stuff that I use:
Monitor geni.us/KUzcmcP (Amazon)
Monitor arm geni.us/5RXu (Amazon)
Laptop stand geni.us/X5vx9Af (Amazon)
Keyboard www.amazon.de/HHKB-PD-KB401W-...
Mouse geni.us/KB7h (Amazon)
Audio interface geni.us/sdhWsC (Amazon)
As an Amazon Associate, I earn from qualifying purchases - Věda a technologie
My infra repository: github.com/notthebee/infra
PhotoPrism: photoprism.app/
PhotoSync: www.photosync-app.com/home.html
Syncthing: syncthing.net/
Translation: I wanted an off-site backup
See you when this gets 1K likes!
Won't get very far with 1tb...
I wish :) My CZcams footage folder takes around 12TB of space, and for everything else I just use Backblaze
@@WolfgangsChannel If you have any tips on this, I'd eat it up.
I have an emulation game library that I want to share with a friend, while doubling as an offsite backup. Something like a remote SAMBA share is what I'd want, if that's even possible
@@wchorski look into syncthing
You could use the the CF slot to automatically import photos shot on an older DSLR without wireless upload options, so you wouldn't need to connect the memory card to a PC and manually drag n drop photos. There are SD to CF and MicroSD to SD adapters, so it would work for pretty much any memory card. Combine with some flashing LEDs on the front panel for a status indicator.
I love those older ITX cases. Can't believe how low power that board is. For my parents I would've just done NextCloud because if I told them they needed 3 different pieces of software, they would've yelled at me.
Looks like a reasonable solution.
I went a different way.
Earlier my parents had an old Windows HomeServer, which was completely outdated, so I set up a Raspberry Pi 4 for them with a 1TB SSD, Docker and Nextcloud on it. Their documents folder on their Laptop is set to synchronise with the Nextcloud and am done.
As there is no RAiD, their Nextcloud will be synced over to my home server regularly.
@@plica06 use a simple Sata to USB dongle, taped the SSD below the Raspberry case.
Booting the OS from the SSD to not run into wear out issues on the CF card.
Do you use RAID with the SSD? I currently run a SATA SSD on my pi with syncthing and i'm super scared of loosing data.
@@marc2509 no raid, just regular backups.
I went the same route, a Pi4 4Gb Ram and a Samsung T5 1 Tb (soon to add two 2Tb in Raid 1). I use Open Media Vault 6, and before I used OMV 5. No problem whatsoever. BTW, my central file server system is a 2014 Mac Mini in two Raid 1 configurations. The Pi NAS is mainly used for all my Pies and Linux systems in my network.
"As there is no RAiD, their Nextcloud will be synced over to my home server regularly."
I have an idea, though convincing them to get a nas is just impossible, for just getting a couple cheap SFF mini PCs from ebay, add a small drive to boot from and get like a 2TB SSD for actual storage. There'd be one at my parents, one at my grandparents and one at my sisters place, this way all of them have good speeds for their backups and syncing. And those 3 boxes would sync to each other, if one dies it can be restored from one of the other 2 so there is redundancy just not locally
You're lucky your family actually understands and willing to let you do this
I actually suggested making one for them and they just said "no need, we have google drive or 1tb cloud storage"
Like wtf
My parents were like "monthly fee? no thanks" :D
Why not both? Always good to have off-site backup.
@@xtreme571
Well, being in an Asian household
Because I dont want to do the stuff, and then inadvertently get accused of doing unnecessary stuff and a waste of money, as well as them finding the act of doing anything outside of what they already know - "too complex", and they will say "dont complex things"
Classic boomer mindset
@@WolfgangsChannel
Wish i would hear those words tbh
Relatable.
PhotoSync is by far one of the best apps I've ever used for syncing photos to the cloud and/or my local NAS. In your screenshot there is only shown the yearly subscription but for anyone who is interested: you can also get a one time payment as low as 6,99€ for the pro version.
How?
Undoubtedly, You're one of the best techie in the world. Hats Off to your content quality, coverage, ideas, knowledge, tweaks, tricks, IaC, tips...personality(posture during the video's) and more !!!
11 out of 10 again !
One request if you'd like to walk us through gotchas or while executing this infra code like you do this often(if you could capture it). Anyway, Hoping this weekend to figure it out, wish me luck :)
Only one thing I didnt like was the storage, i mean it would be very against you if it break and I think you should use a mirrored 2 drive at minimum to avoid lossing important pictures from being lost
And it shall be called "BanaNAS" 😂
Nice work Wolfgang! Tiny, simple, low-power = great solution.
Btw, you are the only German I know who doesn't seem to have a German accent. Amazing :)
Just because he's Russian 🙃
@@sashauly Volga German
@@sashaulyреально?
Thanks Wolfgang for this video, I'm just working on building a NAS for my parens, so this is super helpful.
I am using a small Fujitsu S720 (I think) at my parents place for arr services in my home country. I can recommend Tailscale and/or zerotier for remote management, since you needn't any port forwardings!
That does not look like a no-name case, seems to be Mini-Box's M300, which I've got the LCD-version of lying around from when I was still using the first version of my router-pc.
edit: Correction, it's the M200 that you seem to have :)
I found a place that sells this exact case. It's the M200 Enclosure from mini-case. They sell a slightly taller version that has a PCI slot as the M300. There's also a version with a front-panel LCD that could be put to use, say, if you used this form factor for a DIY NVR.
having travelled across all continents, it still amazes me how Germany still has such slow consumer DSL speeds
Very nice tiny project. Well done.
Thnx for your quick reply. I'll check it out and give it a try 😊
I would switch to VPN instead of port forwarding SSH for example zerotier/tailscale or wireguard.
I'm doing something similar myself, so maybe I thought I'd give you some solutions on what I did.
- instead of port forwarding the fritzbox why not download the ZeroTier Docker container so you can make an SD WAN for the house? A little better OPSEC imo
- why not use UrBackup instead of Syncthing for the backups? Maybe useful for reimaging in the case of faulty hardware.
Hope this helps! :)
I switch from google photos to a synology nas that runs synology photos and can sync my phone photos to it. is has work well for me. The pain in the butt part is transfering the google photos to the synology nas because of how google handle the pictures and metadata. having to re-organizes everything.
Thanks! Looking forward to new videos
Great video!
What do you use for SMTP relay?
I am going to try out photoprism. It looks like it is exactly what I need to manage/view my photo library.
don't get your hopes up too high
@J Probably a patron. They usually get to view before the poor folks.
@@gitgudchannel why not?
I tried to install it via a docker compose file on a synology nas that runs portianer. But all efforts were unsuccessful. I will try later today.
What I want to do is keeping storing my files like I do now. But use a tool like photoprism to build up the metadata. I hope it can do that without messing with the current file structure I already have and that i definitely want to keep.
@@filip2359 Photoprism works great for me, and my use-case is similar. I see many people who have issues with it, but we you can quickly dismiss most of them by reading their other comments to find that they’ve not installed or utilized it correctly.
Immich works really great for me
Nice little server. I just love it.
Love the video and plan on setting up the same thing for my parents! Can you make any suggestions for a digital photo frame that would be able to display and album from photo prism?
Thanks Wolfi, good as always
There is also a synching client for Android.
I switched from Photoprism to Immich some time ago (even though they say it's not production ready yet) and I never want to switch back. It just works amazingly and comes with its own sync app.
Does it support live/motion photos?
I have both of them running. So far I like immich for the ease of use, plus android apps. But prism looks good.
So an obvious upgrade would be RAID SATA SSDs. You're welcome for the next video idea ;)
My NAS is exactly this. I have a 1tb nvme drive and a 1tb sata ssd. Truenas does daily backup from one drive to the other.
Nice 👍 The follow-up vids will show getting a bigger case, adding bigger psu, adding storage, adding cooling. 😂
Wolfgang uploads in the morning >>
Dude that case looks like a cross between the old 2005 Windows XP MCE PCs (with the displays) and the PSX DVR from Japan!! LOL
you could have used Resilio sync for syncing from phones to the NAS, it is free
This is a great and thoughtful gift, and the fact you spend time to build it yourself really says a lot. This gave me the idea to build something similar with a Raspberry PI or similar but connected to a small LCD Screen to play a slide show of the Photos on it.
This is a good one. I would use nextcloud for the sync instead, but that's just personal preference.
yes the new nextcloud photo 2.0 + recognize app looks really promising
Nextcloud is so slow. When u wanna see the pictures you are better painting them than loading it via the browser.
@@Lara-tk2wg I don't have such experience. I have 40+k pictures, it loads quite quickly. It took days to do the face recognition, for sure, but that's due to my slow home server CPU, not a nextcloud problem...
I snap a picture with my phone, few seconds later it's on my nextcloud and I can watch it right away.
What instance of nextcloud did you use? What was the server HW?
Hi there, I have a few doubts here about using Nextcloud.
I tried it a few years ago (maybe 2 years ago) and as far as I can remember you have to set up a volume where a folder per Nextcloud user will be created.
What I mean is, your synced photos will live in that user folder, right?
But what if I need the pics to be saved on a shared folder that is my photo library on the NAS?
All of it using docker.
Thanks in advance!
@@blinkitogamingTechnically, you can use your NAS library as a storage for the photo folder - in NextCloud android/iOS app you can set the auto-sync folder. If that folder is mounted from your NAS, your pictures will automatically upload to NAS and will be also visible in NextCloud. However, this is a bit advanced setup, so it will require a bit of work.
Can you add links where you can buy elements used to build the NAS, and more precisely a link where you can buy this card for nvme disks. Thanks.
Hi, have tried Immich instead of PhotoProsm? It would be nice to hear your thoughts about it.
Where do you find these motherboards with built in CPUs? I've looked all over the internet and I can't find anyone selling them. I would be interested in buying a few for a couple different projects.
I’ve see some good options with built in CPUs from gigabyte and asrock
1:36 Cases before the mid-late-2010s do seem to look better, for some reason. Why is that?
Is this server only available in the internal network or it's publicly available and how do you manage public availability, static IP?
"I'll be using the Asrock J4125..." as he holds up the board with the bold ASRock J4105 logo prominently displayed.. rofl...
I have done the same thing. Is there any cheap solution to also have the PhotoPrism backup stored up in cloud somewhere for worst case scenario. One option is having it sync between two different computer stored at different places but any nice cheap cloud storage would be good
Yep, many cheap VPS providers have "storage" options with 200+GB of internal HDD storage
If you're up for a challenge, you can sync up to a blackblaze b2 instance. It's costing me around $2 a month for 600MB.
I have the same hardware setup for my NAS!
How feasible is this route when compared to an off the shelf solution like a Synology or the likes? It's not like everyone has parts laying around.
And what about the ease of recovery, from what I heard in case the SSD fails it's harder to recover data compared to a HDD.
This video was not presented as a universal solution that works for everyone :) Synology is also a good option
From what I understand, the ease of data recovery will only matter in a situation where you're OK with paying a data forensics company for recovery. In my case, since the copies of the pictures are still stored on the phones, an SSD failure would be an inconvenience rather than a total catastrophe
@@WolfgangsChannel it was a good video, just felt those informations were kinda missing/ would have added value if they were there.
2:36 - Could you please let me know how you got this OCD overview of everything? i NEED it
Great opening!
How does your parents connect securely when they travel to upload the photos? Tailscale? 'Regular' VPN? Or?
They don't - the photos get uploaded once they're back home
@@WolfgangsChannel Ahh okay 👍
Why did you open a port for SSH instead of setting up a vpn connection? Isn't the latter safer?
Great video but which processor is in there? Maybe ive missed something
J4125, it’s integrated into the motherboard
I wish I only needed 1tb of space for a NAS, I am almost capped out on a 5tb NAS and I only back up photos but I guess it doesn't help that I have also digitized the family album as well.
I am up to about 40TB. Hoarder.
How does the PSU hold up to time? They seem to be a perfect solution for these low power PCs but I doubt, they are up to 24/7 service.
Is ssh via portforwarding the best idea? Simple vpn could be setup and would be more secure.
Why would it be more secure?
So first of all thanks for the nice videos all the time.
I have a similar setup, but one fundamental problem.
My family wants to watch their photos on a TV-Screen.
I have thought of using a Raspberry Pi attached to the TV, which could put up the slideshow. But my family isn't very into tech, so it should be as easy as possible, and having a mouse and keyboard lying around to control the Raspberry Pi doesn't sound very easy to me.
Do you know of any better solutions?
Is this the same TV they use to watch movies shows? Easiest solution is to get a TV with airplay/miracast. With their phone / laptop they connect to the "2nd" display wirelessly and then browse pics as normal.
unless you're talking about a dedicated digital picture frame, then it's even easier. Just run some type of slideshow program that auto updates
@@wchorski thanks that actually makes sense I will try that. And yes it's the TV were they watch movies on.
@@sapphirefreak5416 3rd option is to host family photos on a Plex server. This would require more on your end to a have some backup software that copies over the photos
@@wchorski Ok thanks, I might try that in the future. But I'll try the miracast solution first and see how they like that. Thank you very much again :D
You are amazing! Keep it up!♥
any places to buy the J4105 in Canada?
Question: Is there a reason you choose to use port forwarding instead of a vpn (except for expense)?
probably because its very easy to do with FritzBoxes
Any tutorial for Windows n00b how to set this up in OS/software?
Asking for... my parents.
Interesting, I guess because the board is so low power it does not have the 12V EPS meaning you got to use the wide input pico that lacks the 12V EPS.. although you mentioned using a 12V laptop adaptor? I thought most laptops were around 19.5V..
Yes. I had bought my unit to use it with a 19V PSU, and after the project was done it was just collecting dust
@@WolfgangsChannel You got some nice items collecting dust around your house haha.. I'm still looking for a wide input psu with EPS 12V lol.. I REALLY don't feel like buying a 12V power brick when I have a real chunky 160W boy from a very old HP Envy laptop
Oh man I love me a good old episode of "Local CZcamsr shamelessly exploits his family for content" on a Friday!
There is nothing quite like it!
I am on vodafone internet in Germany and they have completely removed port forwarding during covid. What other internet companies allow port forwarding now in Germay?
If you use the Vodafone Station router, you can enable "Bridge Mode" and use your own router for the actual routing (OpenWRT, OPNSense, etc.)
I just use an external hard drive. It consumes power only when connected and costs less. 😄
Where do you buy your pico PSUs from Wolfgang?
eBay
I just stumbled on here and have no idea what you are talking about, but I will keep watching
So still no backup just storage, maybe google drive with the new free 1tb data storage (coming soon) and sync the nas and google (and they could just have used 2 google accounts sincronized with each other couldn't they?
Wouldn't it be more "secure" to vpn into the machine instead of forwarding the ssh port?
As long as the SSH access is secured with a public key, I personally don't see why it would be insecure.
VPN Access would definitely be more convenient for administration though, and it's something that I'm planning on setting up as well
@@WolfgangsChannel Check out ZeroTier for this. I've been loving it for the past 3+ years. ztncui allows you to selfhost everything.
@@kennys6097 Yeah, ZeroTier is nice until you discover how much bandwidth it sips just on sitting idle. OpenVPN works a lot better in such case, because connected with duckdns it's basically free and gives you fullish control. Set couple remotes to 'bullet proof' it, like have own domain and DuckDNS pointing into your IP, so if any of the two dies, you still can connect to your stuff.
How can i find similar box like that?
Great video, liked and subscribed. Could you make a comparision between piwigo, photoprism, librephotos and immich please? I'm in the same situation with my parents photos.
Nas parrot? Which team ronaldo going to choose next? He should have charged 300 million 🤣
Thanks 🙏👍🏽😃
How is it going to be cheaper than some off-the-shelf solution like Synology NAS?
It's going to be cheaper for me because I've had almost all the parts lying around and will break even on the ad revenue from the video.
This video is not a buying guide
What about an off site backup on your server?
Can you use Fritzbox as NAS and use PhotoSync?
Yes, but it will probably be extremely slow. Last time I checked, FritzBox also only supported SMB2, so you might need to force the v2 protocol in Photosync... not sure you can do that
Could you suggest some material to learn ansible basics fast?
He has done this video covering basics of Ansible: czcams.com/video/Z7p9-m4cimg/video.html
Jeff Geerling‘s Ansible streams
Why not use something like Immich for Photo sync which offers clients for iOS and Android?
Like I said, I've tried many things, but PhotoSync has been the most reliable one so far
@@WolfgangsChannel So Immich was not reliable? In which way? I'm curious.
I haven't tried Immich in particular, that might be an idea for another video
I use the ASRock J4125M but with Proxmox instead of Ubuntu server. OPNsense as VM, 3cx as VM, Ubuntu LXC with SeaFile to sync Fotos and stuff. Intel 4x1gbit nic, and picopsu. 11w to 15w. Denkt an die Stromrechnung
Can I access my personal cloud on the internet and upload it any where in the world
Super cool
I simply advised my parents to use Icloud. Most home-built NAS solutions are fun to build but impractical. You have to worry about a lot of things like backups or security holes in the packages you use. Nothing is worse in the end than losing all your photos to ransomware.
My parents are on Android unfortunately, and I don’t really trust Google bc of their track record when it comes to keeping services alive
"You have to worry about a lot of things like backups or security holes in the packages you use."
Because iCloud has never had leaks and people's sensitive photos were made public.
Oh wait.
The leak at Icloud was a phishing attack. Of course, data leaks can also occur at large companies, see Azure, but the probability is lower.
I do NOT trust the "cloud." I want my data - original and backup copies - in my own hands. I have constant problems with "clouds." I only use one (still problematic) for third-level daily backup offsite.
Pretty cool, although I don't like the idea of a subscription fee to allow for synching of data.
If you're talking about Photosync, It's a one time payment of around 2-4€ if I remember correctly
Yeah, I saw the subscription price on screen and immediately said "f*** that" even though I wasn't planning to buy it anyway.
I pretty much hate subscriptions out of principle at this point. I don't care what it's for anymore - if it's a subscription, I hate it and am not paying for it.
At the risk of repeating myself - the auto sync functionality is a *one time payment*, not a subscription.
Port 69.. Nice!
What about power shortages? How are you going to counter it?
Good ol UPS?
Damn, 8W use for a proper mini desktop pc... my router uses 11W despite being very low spec hardware.
Sooooo.... You're telling me that this is also going to double as an offsite backup... Suspicious
Which Pricemodel did you choose for Photoprism?
PhotoPrism is free
@@WolfgangsChannel so you use the Community Version instead of Essentials, Plus or Cloud.
@@WolfgangsChannel Not if you want full res photo support, advanced gps features or hardware video decoding.
Yes
If the drive fails, photos are gone
The photos are still kept on the phones for now.
The reason why I decided to set up a NAS is to have a backup in case either my mom or dad lose their phone
2:24 I see an external cd changer, don't know where you see PS2
Why not use Raspberry?
This is a more compact solution and more energy saving.
Raspberry Pis are kind of hard to buy these days, and in my case I'd also have to buy some kind of an NVMe adapter to connect the NVMe drive
I like your intro.
Ssh port open to the internet? I really hope you disabled password authentication and are using a private key to log in..
Plzzzz have a tutorial to configure your ansible configuration on ubuntu server, fresh install, it really confused me about ansible. I tried but I didn't progress much: c psdata: soon I will renew the patreon hehe
What kind of cpu did you use in this build?
J4105
Where did you get the motherboard from?
Looks like really cool build! Portfreigabe 69 😂
If someone is interested, the case is an "M200 ITX Case"
It is cheap nothing. If you have no regular backup to the BIG TECH CLOUD ..
Hello Wolfgang-Sama!
Would you recommend encrypting the hard drive from a home server that has sensitive data(Paperwork stuff), *legally* obtained Movies+Music, ect...?
Thank you for your videos, it's always a treat to see you upload
Thank you!
It depends. Full disk encryption adds a lot of overhead and necessitates some kind of a hypervisor or KVM setup to enter the passphrase on server startup.
Moreover, FDE only encrypts the data at rest. It will protect your sensitive information in case of unauthorized physical access, but probably won’t do much against a remote attacker. My server is mostly on, and I trust my wife with not misusing the data on it 😁 so in my case, FDE wouldn’t make sense
One alternative that might work better are cryptocontainers. There are a lot of implementations, such as encfs, and it allows you to decrypt and encrypt your data without shutting down the system
@@WolfgangsChannel Thank you so much for answering the question so thoroughly!
@@WolfgangsChannel Wait, you have a wife. I thought you were in college or something.
Also Nice video.
Just wondering, what happens when your house burns down because of such a pico psu?
What if it burns down because of a regular PSU?
I would expect PSU manufactorers and insurances to agree on who has to come up for the damage but I may be absolutely wrong. I never had to do with insurances regarding fire damage.
In Germany almost everyone has something called „Haftpflichtversicherung“, which normally covers house fires.
But in general the likelihood of a house fire from a regular PSU is not lower than a PicoPSU
Maybe another solution is Nextcloud
isn’t easier to get syncthing to sync photos…