Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 03:04:37

Author Topic: program interrupted When restoring backup (kloxo 6.5) to Kloxo 7  (Read 758 times)

0 Members and 1 Guest are viewing this topic.

Offline mbagheri

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Hi
I'm getting this error when I try to restore backup created in Kloxo 6.5.
The target Kloxo version is 7.
I tried to restore one by one or all the items at the same time, but no difference.
The old system is not accessible any more.
The new system which is a CentOS 6.5 and is running Kloxo 7 is a fresh install. just tried to restore the backup a few times.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Attach here /usr/local/lxlabs/kloxo/log/restore file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mbagheri

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
I looked inside the log/restore file, but no error have been reported there, according to that file, the restore process started and finished successfully. but many settings and some databases didn't restored completely.
In one case, I extracted the .dump of the database, and made many changes inside it and imported it via PhpMyAdmin.

Offline mbagheri

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
The restore log file you mentioned didn't report any errors, and according to it, the restore process started and finished successfully. but some settings and databases didn't have restored correctly.

As I investigated inside php code, I find this in lxbackuplib.php:

      case "restore_from_file":
            if (!$parent->checkIfLockedForAction('restore')) {
               if ($this->restorestage === 'doing') {
                  $this->restorestage = 'program_interrupted';
               }
            }
which I think means the program shows this message regardless of the real status of the restore process.
I changed the above code as below:
for the backup part:
Code: [Select]
if (!$parent->checkIfLockedForAction('backup')) {
  if ($this->backupstage === 'doing') {
$this->backupstage = 'backup_in_progress';
}
/* disabled
         else {
$this->backupstage = 'program_interrupted';
}
       */

for the restore part:
Code: [Select]
if ($this->restorestage === 'doing') {
$this->restorestage = 'restore_in_progress';
}
/* disabled
else {
$this->restorestage = 'restore_interrupted';
}
*/
« Last Edit: 2015-04-04, 20:16:14 by mbagheri »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.048 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM