Performing Backups XAMPP

Apache, LAMP, Linux, MySQL Add comments
264

So, your XAMPP installation has been up and running for a couple of weeks and you’ve amassed quite a sizeable set of data that you don’t want to be at risk from a hard drive crash. What do you do about backups?

This is quite simple with XAMPP. Change your current working directory to /opt/lampp (cd /opt/lampp) and type in the following command:

./lampp backup

You will want to add on your MySQL root password if you have it set to the end of that command. You should then see the following:

Backing up databases...
Backing up configuration, log and htdocs files...
Calculating checksums...
Building final backup file...
Backup finished.
Take care of /opt/lampp/backup/xampp-backup-15-09-04.sh

To restore your backup, run the following command as root:

sh backupfilename

You will see the following if all goes well:

Checking integrity of files...
Restoring configuration, log and htdocs files...
Checking versions...
Installed: XAMPP 1.4.7
Backup from: XAMPP 1.4.7
Restoring MySQL databases...
Restoring MySQL user databases...
Backup complete. Have fun!
You may need to restart XAMPP to complete the restore.

Restart XAMPP (cd /opt/lampp, ./lampp restart), and your restored data should be readily available.


Tags:, , , , , , , , , , , , , ,

Liked this article? To continue getting our latest free Howtos and Tutorials,
you can also grab the RSS feed or Subscribe to Techgurulive by Email

Not Getting



Leave a Reply



This Howtos posted under" Apache, LAMP, Linux, MySQL

Performing Backups XAMPP


Find Free Howtos and tutorials on apache, Linux, windows, php, Networking, MySQL, Cisco, open source, Nas, Virtualization, voip, vpn, email,send mail, lamp, security, SEO, squid, Anti virus, Backup, Database and many more