Word of Warning: Backups

3 years ago by Hellfire103 to c/linux

After a single APT command gone wrong made my Debian installation unusable, I decided to reinstall Linux. I tried to back up everything to my external hard drive, but it kept unmounting, so I elected to use Filen (a FOSS cloud storage provider) instead.

It was only after installing openSUSE Tumbleweed with KDE Plasma that I realised I hadn't actually synchronised the folder I had moved my backup to; meaning I have lost everything but a single Minecraft world (which I had backed up to a Compact Flash card in February).

Tl;dr: Double check your backups, and use physical storage whenever possible.

MalReynolds 12 points 3 years ago

It's not a backup until you've proved you can restore!

path: 0 545562, hotness: undefined, score: 12, children: 3
hellfire103 4 points 3 years ago

The trouble was that I could restore; except the only copy of the backup was on the disk itself, and hadn't actually been uploaded to Filen.

path: 0 545562 546186, hotness: undefined, score: 4, children: 2
furrowsofar 3 points 3 years ago

3 full backups minimum, one off site. Also handy to grab a disk image occasionally just in case.

path: 0 545562 546186 547806, hotness: undefined, score: 3, children: 1
mrclark 1 point 3 years ago

I personally never bother with disk image or backing up the OS for my own stuff. I find that usually by the time I think its time to restore a bunch of data my Linux install is full of kludge and crap so easier just to reinstall the OS and then restore the configs and data from backup. That is also when I'll usually look at playing with another distro. Keeps me learning new things.

Now things like VMs are a different matter and I'll usually back them up completely.

path: 0 545562 546186 547806 1052007, hotness: undefined, score: 1, children: 0
NettoHikari 10 points 3 years ago

Backing up data is not the problem, but making sure that your backups actually work is.

path: 0 542255, hotness: undefined, score: 10, children: 1
hellfire103 3 points 3 years ago

Exactly!

path: 0 542255 542436, hotness: undefined, score: 3, children: 0
pineapple 5 points 3 years ago

Sorry about your data loss.

I self host an instance of nextcloud on a headless machine in my home. It gives the benefits of typical cloud based services, but you control the storage. And if you sync with at least one other machine you have a full backup besides.

Of course no solution is perfect. This requires extra time, effort, and hardware. And having my data in one physical location has it's own risks. But I still prefer it.

So, something to consider if you or whoever is reading this isn't aware of that option.

path: 0 542358, hotness: undefined, score: 5, children: 1
sibloure 2 points 3 years ago

If you have any friends or family in a nearby town, ask if you can leave an external hard drive at their house. You could make a full disk encrypted backup of your machine every week or so and then when you visit them leave a copy of your backups. It may give you more peace of mind if the data is valuable like journals or family photos.

path: 0 542358 543743, hotness: undefined, score: 2, children: 0
animist 4 points 3 years ago

Welcome to our exclusive club :)

It does suck, I feel you. Lost every single photograph I took in the early 2000s back around 2008 because of a failed hard drive that I never backed up. I have five backups now that I test regularly of all my personal data.

path: 0 543740, hotness: undefined, score: 4, children: 0
Zackyist 3 points 3 years ago

My condolences on your lost data. That must have been a horrible realization.

I've also learned the hard way to keep all my important documents on Nextcloud which is completely synced to my desktop and laptop as well as backed up to another server with Borg. I also backup the ephemeral local files (screenshots, wallpapers, programming stuff) from my SSD, again with Borg to that same backup server and an external hard drive.

path: 0 558466, hotness: undefined, score: 3, children: 0
mrclark 2 points 3 years ago

Always always always have 3 places where you store your data. Your main data store. Another storage location and then one offsite. And like others have said...check your backups occasionally to make sure you can successfully restore from them.

path: 0 1051827, hotness: undefined, score: 2, children: 0
linux
linux

@sopuli.xyz

login for more options
4611
83
93

go to feed...