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. 2024-03-29, 00:18:47

Author Topic: Backup And Restore KloxoMr Through SSH  (Read 20735 times)

0 Members and 1 Guest are viewing this topic.

Offline henry

  • Valuable Member
  • *
  • Posts: 127
  • Karma: +1/-0
    • View Profile
    • Low Cost Internet Marketing Products
Backup And Restore KloxoMr Through SSH
« on: 2014-02-13, 11:58:51 »
1.Backup.
I have tried the "backup home", I felt like it didn't fully backup all my files in the old VPS server.

2.Restore.
Unable to upload big file that is bigger than 1GB through KloxoMr menu.
My trial new VPS spec for this is 2GB Ram / 4 CPU.

Every time, in order to be able to login KloxoMr panel. I have to login into SSH and execute:

Code: [Select]
sh /script/cleanup
sh /script/fix-all
sh /script/restart-all

Through Googling,
To take full backup vis SSH,
Code: [Select]
/script/backup --class=client --name=admin

To restore:
Code: [Select]
/script/restore --restore --accounts=all <backup-file-path>
To list the contents of a backup file.
Code: [Select]
/script/restore --list <backup-file-path>
To restore only certain domains/clients
Code: [Select]
cd /usr/local/lxlabs/kloxo/httpdocs/ lphp.exe ../bin/common/restore.php --restore --accounts=domain:domain.com,client:clientname <backup-file-path>
Source: old thread at Lx-Center.
Quote
http://forum.lxcenter.org/index.php?t=msg&th=11723&start=0&

Questions:
1. How do I download the backup file into hard drive?
2. How to upload into new server?
3. What commands to be executed?

Update: In the old VPS server.
Backup has been saved in /home/kloxo/client/admin/__backup/kloxo-scheduled

Please advice.
Thank you

Offline henry

  • Valuable Member
  • *
  • Posts: 127
  • Karma: +1/-0
    • View Profile
    • Low Cost Internet Marketing Products
Re: Backup And Restore KloxoMr Through SSH
« Reply #1 on: 2014-02-14, 03:58:14 »
The file is in my old VPS server.
Code: [Select]
[root@hostname ~]# cd /home/kloxo/client/admin/__backup/
[root@hostname __backup]# dir
kloxo-scheduled-6.5-admin-2014-Feb-13-1392313369.tgz

So, how do I download/upload this file to new VPS server?

Offline henry

  • Valuable Member
  • *
  • Posts: 127
  • Karma: +1/-0
    • View Profile
    • Low Cost Internet Marketing Products
Re: Backup And Restore KloxoMr Through SSH
« Reply #2 on: 2014-02-19, 04:54:59 »
Update info:

Useful ref:
download file via putty
http://www.youtube.com/watch?v=rQBnxuKXeEk

Feedback:
Unable to use sftp

 


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

Page created in 0.05 seconds with 21 queries.

web stats analysis