Advertisement
ChrisLAS

Anian wants to lean better backup

Jul 19th, 2018
555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. Anian writes...
  2.  
  3.  
  4. Hi Chris and Wes,
  5.  
  6. I still love the show. I follow most JB Podcasts, but TechSnap is probably my favourite. The old and the new format.
  7.  
  8. I have a question about backups: I managed to cause some mayor problems at my own company when I fiddled with our Nextclouds encryption settings and accidentally crypto-locked a lot of our data.
  9.  
  10. It started on one evening when a colleague of mine had problems syncing some files. I had a look at the logs and it seemed that it had something to do with the server side encryption I turned on a few month ago. Since it was causing problems I decided, tired after a long day of work, to just turn the encryption off again. I checked the manual, created a snapshot of the volume the data was stored on and entered the commands, and went home.
  11.  
  12. The next morning everybody turned on their laptop and a lot of files started syncing. But they could not open them. They where suddenly encrypted. It turned out there is a bug with the decryption: https://github.com/nextcloud/server/issues/8311 and to add insult to injury the file snapshot alone did not help recovery immediately because I had forgotten to snapshot the database as well, which was on another volume. I'm still trying to recover some data. Luckily a lot of data was not synced yet or could be recovered otherwise, but I'm still working on it.
  13.  
  14. But that's just the backstory. Now to my actual question:
  15.  
  16. Where can I find resources to build a better backup solution for our company? In general snapshots are great but I get the feeling that they are not a useful backup for data and they definitely don't fit every need I have.
  17.  
  18. So I want to backup on a file level. With being a listener since Dan was a host, I of course looked at bacula, but I'm not sure how complicated that is to manage. An alternative might be burp maybe. But in general I'm just not sure where to start. Do I need such tools or are some cronjobs with rsync fine for the start?
  19.  
  20. Where can I learn more about good backup practices? The bacula handbook is great but are there any other goto resources? Am i overthinking it and I just need to make sure we have a copy of all data somewhere, no matter how organized? Are snapshots just fine? We are just a startup at that point, so it's not a huge amount of files in total.
  21.  
  22. It would be great to get some input from you on this topic. How do you manage backups in "cloud infrastructure" for example at DigitalOcean?
  23.  
  24. Keep going with the great show and greetings from Germany,
  25. Anian
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement