Skip Navigation
main @midwest.social

Dear lemmy, today I fucked up

Deleted something I shouldn't have. I learned my lesson, but I had to revert to a backup that was about 3 days old. My bad.

29 评论
  • Anyway us other instances can help? We still have copies of the content (except for images).

    We should also have the activitypub objects that we've received cached in our database.

    Edit: it seems that my instance fetches the latest posts instead of using its cache when loading a midwest community. But still, we should have some content in the activitypub table.

    • I'm not sure what I could do with it unfortunately. If it can recover itself, that would be awesome.

      • I don't think there's an easy way to "replay" them. But in theory, you should be able to take the entries in that table related to midwest social from any other instance and start broadcasting them anew. The remote instances will reject them because to them they are duplicates, but you would be able to recover lost content.

        Now I realize this is far more complex, but in theory it should be possible to create a tool that does this specifically for these scenarios.

        I'm sorry this happened to you :(

  • I might be in danger of being "that guy", but how come you're not doing more frequent backups?

    • Digital ocean does a backup once a week over the weekends. That's just the schedule I'm on. I suppose I could do my own but that would require finding somewhere to store 60 GB. I'll look into it though.

      • I can recommend Hetzner's storage boxes: https://www.hetzner.com/storage/storage-box?country=us 1TB for backups costs less than $4 a month.

        It's not the fastest transfer because it's hosted in Germany or Finland.

        Note: It is in EUR will be converted from USD.

      • What I do is create a new live snapshot before doing any changes to the server. I don't use digitalocean, but I think their snapshots cost 6 cents per GB/month, and are only charged like that if you retain them the whole month.

        If everything goes well after a change and you delete the snapshot a day or two later (or after the next backup), it's basically free or very cheap. I think it's just a minimum of $0.01 per snapshot.

29 评论