Backup - Restore Trên Kloxo

1.Lệnh Backup 
/script/backup --class=client --name=admin 
Trường hợp này –name ta có thể thay bằng customer (nếu muốn backup = customer )
Kloxo backup theo cơ chế cây chia nhánh.Khi ta backup –name=admin thì sẽ tự động backup hết toàn bộ customer,ssl,certificate…..

2.Lệnh Restore
/script/restore --restore --accounts=all <Đường dẫn tới file backup> 
Mặc định file backup sẽ được lưu ở : /home/kloxo/client/admin/__backup/  nếu sử dụng lệnh backup trên.

3.Để list các nội dung của một tập tin sao lưu
/script/restore --list <Đường dẫn tới file backup> 
4.Để khôi phục lại số lượng lớn host với 1 client nhất định
cd /usr/local/lxlabs/kloxo/httpdocs/lphp.exe ../bin/common/restore.php --restore --accounts=domain:domain.com,client:clientname <Đường dẫn tới file backup>  
5/Trường hợp muốn restore đúng 1 client nào đó thì ta phải tạo ra 1 client có sẵn rồi mới restore file backup trên client đó
cd /usr/local/lxlabs/kloxo/httpdocs/lphp.exe ../bin/common/restore.php --class=client --name=clientname --restore <Đường dẫn tới file backup> 
Chú ý là tùy chỉnh các thông số thích hợp theo user tương ứng