skankhunt42

u/skankhunt42@lemmy.ca
9 posts · 642 comments

Recent posts

Recent comments

Personally, it sounds like you're overengineering your setup. If it's to learn then have fun! However, if its 'prod' and you care about the data then you should stick to prod tested architecture. You won't find many people (if any at all) using inode notify to rsync a database on change.

on Pain · c/piracy · 16 pts · 1d

I had one at 62% for years I watched peers come and go but never lost hope. Today it's at 99%. All I'm missing are some padding files so basically 100%.

There's me and one other peer who seems to be willing to seed until the end of time. My ratio keeps climbing so I assume someone somewhere is thankful

I think the inode rsync is a bad idea. The 2nd DB would be on the NAS but its not being used by the app, so as long as it's asynchronous writes, you should be okay.

In either case, I hope you have backups, not just the copy

I know it has been 3 days since you posted buy why not set up replication in the database it self? Sounds like you're over complicating replication.

I run in k8s but I have a database with local disk, and I have another cronjob that takes a backup into the first database docker init folder. Older backups end with -date so they won't get picked up by the init script. You can do similar with just docker.

I'll echo everyone else. Database need local disk. I speak from experience of doing it over NFS. Even containers that have a hidden sqlite3 database should get local disk.

I 100% agree that a break isn't a negative thing and I thank my mother in law every time she watches our kid.

Never in my life will being at work be better than being at home. Regardless, It's the same guy who makes off hand comments like my wife "wears the pants" and "is the boss". I use to ignore the comments and just carry on but I didn't hold it in the last time.

In a similar vein, people who comment about work being a "break from the family". I had my first kid a year or so ago and one person at my new job said how it must be nice to "get away for awhile".

I actually said "no, I love my family and enjoy my home life." They avoid me now.

I self host matrix.org synapse and bridge all my chats into this. I have a room for alerts and have any issues go into there. I get this on my phone, desktop, etc.

Aside from the notification part, I don't want anything on my phone. If there's an outage at 3am for my self hosted stuff, I'm not getting up, I don't even want it to wake me up. I like sleep.

All I need is that initial notification and maybe a little extra context as to what it is. I need to determine if I'm going to fix it "soon" or if it can wait until I have free time. Doing anything else on my phone is a hard no. I need a keyboard and mouse.

When digging into the problem all I usually look at are the logs.