Aotearoa Daily Kōrero 8/4/2024

Welcome to today’s daily kōrero!

Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!

Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.

So, how’s it going?

Takahe,

I finally got around to setting up backups on my home server. Got borgmatic saving to a raspberry pi I have at my parents house with a big USB HDD attached. Took me weeks of chipping away at it trying to get my head its yaml config, cron jobs and SSH keys but feels good once its all working!

Dave,
@Dave@lemmy.nz avatar

Nice job! What kind of stuff are you hosting on the server?

Takahe,

Its an Ubuntu server with a bunch of stuff in docker containers. The main thing I wanted to backup is my next cloud data which stated as just a hobby but now has the whole family using, and a Lot of audio books all hosted through audiobookshelf.

Dave,
@Dave@lemmy.nz avatar

Ah yes, nextcloud would be important to back up. Audiobooks you can probably re-aquire but if people are storing personal stuff on Nextcloud you will want to make sure it’s backed up. A common strategy is the 3 2 1 backup strategy. Have three copies of your data, two on different media, and one offsite.

It sounds like you have your original copy and your offsite copy now set up. I’d recommend having an extra backup, a backup of the nextcloud data on a different hard drive on the same machine (or another machine - but this copy should be on a different hard drive to the original copy). Personally I don’t do anything fancy, I just run a cron job to bring down nextcloud (so nothing changes), and to run a script to zip up the nextcloud data (I use bind mounts for volumes so everything sites nicely in a nextcloud folder, including docker-compose.yml file, database, and nextcloud data), then I copy that zipped file to my backup drive with the date in the file name so I have multiple copies. I run this each night scheduled in the middle of the night, then have another script that trims the backups to keep 14 days of backups then a monthly backup indefinitely (always first of the month, for simplicity).

Takahe,

That sounds like a lot of disk space… My next cloud is approaching 1tb so having 14 copy’s is not going to fit… But yes I need to sort out a third copy some how. Audio books have all been riped from family members audiable accounts, so I want to keep them safe. I can see Amazon patching the service to prevent this one day.

Dave,
@Dave@lemmy.nz avatar

My nextcloud is not 1TB, as interestingly I don’t really use if for files but far more so for the nextcloud apps and as a sync server for various other things.

The 14 copies probably are not needed. I do this because I have space for it (I think nextcloud backups are about 2GB each for me). In your case aiming for three is probably fine, certainly better than two. I’d likely only keep the three copies if mine were that large. You could also investigate backup options that only backup changes and not every file every day.

My main concern is if I accidentally deleted a bunch of files, then that deletion got synced to the other copies. That’s why I zip up daily copies and keep them for a couple of weeks, just extra protection. Finding a good incremental backup tool (that let you roll back changes) would probably provide the same protection anyway, I haven’t looked into this myself though.

NoRamyunForYou,

I’ve actually been thinking more and more recently around setting up a local backup (Nas?) But haven’t really done much research and the more I think about it, I wonder what I have to really backup (other than my photos which are stored on an external hard drive and online).

Just before I read this, I actually saw a nice setup using a rpi5 and some SSD’s. Is using a rpi a good way to go about something like this?

AWOL_muppet,

Yeah, it probably is - in terms of low overheads and electricity. Not great for long term, as SSDs can fail spectacularly, but if it’s a staging post for cloud syncing or another device elsewhere rather than the ultimate endpoint, that’s probably good.

To be fair, I’m way behind in this topic myself

Dave,
@Dave@lemmy.nz avatar

HDDs can fail too. I’d probably use a Raspberry Pi + SSD if putting it at someone else’s house, since they will both be very quiet. I have a 14TB HDD at my house for backups, and it’s pretty noisy.

If you really want redundancy you can use a mirrored array but for one backup of multiple I probably wouldn’t, especially if there’s a cloud backup in there.

NoRamyunForYou,

Is that mirrored array referring to RAID?

I literally have no knowledge in this stuff. Once you have something like this setup, how does it work? Once you configure it, does it automatically backup files in a certain location on your computer?, or do you manually move files onto it that you want to backup?

Dave,
@Dave@lemmy.nz avatar

Oh man I’m gonna show my lack of knowledge too 🙂. I’ll try anyway, but take everything I say with a grain of salt.

There are different types of RAID, but I believe RAID 1 would be a mirrored array. This Lemmy instance is on a ZFS mirrored array, but that’s handled by the host so I don’t have to understand it 🙃. I am not sure if the ZFS mirror is considered RAID but it’s basically the same thing as RAID 1 (perhaps one is hardware one is software based?)

I see this setup as more of a redundancy for a live system so it can continue with one of the drives after a failure without downtime, and I probably wouldn’t consider the mirrored drive a backup. But I’m no expert!

NoRamyunForYou,

I always mean to do some more research into the topic, and never get past that stage lol. Maybe this time will be different… maybe… lol

NoRamyunForYou,

Is failure in SSD’s more common than HDD’s? Ideally I’d want to use it as my “offline” storage option, using it instead of my current external HDD that I use.

Dave,
@Dave@lemmy.nz avatar

It seems SSDs are supposed to be more reliable than HDD, and but apparently they are only slightly better in practice.

NoRamyunForYou,

Hmm that’s pretty interesting. I’d always assumed (I guess they were talking about reliability alot when SSD’s became widely distributed) that they were a lot more robust.

Takahe,

Was that Jeff Geerlings video on YouTube? That was very cool! But using ssd’s are not very cost effective… I’m only using a pi4 as I already had it sitting around. If I was to buy something id get one that can take hdd’s natively without using USB or a random adapter from some unknown company online

NoRamyunForYou,

Yeah - I’d only seen a post on his Instagram at the time, but starting watching the Youtube video today whilst prepping for dinner lol. Havent yet finished the video though.

Do you have any recommendations as to what you might look at?

NoRamyunForYou,

I like doing hobby electronic stuff in my spare time (real beginner at it as well) and for some reason did a deep dive of DMM’s (Digital multimeter), and now I really want to get one (even though I don’t need another one atm) lol.

Dave,
@Dave@lemmy.nz avatar

Digital multimeter as in testing voltage, amperage, etc? I used to have a non-contact voltage pen and I found it pretty useful for testing for live wires, mostly when drilling into a wall but also useful for other things occasionally. It was a cheap one off ali express so one day it just stopped working and I never ordered a new one.

It had a screen for the voltage but I only ever used it as a yes or no measurement. I probably wouldn’t trust equipment worth a few dollars to be accurate, but I do see that ali express sells digital multimeters for not that much money.

I know nothing about hobby electronics, what sort of situations are they needed?

NoRamyunForYou,

Yeah that’s the one.

For my usecase, it’s mostly been checking that Voltages and Currents align with what I expect them to be, checking components to see if they are what I think they are (e.g., Resistance of resistors, whether Diodes are faulty or not), checking whether two points are connected, checking whether signals into and out of microcontrollers are as expected etc,. Things like that off the top of my head. Though I’m probably only scratching at the surface of what they can be used for.

Doing a bit of a deep dive into some forums, it seems that paying more will get you better accuracy, but the more important thing is that the real cheap ones most likely don’t come with a lot of protection, which is okay for when your looking at 5v type stuff, but if you want to look at anything to do with Mains voltage etc, comes into play.

Dave,
@Dave@lemmy.nz avatar

Yeah if you’re testing actual values, and not just live or not, I wouldn’t trust a cheap one.

Hell, I wouldn’t trust the cheap one for live or not. I always used in in addition to things like turning off the switch and not drilling where there are probably wires.

NoRamyunForYou,

Now I’m seeing that they have portable oscilloscopes! Amazing lol. I was thinking about getting a cheapo bench oscilloscope even though ni strictly don’t need one at the moment, now I realise it’s more attainable than I had thought.

Dave, (edited )
@Dave@lemmy.nz avatar

I finally managed to get the pictrs update finished last night, so that’s all sorted. Next up is the cache cleaner that will hopefully reduce the storage required (and size of backups) by a lot. If anyone likes technical details feel free to ask!

Over the weekend I also took one kid to see Kung Fu Panda 4 and took another ice skating for the first time.

Anyone get up to anything interesting?

eagleeyedtiger,

The littlest was sick again, so not much fun was had here sadly!

Dave,
@Dave@lemmy.nz avatar

Oh no! Hope they are on the mend!

BTW I currently have the instant pot cooking up this: thewoksoflife.com/taiwanese-beef-noodle-soup-inst…

With a bunch of missing ingredients (including some I swore I had, somewhere…) so I’ll see how it turns out.

eagleeyedtiger,

She does seem happier today, so fingers crossed.

Ah now I’m hungry and haven’t even thought of what to make for dinner yet, hope it turns out well for you!

Dave,
@Dave@lemmy.nz avatar

It was good! I made it sans chilli, all three kids tried it (a surprise! but two tried it after the eldest tried it and liked it), and two of them liked it. One liked it enough for seconds.

I had two bowls, one I loaded with sweet chilli sauce and the other I loaded with ground chilli, and both were good in their own way, though I suspect the sweet chilli sauce version was not authentic 😆

Thanks for the suggestion, I like adding new things to the menu and it’s not often that the kids try it the first time they see it!

One thing it mentions is spicy bean paste. Do you normally put something like that in? I’m not sure where I might find it.

eagleeyedtiger,

Awesome! Any decent size asian grocery should have the paste, may also be in the international section in the supermarket. Honestly I never remember to buy it in time… I doubt mine is very authentic either, I usually have the base spices on hand but not always everything. It still ends up delicious though 🤷‍♂️

Doubanjiang would probably make it a lot more authentic, but I usually have to omit anything with chilli so the kids will eat it.

I’m going to try and remember to pick up a jar of it next time, I haven’t been to an asian supermarket in a while though.

TagMeInSkipIGotThis,

I always have a jar of doubanjiang now - it gives such a deep savory spicy kick when cooking. I think some new world / pak’n’saves carry the Lee Kum Kee jar which i’ve used before and is ok but not quite as good as some of the other jars i’ve tried (I usually just pick one at random from my local grocer). At a pinch you could probably sub gochujang, its not the same but does a similar job. One thing I really like about this youtube channel (www.youtube.com/) is they try to show as authentic a recipe as possible but almost always include substitutions for things they guess aren’t readily available in the west.

The other thing i’ve started having on stock are these packs of sichuan ma la hot-pot base. They’re like a lump of chilli and spices and oil mixed together, i’ve used them as instant flavour for an otherwise fairly plain stir fry as well as a flavour hit to stews and braises. They have that spicy & numbing thing going on obviously so not everyone’s cup of tea.

eagleeyedtiger,

I do have a thing of gochujang in the fridge, I could probably try that next time - but yeah I don’t think it’s really the same.

That’s a great idea with the hot pot base, unfortunately we don’t get to make as much spicy dishes due to kids, but I might try it one day when I can be bothered making separate meals for them.

Ozymati,
@Ozymati@lemmy.nz avatar

Was KFP4 any good?

Dave,
@Dave@lemmy.nz avatar

The kid enjoyed it. I thought it was OK. Nothing groundbreaking, entertaining enough, but not a whole lot in there for adults. Storyline was pretty generic really.

Plus I finished my popcorn before the movie started, so that may have tainted my experience.

Ozymati,
@Ozymati@lemmy.nz avatar

I remember watching the first couple with my friend’s kids and being mildly amused. Sounds like the franchise has devolved.

Dave,
@Dave@lemmy.nz avatar

Mildly amused may be an appropriate description, but really how many movies are still good by number 4?

Ozymati,
@Ozymati@lemmy.nz avatar

Sometimes movies in long running series get awesome because the studio stops paying attention. E.g Anaconda 3.

AWOL_muppet,

Nah, just surfing the tension headaches all weekend :(

Dave,
@Dave@lemmy.nz avatar

Arghh that sucks

  • All
  • Subscribed
  • Moderated
  • Favorites
  • newzealand@lemmy.nz
  • PowerRangers
  • thenastyranch
  • Youngstown
  • hgfsjryuu7
  • slotface
  • rosin
  • InstantRegret
  • tacticalgear
  • kavyap
  • osvaldo12
  • everett
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • anitta
  • Durango
  • mdbf
  • ngwrru68w68
  • modclub
  • cubers
  • vwfavf
  • ethstaker
  • cisconetworking
  • GTA5RPClips
  • normalnudes
  • Leos
  • tester
  • provamag3
  • All magazines