yhkylin-backup-tools/data/kybackup/en_US/index.md

162 lines
6.8 KiB
Markdown
Raw Normal View History

2022-02-11 17:22:16 +08:00
# Backup and Recovery
## Overview
Kylin Backup and Recovery Tool is used to backup and restore system or user data.
It supports to create new backup points, and incremental backup based on a backup point; as well as restore the system to the state at the time of a backup, and partial restore retaining user data.
2022-02-26 14:42:00 +08:00
There are two modes: General, Grub backup and restore.
2022-02-11 17:22:16 +08:00
<br>
## General
### System Backup
2022-02-26 14:42:00 +08:00
![Fig 1-a system backup -big](image/1-a.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
- **New System Backup** -- The data that not in /backup、/media、/run、/proc、/dev、/sys、/cdrom、/mnt, etc , can be backup.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
Click "Start Backup" Button will enter the page select backup location, you can choose to backup to local or mobile device. As shown in figure 2.
2022-02-11 17:22:16 +08:00
![Fig 2 system backup device choose -big](image/2.png)
2022-02-26 14:42:00 +08:00
Click "Next" button to enter the environment checking page. Inspection, such as backup space is enough, etc . And show check results. See 3-1,3-2.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 3-1 Checking -big](image/3-1.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 3-2 Check Result -big](image/3-2.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
Click "Next" button to enter the backup preparing page. You can define the backup name in it. As shown in figure 4.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 4 Preparing -big](image/4.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
Then click "Next" button to backup. As shown in figure 5.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 5 Backuping -big](image/5.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
The backup process can click "cancel" button, cancel the backup operation.
Backup is completed, enter the backup finish page, show result. As shown in figure 5-1.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 5-1 Backup Finish -big](image/5-1.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
Click the "Home Page" button, click "Backup Management >>" tab, pop-up window of system backup management, you can see the backup just in it. As shown in figure 5-2.
![Fig 5-2 Backup Management -big](image/5-2.png)
In the backup management page, select a backup, click the "Delete" button, remove the corresponding backup point.
2022-02-11 17:22:16 +08:00
### System Restore
System restore can restore the system to its previous backup state.
2022-02-26 14:42:00 +08:00
![Fig 6-a system restore -big](image/6-a.png)
Click "Start Restore" button, the system backups list window will pop up. As shown in figure 6-b.
![Fig 6-b select backup -big](image/6-b.png)
Select the corresponding backup point, click the "Ok" button, enter the system restore environmental checking page. As shown in figure 6-c.
![Fig 6-c checking -big](image/6-c.png)
Checking success, then click the "Next" button to enter the page of restore, to start the system restore. As shown in figure 6-d.
![Fig 6-d select backup -big](image/6-d.png)
2022-02-11 17:22:16 +08:00
### Data Backup and Data Recovery
- **Data Backup** -- Backup the directories or files specified by user, and the function is similar to system backup.
2022-02-26 14:42:00 +08:00
![Fig 7 Data backup-big](image/7.png)
Click "Start Backup" and enter the backup path selection page. As shown in figure 8.
![Fig 8 Specify directories or files -big](image/8.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
Or click "Update Backup" button, pop up data backup list window. As shown in figure 9.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 9 data backup list -big](image/9.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
Then, click "Next" button, enter backup checking page --> backup preparing --> backuping --> backup finished. Such as system backup.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
- **Update Data Backup** -- On the basis of a data backup, update the backup data.
2022-02-11 17:22:16 +08:00
- **Data Recovery** -- Recovery the data to its previous backup state, and the function is similar to system restore.
![Fig 10 Data recovery-big](image/10.png)
### Log Records
2022-02-26 14:42:00 +08:00
Record all operations on backup and recovery tool, and the interface as shown in Fig 11.
2022-02-11 17:22:16 +08:00
![Fig 11 Log records-big](image/11.png)
### Ghost Image
2022-02-26 14:42:00 +08:00
Install from ghost image means generate an image file from an installed system, and then use this image file to copy the same state system to other computers. To use this function, a lacol system backup is needed first.
2022-02-11 17:22:16 +08:00
#### Create Ghost Image
2022-02-26 14:42:00 +08:00
The interface as shown in Fig 12.
2022-02-11 17:22:16 +08:00
![Fig 12 Ghost image-big](image/12.png)
2022-02-26 14:42:00 +08:00
Click "Start Ghost" and there will pop up a window to show all local system backups. Users select one of them and click "Ok" button, into the image storage location selection interface, can choose a local or mobile device, as shown in Fig 13-1.
2022-02-11 17:22:16 +08:00
(Tips: The architecture in name depends on hardware platform.)
2022-02-26 14:42:00 +08:00
![Fig 13-1 Ghost image position -big](image/13-1.png)
Then click "Next" button, enter checking page. As shown in figure 13-2.
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
![Fig 13-2 Ghost image checking -big](image/13-2.png)
2022-02-11 17:22:16 +08:00
2022-02-26 14:42:00 +08:00
If success, then click "Next" button, enter makeing page. As shown in figure 13-3.
![Fig 13-3 Ghost image makeing -big](image/13-3.png)
Image filename is "computer name + architecture + backup name.kyimg", and the backup name removed some symbol. As shown in figure 13-4.
![Fig 13-3 Ghost image finished -big](image/13-3.png)
2022-02-11 17:22:16 +08:00
#### Install from Ghost Image
1) Copy the ghost image (saved in /ghost) to U-disk or other removable storage device.
2) Enter livecd system and insert the removable device.
3) If it doesn't mount automatically, users can manually mount device through terminal:
sudo mount /dev/sdb1 /mnt
Removable device is /dev/sdb1 by general, and it can be seen by command "fdisk -l".
2022-02-26 14:42:00 +08:00
4) Double click the install button to start installation guide. Select "Install from ghost image" in Installation Type, and find the ghost image in the removable device. The follow-up steps can refer to installation manual.
2022-02-11 17:22:16 +08:00
(Tips: The architecture in name depends on hardware platform.)
If there exists data partition when creating ghost image file, it needs to check "Create Data Partition" in the next step.
<br>
## Grub Backup and Recovery
(Tips: The date and time in the figure is for reference only.)
1) Select "Backup and Restore" in grub menu when start-up.
2) Backup or restore are both allowed to select here. If there is an error, restart the system and try again.
- Backup mode: The system will start to backup immediately and the prompt will display on the screen.
For backup mode, is smilar to "Whole Disk Backup" in general mode. If there is no enough space, the backup will fail.
- Restore mode: The system will start to restore to the lastest successful backup state, and the prompt will display on the screen.
For restore mode, is smilar to "Disk Restore" in general mode. If there is no successful backup, the system will not be restored.
## Q&A
### Can not use backup and recovery tool
In order to use this tool, "Create Backup Partition" must be checked when install system.
<br>
2022-02-26 14:42:00 +08:00
### There is insufficient space on the backup partition
Backup partition (/ backup) size is fixed installation system, should not be too big commonly, as system usage gradually increase, will cause storage is not enough.At this point can be backup to a mobile device, but backup speed will slow down.
Recommended for system only a die erste installation backup to the backup partition, at the back of the backup system use mobile device. Of the more important data into a directory, backup in data backup function.