Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2736  / 2 Years ago, sat, april 16, 2022, 12:29:48

I'm trying to backup my /var/www/ folder, MySQL, and any other special documents like in the /etc/apache2/ folder.



Does anyone have any solutions for backup software? Maybe something that's Cronjob-able?


More From » server

 Answers
2

The best backup solution is highly dependent on your requirements. It's best to start with a backup strategy and let your strategy inform your choice of software. At minimum, you'll want to read enough to know the difference between the common backup types (incremental, differential, full).



If incremental backups aren't important, rysnc + mysqldump should work fine for your scenario. If you really need/want incrementals, Amanda or Bacula are good choices. My company has used Amanda for its backup needs for several years, and we've been very satisfied. Zmanda also provides a tool for backing up MySQL databases.



Whatever solution you do chose, though, test your backups! Don't just check to see if the backup succeeded, do a restoration (preferably from "bare metal") to verify the files are restored correctly. There's nothing worse than discovering your backup is incomplete when you've just clobbered critical files.



Also, if you're backing up a production environment, make sure at least one of your backups is an encrypted off-site backup.



Good luck!


[#40456] Sunday, April 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arkcker

Total Points: 296
Total Questions: 111
Total Answers: 104

Location: Nepal
Member since Tue, Sep 8, 2020
4 Years ago
;