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, 00:00:32

Author Topic: Restoring a bakup  (Read 7229 times)

0 Members and 1 Guest are viewing this topic.

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Restoring a bakup
« on: 2013-09-10, 23:31:42 »
I decided to quit kloxo due to the lack of development and migrate MR to give it a try.
I decided to start with a fresh install. So far so good. The problem is when i start to upload the restore file. It gives me a COnnection reset error.

I uploaded the file to the server to the __backup dir ( i had to create it) but when i go on the panel to start the restore function the file isn't there, so i decided to go on the shell and do it with a command and now gives me an error saying it cannot unzip file on /tmp....

So i am a bit clueless on how to do the restore.

Other issues is a tried to do a backup just to test and says backup interrupted....

My system is now a centos 6 64 bit.
Do you need anymore information from me?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #1 on: 2013-09-10, 23:45:47 »
Where you is the file?. In /home/kloxo/client/admin/__backup?.

Try 'sh /script/restore --account=all'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Restoring a bakup
« Reply #2 on: 2013-09-11, 00:57:39 »
ok silly me was putting the file on the wrong admin dir.....

ok now i can select the file to restore. i can initiate the process and choose what to restore but when i finish it on the panel says the restore was interrupted....
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 343
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: Restoring a bakup
« Reply #3 on: 2013-09-11, 04:05:56 »
need resize on your /tmp
do you run dedicated server ? if yes please try disable /tmp boot on fdisk
i dont know with vps :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Restoring a bakup
« Reply #4 on: 2013-09-11, 04:32:44 »
it's a vps....
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Restoring a bakup
« Reply #5 on: 2013-09-11, 20:29:39 »
ko i have i tried to research on this and im clueless. Keeps saying cannot unzip.

Quote
Last Restore Status:   Restore failed due to : Could not unzip file - dir: /tmp/backupBuo00d; file: kloxo-scheduled-6.5-admin-2013-Sep-11-1378857426.tgz:
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #6 on: 2013-09-11, 20:37:53 »
Try unzip manually. Copy backup file to other folder dan then from panel try unzip or using 'tar -xzf ./yourbackup.tgz'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #7 on: 2013-09-11, 20:40:49 »
For successful backup on 'old' Kloxo, you must copy '/script/backup-patch' in Kloxo-MR server to '/script/backup-patch' in 'old' Kloxo. And then running backup again.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #8 on: 2013-09-11, 20:42:47 »
You can see backup-patch code:
Code: [Select]
#!/bin/sh

echo;
echo "- This patch apply to Kloxo 6.1.x for to make NO 'could_not_zip_dir' warning";
echo "  for certain condition";
echo;


if [ -f /usr/local/lxlabs/kloxo/bin/kloxoversion ] ; then
echo "- No need running this patch for Kloxo-MR. Just update your Kloxo-MR";
else
echo " - Patch for Backup/Restore on Kloxo 6.1.12,";

sed -i 's:ttthrow new lxException("could_not_zip_dir:t//tthrow new lxException("could_not_zip_dir:'
/usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/lib.php
fi

echo;
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Restoring a bakup
« Reply #9 on: 2013-09-11, 20:50:21 »
so basically i need to reinstall kloxo upload the backup run this and generate a backup again to install mr again? :O

if i unzip it manually on the server then what do i do? there wil be hundred of files unzipped... how to restore them?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #10 on: 2013-09-11, 21:36:52 »
There are possible some files missing in your backup (because unperfect backup process).

Not so hard to restore for many files with small domains/clients.

Inform here list of files in your unzip.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Restoring a bakup
« Reply #11 on: 2013-09-12, 00:28:31 »
This is my list inside the backup

Code: [Select]
admin-client-any-1378559774.tgz
aftertim_wiki-mysqldb-any-1378559774.tgz
aftertimediaries-client-any-1378559774.tgz
aftertimewiki.com-mmail-any-1378559774.tgz
analytics-mysqldb-any-1378559774.tgz
analytics.twigu.com-mmail-any-1378559774.tgz
atd.twigu.com-mmail-any-1378559774.tgz
atdtwigu_tikiwi-mysqldb-any-1378559774.tgz
atdwiki.twigu.com-mmail-any-1378559774.tgz
blog.dahh.net-mmail-any-1378559774.tgz
blogdahh_wordpr-mysqldb-any-1378559774.tgz
cameraad_wordpr-mysqldb-any-1378559774.tgz
cameraads.org-mmail-any-1378559774.tgz
dahh.net-mmail-any-1378559774.tgz
gag-mysqldb-any-1378559774.tgz
gag2-mysqldb-any-1378559774.tgz
game-mysqldb-any-1378559774.tgz
game.twigu.com-mmail-any-1378559774.tgz
game2-mysqldb-any-1378559774.tgz
game2.twigu.com-mmail-any-1378559774.tgz
gimmehits-mysqldb-any-1378559774.tgz
gimmehits.com-mmail-any-1378559774.tgz
hugo-client-any-1378559774.tgz
kloxo.file
kloxo.metadata
protvliv_wordpr-mysqldb-any-1378559774.tgz
protvlive.com-mmail-any-1378559774.tgz
reclamat_wordpr-mysqldb-any-1378559774.tgz
reclamationyards.com-mmail-any-1378559774.tgz
termlife_wordpr-mysqldb-any-1378559774.tgz
termlifeins.co-mmail-any-1378559774.tgz
testes.twigu.com-mmail-any-1378559774.tgz
twigu-mysqldb-any-1378559774.tgz
twigu.com-mmail-any-1378559774.tgz
usedfurn_wordpr-mysqldb-any-1378559774.tgz
usedfurniturestores.org-mmail-any-1378559774.tgz
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #12 on: 2013-09-12, 00:51:12 »
Try restore one-by-one domain in panel.

Better update your Kloxo-MR.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lossehelin

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Restoring a bakup
« Reply #13 on: 2013-09-12, 04:30:03 »
i still want to make the restore to work as it should without having to restore one by one.

so i did what you said. I had to creat the backup-patch on my old kloxo, added the code you gave me. I have done a new back up, uploaded to the kloxo mr bacup folder, tried to restore and gives me operation interrupted....

i have updated the kloxo mr too.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Restoring a bakup
« Reply #14 on: 2013-09-12, 14:30:34 »
This is what's I mean selected restore:
[attachment=0:1bfg9dgz]restore_selected.png[/attachment:1bfg9dgz]

where I want restore 'henri' only.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.04 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM