LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Backup and Restore a LAMP system? (https://www.linuxquestions.org/questions/linux-general-1/backup-and-restore-a-lamp-system-531721/)

cucolin@ 02-23-2007 12:01 PM

Backup and Restore a LAMP system?
 
Here at work we have a small LAMP server for our wikipedia intranet. I wanted to know how to make an image of the HD so in case the system crashes or burns I'm able to install that HD image in another machine. I have seen many options such as: Partimage, Gparted, dd command, etc. We just want something simple and easy for beginners. Thanks..

win32sux 02-23-2007 10:07 PM

Quote:

Originally Posted by cucolin@
Here at work we have a small LAMP server for our wikipedia intranet. I wanted to know how to make an image of the HD so in case the system crashes or burns I'm able to install that HD image in another machine. I have seen many options such as: Partimage, Gparted, dd command, etc. We just want something simple and easy for beginners. Thanks..

well, here's a few others to look at:

http://www.mondorescue.org/

http://freshmeat.net/projects/g4l/

http://www.arkeia.com/products/arkeiasmartbackup/

trickykid 02-24-2007 07:29 AM

Look for a bare metal recovery type solution but with a MySQL database that most likely is changing all the time, you need to setup some type of daily incremental or dumps of that database. With that, you should use something like MySQL-ZRM or at minimal do a mysqldump hourly, daily.. etc, depending on how valuable the data is, how often it changes, etc.

You can just backup the /var/lib/mysql files to backup the database but imagine if you backed up while data was being written and took you backup right in the middle, this could cause problems.


All times are GMT -5. The time now is 01:39 AM.