Hey, folks!
So, the card linked to my hetzner account expired, and while I updated it everywhere else, the hetzner info fell through the cracks. They deleted my storageshare server, and erased everything, because I’m a fool, and didn’t have their emails going to an account I ever check. I’ve spent the last several days feeling like I’d had a digital housefire. Things kept popping into my head, photos I had taken 10 years ago, or early drafts of the novel I’m writing… It’s been pretty fucking depressing.
But, tonight, I fired up a laptop I haven’t used in a while to find that most of what was in nextcloud was backed up on it. It’s not everything, but it’s the bulk of it.
I’d like for this to never happen again. I’m wondering if there’s a complete idiot’s guide to self hosting nextcloud? When I say I know nothing about this, please believe me. We’re talking starting from scratch. I’ve never self hosted anything, and I have no idea where to begin. I’m on fedora silverblue, but just because I’m using linux doesn’t mean I know anything. It just means I’m cheap. Haha. All I know is that I never want to go through that feeling of complete loss again. I’ll make sure that whatever I do, it’ll be backed up in two locations at least. I was paying for the family plan, and my brother, his wife, my mom, and a friend lost access to their stuff, too. So far as I know, there isn’t a back up of their stuff. I really messed up here.
Any help is really appreciated, thanks in advance!
Data loss is not a problem specific to self-hosting.
Whenever you administrate a system that contains valuable data (a self-hosted network service/application, you personal computer, phone…), think about a backup and recovery strategy for common (and less common) data loss cases:
For these different scenarios try to find a working backup/restore strategy. For me they go like
backups
directory usingrsnapshot
). Note that file sync like nextcloud won’t protect you against this risk, if you delete a file on the nextcloud client it’s also gone on the Nextcloud server (though there is a recycle bin). Local backups are quick and easy to restore after a simple mistake like this. They wont protect you against 2 and 3.rsync/rsnapshot
. Then I unplug the USB drive, store it somewhere safe outside my home, and plug in a second USB drive. I rotate the drives every week (or every 2 weeks when I’m lazy - I have set up a notification to nag me to rotate the drive every saturday, but I sometimes ignore it)There are other strategies, tools, etc, this one works for me. It’s cheap (the USB drives are a one-time investment), the only manual step is to rotate the drives every week or so.