Linux Server Backups, wie und wo?
Guten Tag,
ich betreibe aktuell paar Gameserver inkl. MySQL, phpmyadmin, Mail-Server etc.
Ich möchte meine Datensicherheit erhöhen, und 4 Stündlich ein Backup ziehen. Wenn möglich soll ein Backup ein halbes Jahr oder mehr bestehen bleiben.
Oder ist es übertrieben und es würde reichen immer um 4 Uhr Nachts ein Backup zu ziehen?
Mit welchen Tools kann ich das umsetzen? Ich habe schon rsync gefunden. Das würde denke ich auch funktionieren… Die Frage ist nur, wie würde ich das Backup wiederherstellen und ist das eine effektive Methode? Hat jemand dort schon Erfahrung mit?
Eine wichtige Anforderung soll sein, dass das Backup auf einem externen Server gespeichert wird. Diese soll sich an einem anderen Ort befinden, als mein root Server.
Kann mir jemand bei diesem Thema weiterhelfen? Ich bedanke mich im voraus.
Falls ihr noch Tipps für mich habt, nehme ich diese gerne an.
Mit freundlichen Grüßen,
Florian R.
Normally, Rsync should be the best for you. Simply save all important paths in the desired cycle with a cronjob.
On my home server runs proxmox, where I can easily automate backups. I find your idea with 4 hourly if you want to save it half a year. There would be large amounts of data. Best regards
You should keep an eye on your backup being consistent.
If you have a virtual server and can snapshots in the overall state, this is less problematic than in the case of a data-oriented BAckup.
look at this tool:
https://www.privacy-handbuch.de/handbuch_39e1.htm
Do the following thoughts:
Important question;
Is this server virtualized or are the applications on bare metal?
If you host the server somewhere, there should usually be a backup function. This usually offers some free backups, e.g. at hetzner. Old people will be overwritten.
If the server is with you and you are using Proxmox, you can use Proxmox backup software
You may https://github.com/restic/resticuse
Remember to save old data also to make hackers live harder 😁