| ▲ | anyfactor 18 hours ago | |
My VPS was purged due to a platform hack. I did not keep a backup, and I am trying to figure out what to do. There is no plug and play solution for backup. From what I understand, I have to set up rsync and dump files via cron to a Raspberry Pi. But there is no snapshot-like feature. I am using KVM from Cloudcone (their virtualization software was hacked about a week ago) and I am using RPI4. Then I need to set up my old website again, which is a pain in the butt. I hard-coded cron and a git-based auto-deployment feature (I think). | ||
| ▲ | jarofgreen 14 hours ago | parent [-] | |
Hey, sorry it was hacked. You mention rsync which can be fine. But there are tons of other solutions, many that will have snapshot features. I use borg backup, for instance. https://www.borgbackup.org/ Also, look into scriping your server setup with tools like Ansible or PyInfra. There is always the risk that bad things happen to servers, and when you want a new server it's great to be able to spin things up in a matter of minutes. Tools like these are profesional best practices these days. In fact, if you have a scripted server setup and a server that doesn't collect data itself you may not even need backups. What is there to backup? Just spin up a new server with your scripts and carry on. | ||