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 <backup-file-path>
Mặc định file backup sẽ được lưu ở : /home/kloxo/client/admin/__backup/
3/Để list các nội dung của một tập tin sao lưu
/script/restore --list <backup-file-path>
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 <backup-file-path>
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 <backup-file-path>
Chú ý là tùy chỉnh các thông số thích hợp theo user tương ứng