Dear Repute!
It's very simple:
Step 1
Create the backup by calling
/opt/lampp/lampp backup
or
/opt/lampp/lampp backup secret
Where
secret is your MySQL root password.
This command will create the following output:
- Code: Select all
# /opt/lampp/lampp backup
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-22-01-04.sh
#
Step 2The file
/opt/lampp/backup/xampp-backup-22-01-04.sh contains your backuped data. Get this file to your new machine.
Step 3On the new machine you need the
same version of XAMPP as on your original/source machine.
Call (as root):
sh xampp-backup-22-01-04.shYou shoud see something like this:
- Code: Select all
# sh xampp-backup-22-01-04.sh
Checking integrity of files...
Restoring configuration, log and htdocs files...
Checking versions...
Installed: XAMPP 1.4.2
Backup from: XAMPP 1.4.2
Restoring MySQL databases...
Restoring MySQL user databases...
Backup complete. Have fun!
You may need to restart XAMPP to complete the restore.
#
That's all. As you can read you may need to restart XAMPP.
It should work perfectly (I tested it many times) but remember it's a beta feature.
Best regards
Oswald