Page 1 of 1

Another "restore" problem *** Solved! ***

PostPosted: 31. October 2013 21:43
by bhowell
I use xampp on 3 different Centos 6.4 servers. When I create a backup, all seems to go well. However I get a "tar" error when I try to restore. Here's the commands and results I get:

[root@localhost lampp]# ./lampp backup some.stupid.password
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-31-10-13.sh

[root@localhost lampp]# cd backup/
[root@localhost backup]# ll
total 40964
drwxr-xr-x. 2 root root 4096 Oct 31 13:42 7372
-rwxr--r--. 1 root root 41941086 Oct 31 15:16 xampp-backup-31-10-13.sh

[root@localhost backup]# sh xampp-backup-31-10-13 sh some.stupid.password
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Checking integrity of files...
egrep: md5sums: No such file or directory
md5sum: *: No such file or directory
Restoring configuration, log and htdocs files...
tar (child): data.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Checking versions...
cat: VERSION: No such file or directory
Installed: XAMPP 1.8.3-1
Backup from: XAMPP
The backup sofware is not able to handle different XAMPP versions.
Your backuped configuration from may not work with 1.8.3-1 and may need manually corrections.
XAMPP: Do you want to continue [nein]
Good choice.
[root@localhost backup]#

This worked on an older version but quit working on 1.8.x

Thanks for any help.

Boatner

Re: Another "restore" problem

PostPosted: 31. October 2013 21:49
by bhowell
By the way:
[root@localhost lampp]# ./lampp version
Version: XAMPP for Linux 1.8.3-1
[root@localhost lampp]#

Re: Another "restore" problem --SOLVED!!--

PostPosted: 31. October 2013 22:40
by bhowell
had to change a line in /opt/lampp/share/lampp/backup.head

skip=203 needs to be changed to skip=206

I just kept playing around with the program until I got that right.