this post was submitted on 18 Apr 2026
87 points (98.9% liked)

Selfhosted

61129 readers
252 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Somehow I had a database corruption and I did not know how to restore from backup. It was a bad experience until I saw that it worked. Make regular and check your backups.

top 24 comments
sorted by: hot top controversial new old
[–] frongt@lemmy.zip 46 points 3 months ago (1 children)

An untested backup is not a backup, it's a wish.

[–] IsoKiero@sopuli.xyz 20 points 3 months ago (1 children)

Also known as Schrödinger's Backup.

[–] aeronmelon@lemmy.world 10 points 3 months ago (2 children)

Schrödinger did not have a backup cat.

[–] Davel23@fedia.io 9 points 3 months ago (1 children)

Well, he did and he didn't...

[–] uenticx@lemmy.world 1 points 3 months ago

Restored my backup and have all and none of the files, sir. Don't look at it until we fsck.

[–] illusionist@lemmy.zip 3 points 3 months ago

But he had quantum entanglement

[–] conrad82@lemmy.world 16 points 3 months ago (2 children)

How do you guys test your backups?

I have restored my proxmox setup from backup and it worked, but that is not something I do on regular basis.

I have from time to time done spot checks that certain files are working.

Most of the time I rely on the verification done by proxmox backup server..

[–] irmadlad@lemmy.world 6 points 3 months ago

How do you guys test your backups?

The image backups I do of my server are tested in a VM

[–] frongt@lemmy.zip 3 points 3 months ago* (last edited 3 months ago)

PBS verification is only a checksum of file integrity. If somehow the backup was zero-length, or was otherwise corrupt, the verification would succeed but the backup would be useless. How often you do file or full restores is up to you, but required for actual verification.

[–] irmadlad@lemmy.world 8 points 3 months ago

That's a gimmie. I test server image backups in a VM. So far, I've never had to resort of a backup, but I don't want to find out that my image is worthless if I ever had the need.

[–] Rhaedas@fedia.io 6 points 3 months ago (1 children)

Narrator: The fire detector in fact did not work.

There's more than one kind of backup in life, check them all.

[–] captcha_incorrect@lemmy.world 1 points 3 months ago

That’s one I’d have the facility owner hire someone to test.

[–] Shimitar@downonthestreet.eu 3 points 3 months ago (2 children)

3, 2, 1.... Test the backup!

... Is that the rule, right?

[–] KingGordon@lemmy.world 3 points 3 months ago (1 children)

Two backups is one and one is none.

[–] comrade_twisty@feddit.org 2 points 3 months ago

Two untested backups are worse than one tested backup though.

[–] captcha_incorrect@lemmy.world 3 points 3 months ago

I run Borg backup, and I did a successful live test yesterday. Deleted the wrong file and hade to restore it.

[–] HubertManne@piefed.social 3 points 3 months ago (1 children)

this drove me nuts at workplaces. we have to test the backups after backup. so many did not want to waste the resources. if it worked fine once it will always work fine to them.

[–] illusionist@lemmy.zip 2 points 3 months ago (1 children)

Sounds like there's room for a tool that checks backups

[–] HubertManne@piefed.social 0 points 3 months ago

or ai that evaluates. For me the backup works if the whole system actually works. Its more commonly known as disaster recovery.

[–] mikerr@programming.dev 1 points 3 months ago* (last edited 3 months ago) (1 children)

Somebody tell that to tindie.com !

[–] incompetent@programming.dev 1 points 3 months ago

Who's that?

[–] GreenKnight23@lemmy.world -1 points 3 months ago

rule of thumb. any backup you don't regularly test isn't a backup.