MRatWork Forum by Mustafa Ramadhan - Membackup hanya 1 klien

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 22:39:50

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Membackup hanya 1 klien

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: Membackup hanya 1 klien (Read 1345 times)

0 Members and 1 Guest are viewing this topic.

#### noob

- Valuable Member
- Posts: 98
- Karma: +0/-0
- Gender:

##### Membackup hanya 1 klien

« on: 2015-10-24, 08:47:59 »
Halo semua
biasanya jika saya membackup lewat ssh, saya melakukan backup all dengan fungsi:
sh /script/backup --class=client --name=admin
nah, memang bisa merestore 1 klien di bawah dengan fungsi:
sh /script/restore
yang saya ingin tanyakan:
bisakah saya hanya membackup 1 klien saja?
sudah dicoba:
sh /script/backup --class=client --name=<namaclient>
memang bisa dibackup, cuma permasalahannya saat restore bagaimana ya?
sudah dicoba script: sh /script/restore selalu gagal, pesannya:
Restore Failed. Reason: objectclassname_does_not_match: : client-<namaclient> - client-admin
apakah memang ada fungsi khusus untuk merestore jika backup hanya client?
saya sudah gugling, cuma mentok.
terima kasih
Logged
http://kombathost.com | Your ultimate webhosting

#### zenkul

- Global Moderator
- Master
- Posts: 383
- Karma: +3/-0

##### Re: Membackup hanya 1 klien

« Reply #1 on: 2015-10-24, 14:21:36 »
kalo lewat panel kloxo-mr bagaimana ?
Logged
easy, secure and speed up web panel ===> Kloxo-MR

#### noob

- Valuable Member
- Posts: 98
- Karma: +0/-0
- Gender:

##### Re: Membackup hanya 1 klien

« Reply #2 on: 2015-10-24, 15:52:31 »
Quote from: zenkul on 2015-10-24, 14:21:36

> kalo lewat panel kloxo-mr bagaimana ?

kalo restore lewat panel klien terbaca, cuma pas diklik ada pesannya: "program_interrupted" :-(
btw, ini dengan tujuan mau mindahin klien ya, jadi dari 1 VPS ke VPS lainnya.
Logged
http://kombathost.com | Your ultimate webhosting

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Membackup hanya 1 klien

« Reply #3 on: 2015-10-25, 10:55:00 »
Warning 'program_interrupted' tidak berarti terjadi error pada proses restore. Memang proses restore memerlukan waktu yang lama (tergantung besarnya data yang diproses).
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### noob

- Valuable Member
- Posts: 98
- Karma: +0/-0
- Gender:

##### Re: Membackup hanya 1 klien

« Reply #4 on: 2015-11-09, 18:18:31 »
akhirnya bisa pake SSH.
edit dulu file di: /usr/local/lxlabs/kloxo/httpdocs/lib/php/lxclass.php
cari tulisan:
Code: [Select]

    if ($ob->getClName() !== $this->getClName()) {
    	throw new lxException($login->getThrow('objectclassname_does_not_match'), '', "{$ob->getClName()} - {$this->getClName()}");
    }

ubah jadi:
Code: [Select]

    if ($ob->getClName() !== $this->getClName()) {
    	//throw new lxException($login->getThrow('objectclassname_does_not_match'), '', "{$ob->getClName()} - {$this->getClName()}");
    }

jika sudah, baru jalankan script restore:
Code: [Select]

    sh /script/restore --restore --accounts=all <backup-file-path>

bisa restore cuma 1 client saja
Logged
http://kombathost.com | Your ultimate webhosting

#### nadiesabenada

- Junior Member
- Posts: 3
- Karma: +0/-0

##### Re: Membackup hanya 1 klien

« Reply #5 on: 2015-11-19, 18:10:39 »
Humm great responses they helped me a lot
Logged
me gusta el azucar

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Membackup hanya 1 klien

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

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.049 seconds with 17 queries.

Mirror created by MasterkinG32.CoM