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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby bhowell » 31. October 2013 21:43

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
Last edited by bhowell on 31. October 2013 23:02, edited 1 time in total.
bhowell
 
Posts: 3
Joined: 31. October 2013 21:28
Operating System: centos 6.4

Re: Another "restore" problem

Postby bhowell » 31. October 2013 21:49

By the way:
[root@localhost lampp]# ./lampp version
Version: XAMPP for Linux 1.8.3-1
[root@localhost lampp]#
bhowell
 
Posts: 3
Joined: 31. October 2013 21:28
Operating System: centos 6.4

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

Postby bhowell » 31. October 2013 22:40

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.
bhowell
 
Posts: 3
Joined: 31. October 2013 21:28
Operating System: centos 6.4


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 43 guests