Chuyển đến nội dung chính

Hướng dẫn Backup và restore dữ liệu trong Kloxo

Đối với hệ thống mới để sử dụng ổn định hơn sau khi các lỗi được fix cần thực hiện backup dữ liệu thường xuyên để phòng ngừa trường hợp xấu xảy ra.

Để thực hiện backup và restore Kloxo các bạn thực hiện theo hướng dẫn sau:

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…..

Khi backup xong hệ thống sẽ tự động lưu trữ trong thư mục: " Backup has been saved in /home/kloxo/client/admin/__backup/"

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

Tuy nhiên ngoài cách thực hiện bằng dòng lệnh ta có thể sử dụng qua giao diện của Kloxo của admin là:

- Vào Home > Advanced > Backup Home

- Mặc định các file backup sẽ lưu tại đường dẫn /home/kloxo/client/admin/__backup bạn có thể truy cập và download.

Nhận xét

Bài đăng phổ biến từ blog này

Fake WiFi Access Point

Evil Twin Methodology Step 1 : We will first scan the air for a target access point. Then create an access point using airbase-ng with the same name and channel of the target access point, hence Evil- TWIN. Step 2 :The client is now disconnected repeatedly from the  original access point and as most modern system’s setting says… “Connect back to same ESSID(AP name) if disconnects”. This also happens because when the client disconnects from any access point it starts sending  probe requests  in the air with the name of the access point it connected to earlier. Hence  BSSID  isn’t a barrier, you just need  ESSID  to spoof the AP Step 3 : Clients is now connected to the Fake WiFi access point and now client may start browsing Internet. Step 4 : Client will see a web administrator warning saying “Enter WPA password to download and upgrade the router firmware” Step 5 : The moment client enters the password, s/he will be redirected to a loading page and the password will be stor

13 dấu hiệu lãng phí cuộc đời

Khi còn là 1 đứa trẻ, bạn luôn mong muốn khi lớn lên có thể trở thành phi hành gia, ca sĩ hay kĩ sư? Nếu đúng vậy thì bây giờ bạn đang làm gì? Hy vọng rằng mọi thứ diễn ra đúng như bạn mơ ước. Nhưng tiếc rằng, với hầu hết mọi người, câu trả lời là không. Dưới đây là 13 dấu hiệu cho thấy bạn đang lãng phí cuộc đời của mình. Sẽ rất khó để thừa nhận nhưng hãy thành thực với bản thân mình. 1. Bạn dành thời gian làm những điều mà mình không nên làm Chơi game. Xem các chương trình truyền hình thực tế. Lướt web. Ăn quá nhiều. Uống quá nhiều. Với mỗi người vấn đề lại khác nhau nhưng danh sách này còn kéo dài. Hãy nhìn nhận cuộc sống của mình 1 cách nghiêm túc hơn. Phần lớn thời gian bạn dành để làm gì? Nó có xứng đáng hay không? Nó có giúp mang tới cuộc sống tốt đẹp hơn hay không? Nó có làm nền tảng cho 1 tương lai tươi sáng hay không? Nếu câu trả lời là không thì bạn cần đánh giá lại những hoạt động hàng ngày của mình và thay đổi ngay. 2. Bạn phàn nàn quá nhiều Có những người t

How to Fix Windows Error 0x00000709

add a share printer error 0x00000709. Follow this step by step guide to learn how to fix this error: In this tutorial, we will teach you how to fix the Blue Screen of Death Stop Error 0x00000709. The error "0x00000709" occurs when you try to connect a shared printer over the network. The printer exists but you are unable to connect and you will get this error. Step 1 -- Open RUN type: \\192.168.1.111  Enter Step 2 -- Open the shared printer When the network path window opens up, double click on the printer. A pop-up window will appear and will show you the error: "Operation could not be completed error 0x00000709". Click on the Ok button and close all the windows. Step 3 -- Go to Devices & Printers Now let's resolve the error and properly add the shared printer. First of all, open the start menu and click on Devices and Printers. Step 4 -- Add a printer In the Devices and Printers window, click on the Add a Printer tab. Choose to add a lo