554

Source

Transcript:

10 things that block your Happiness

  1. Self-hatred
  2. Not being able to let go of the past.
  3. Not being able to forgive yourself.
  4. Not being able to value who you are.
  5. Assuming RAID is backup.
  6. Not making backups.
  7. Not verifying backups and finding out restore time.
  8. Needing other people to validate you.
  9. Letting other people define who you are.
  10. Trying to be perfect and to please everyone.
top 36 comments
sorted by: hot top controversial new old
[-] xmunk@sh.itjust.works 45 points 3 days ago

RAID 0 is the best way to ensure data redundancy. It's what we use at every Fortune500 company and there's not an issue.

[-] Jesus_666@lemmy.world 42 points 3 days ago

But it's still not a backup strategy. You should always have a second partition on the server that you sync your data over to. For performance reasons this partition should be on the same RAID 0 array.

[-] chellomere@lemmy.world 33 points 3 days ago

Backing up to a different partition on the same RAID array sounds like a good way to lose all your data.

The backup should be physically separate from the original.

[-] qaz@lemmy.world 15 points 3 days ago

Yes, and it should use another type of media, like tape, glass, stone tablets or optical media

[-] RandomLegend@lemmy.dbzer0.com 19 points 3 days ago* (last edited 3 days ago)

We have a bard travel accross the lands and carry out our data by singing epics about it.

That's a valid backup because it's a different media, correct?

[-] ulterno@programming.dev 1 points 1 day ago

As long as you are fine with corruption.

[-] NeatoBuilds@mander.xyz 7 points 3 days ago

It shall live on through the generations

NEVER test your backups. It wears out the tapes faster.

[-] Pantsofmagic@lemmy.world 12 points 3 days ago
[-] Sparky 9 points 3 days ago
[-] andioop@programming.dev 5 points 3 days ago

RAID: Shadow Legends™ is an immersive online experience with everything you'd expect from a brand new RPG title. It's got an amazing storyline, awesome 3D graphics, giant boss fights, PVP battles, and hundreds of never before seen champions to collect and customize. I never expected to get this level of performance out of a mobile game. Look how crazy the level of detail is on these champions! RAID: Shadow Legends™ is getting big real fast, so you should definitely get in early. Starting now will give you a huge head start. There's also an upcoming Special Launch Tournament with crazy prizes! And not to mention, this game is absolutely free! So go ahead and check out the video description to find out more about RAID: Shadow Legends™. There, you will find a link to the store page and a special code to unlock all sorts of goodies. Using the special code, you can get 50,000 Silver immediately, and a FREE Epic Level Champion as part of the new players program, courtesy of course of the RAID: Shadow Legends™ devs.

[-] CrazyLikeGollum@lemmy.world 2 points 3 days ago

Nah, WoW. Off the company RAID.

[-] Aurenkin@sh.itjust.works 6 points 3 days ago

Preferably something geographically separated from the server as well in case of some kind of physically destructive event like a fire.

[-] qaz@lemmy.world 8 points 3 days ago

Most people don't know this but RAID6 is also a fire deterrent

[-] xmunk@sh.itjust.works 6 points 3 days ago

It also is excellent at keeping out ants.

You rarely see ants in datacenters and its because of all the RAID.

[-] bitcrafter@programming.dev 11 points 3 days ago

I prefer RAID -1, which is like RAID 0 except that you routinely yank one of the drives so that only the fittest of the bits survive, greatly improving the quality of your data!

[-] xmunk@sh.itjust.works 5 points 3 days ago

Evolution in practice!

[-] pimeys@lemmy.nauk.io 14 points 3 days ago

I can validate this. I work as the IT ops guy for every Fortune 500 company and we only use RAID-0 for backups.

[-] NeatoBuilds@mander.xyz 4 points 3 days ago

A singular raid0 for all of them to make sure it's safe

[-] whyNotSquirrel@sh.itjust.works 5 points 3 days ago

what? 🤨

You made me doubt a second

[-] SplashJackson@lemmy.ca 15 points 3 days ago

Don't forget being forced into the office

[-] MajorHavoc@programming.dev 13 points 3 days ago* (last edited 3 days ago)

Pro tip: Copying a Postgres database while live transactions are interacting with it frequently results in a corrupt backup.

Thankfully I test my Luanti backups.

Edit: I should clarify - My dangerous backup method was a naive file copy. I'm sure there's a different correct way to do a live backup. I just haven't checked into it yet, since stopping my Luanti server for a backup is no big deal.

[-] alper_celik@lemmy.world 4 points 1 day ago

İirc they say dont do live backups as file copying but also docs say you could use filesystem snapshots

[-] MajorHavoc@programming.dev 1 points 1 day ago

Yeah. I knew better, but it just didn't occur to me until I was confirming my backups later.

[-] Kojichan@lemmy.world 4 points 3 days ago

Yikes! Thanks for the tip. I'm just starting to learn about Postgres. Think I'll stick with MySQL or SQLite for now... :o

[-] umbraroze@lemmy.world 3 points 1 day ago

Choosing to not use something is not a good way to learn how to use it.

In this particular instance, the lesson is to either a) use the provided database tools (e.g. pg_dumpall) for live backup, or b) bring the database cluster down before you backup the raw data folder.

[-] FrostyCaveman@lemm.ee 3 points 3 days ago

Seriously? Dammit

[-] hperrin@lemmy.ca 11 points 3 days ago

RAID with parity is technically a backup, just a mostly ineffective one. It’s a backup that allows you to recover from exactly one scenario, single (or double) device hardware failure.

But I definitely understand the mantra “RAID is not a backup”. It’s not what most people think of when they say “backup”.

[-] marcos@lemmy.world 12 points 3 days ago

Validate your backups, do not let them validate you!

[-] MonkderVierte@lemmy.ml 12 points 3 days ago
  1. Social media
[-] ByteOnBikes@slrpnk.net 9 points 3 days ago

IT team is in charge of backups. They swore up and down that everything was fine and backups are working correctly.

For my department because I believe in Happiness, asked them to send me a backup. It was garbage data.

Then I learned how they verified the backups were working if the file size was bigger than 0kb.

[-] tfw_no_toiletpaper@lemmy.world 9 points 3 days ago

I have read these bullshit self-help self-affirmation and similar posts so often, my brain refuses to read anything related anymore. Had to do like 3 takes until I noticed.

[-] HeyThisIsntTheYMCA@lemmy.world 7 points 3 days ago

excuse me but my raid is going to be a backup just to comply with rule 10.

I recently changed my hosting provider and wanted to install the new server from the backups I've been creating daily for the last four years. Well, it turned out the backup process got stuck on a lock file in July, 2021. And the email process that should have notified me was broken too. I was so happy I didn't find this out in an emergency and spent more time testing the email notification this time.

[-] FrostyCaveman@lemm.ee 4 points 3 days ago

If only my happiness supported non-blocking I/O

this post was submitted on 18 Dec 2024
554 points (100.0% liked)

Programmer Humor

19813 readers
179 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS