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.
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.
25 Comments
frongt@lemmy.zip · 59 pts · 108d
An untested backup is not a backup, it's a wish.
IsoKiero@sopuli.xyz · 29 pts · 108d
Also known as Schrödinger's Backup.
aeronmelon@lemmy.world · 13 pts · 108d
Schrödinger did not have a backup cat.
Davel23@fedia.io · 11 pts · 107d
Well, he did and he didn't...
uenticx@lemmy.world · 3 pts · 106d
Restored my backup and have all and none of the files, sir. Don't look at it until we fsck.
illusionist@lemmy.zip · 3 pts · 107d
But he had quantum entanglement
conrad82@lemmy.world · 20 pts · 107d
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 pts · 107d
The image backups I do of my server are tested in a VM
frongt@lemmy.zip · 3 pts · 107d
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 · 10 pts · 108d
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 pts · 108d
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 pts · 107d
That’s one I’d have the facility owner hire someone to test.
Shimitar@downonthestreet.eu · 4 pts · 107d
3, 2, 1.... Test the backup!
... Is that the rule, right?
morriscox@lemmy.world · 2 pts · 107d
https://www.unitrends.com/blog/3-2-1-backup-sucks
illusionist@lemmy.zip · 2 pts · 107d
From now on!
KingGordon@lemmy.world · 4 pts · 108d
Two backups is one and one is none.
comrade_twisty@feddit.org · 3 pts · 107d
Two untested backups are worse than one tested backup though.
captcha_incorrect@lemmy.world · 3 pts · 107d
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 pts · 107d
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 · 3 pts · 107d
Sounds like there's room for a tool that checks backups
HubertManne@piefed.social · 0 pts · 107d
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 pts · 107d
Somebody tell that to tindie.com !
incompetent@programming.dev · 1 pts · 106d
Who's that?
mikerr@programming.dev · 1 pts · 105d
It's a DIY electronics marketplace, went offline for "routine maintenance" as has been offline for 4 days and counting ...
GreenKnight23@lemmy.world · 0 pts · 107d
rule of thumb. any backup you don't regularly test isn't a backup.