临时用户手册

This commit is contained in:
zhaominyong 2022-02-11 17:22:16 +08:00
parent 1e6cfb76b9
commit f98c92a882
46 changed files with 283 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -0,0 +1,148 @@
# 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.
There are three modes: General, Grub backup and restore, LiveCD restore.
<br>
## General
### System Backup
![Fig 1-a system backup-big](image/1-a.png)
- **New System Backup** -- Backup the whole system except the backup partition and the data partition.
After selecting "New System Backup", click "Backup" and there will pop up a box allowing users to specify backup device those need to be ignored during backup, as shown in Fig 2.
![Fig 2 system backup device choose -big](image/2.png)
After clicking "Ok" to backup, the system will chech whether the backup partition has enough space for this operation. If no, it will pop up an
error reporting window; Conversely, it will pop up prompt in turn, as shown in Fig 3.
![Fig 3-1 Backup prompt-big](image/3-1.png)
![Fig 3-2 Backup prompt-big](image/3-2.png)
Click "Continue" to create a new backup in the backup partition. During backup, there will show a window as shown in Fig 4. The length of backup time depends on the size of backup contents.
![Fig 4 Backup now -big](image/4.png)
The button "Backup Management" near "Backup" is used to view the state of system backups and delete invalid backups.
![Fig 5 Backup Management-big](image/5.png)
- **Update System Backup** -- Continue backup based on a existed backup.
After selecting this function, there will pop up a window to show all backups. Users can choose one from them.
Incremental backup can be performed on the basis of a failed backup.
### System Restore
System restore can restore the system to its previous backup state.
![Fig 6-a system restore-big](image/6-a.png)
### Data Backup and Data Recovery
- **Data Backup** -- Backup the directories or files specified by user, and the function is similar to system backup.
![Fig 8 Data backup-big](image/8.png)
After selecting "New Data Backup", click "Backup" and there will pop up a box allowing users to specify directories or files those need to be backuped. As shown in Fig 9, it will backup the contents in /home/kylin/.
![Fig 9 Specify directories or files -big](image/9.png)
The button "Backup Management" near "Backup" is used to view the state of data backups and delete invalid backups.
- **Update Data Backup** -- Add new data to a existed data backup.
- **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)
The system will restart automatically after recovery is complete.
### Log Records
Record all operations on backup and recovery tool, and the interface as shown in Fig 11. Turn pages by clicking "Up" and "Next" button.
![Fig 11 Log records-big](image/11.png)
### Ghost Image
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 backup is needed first.
#### Create Ghost Image
The interface as shown in Fig 12, including some tips.
![Fig 12 Ghost image-big](image/12.png)
Click "Ghost" and there will pop up a window to show all backups. Users select one of them and click "Ok" to start creating, as shown in Fig 13.
(Tips: The architecture in name depends on hardware platform.)
![Fig 13-1 Ghost image select and create-big](image/13-1.png)
![Fig 13-2 Ghost image select and create-big](image/13-2.png)
Image filename is "computer name + architecture + backup name.kyimg", and only numbers in the backup name are retained.
#### 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".
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, as shown in Fig 14. The follow-up steps can refer to installation manual.
(Tips: The architecture in name depends on hardware platform.)
![Fig 14 Ghost install-big](image/14.png)
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.
<br>
## LiveCD Restore
Enter livecd system and click Start Menu to open the application, as shown in Fig 15.
![Fig 15 Interface in LiveCD-big](image/15.png)
System restore an log records can refer to the function in general mode.
<br>
## 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>
### Backup data/backup partition is allowed?
The contents in data partition are not important to system and have a large capacity, so it's not necessary to backup /data.
Backup partition is used to save and recovery other partitions data, so /backup is not allowed to be backuped or restored.

BIN
data/kybackup/kybackup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -0,0 +1,135 @@
# 备份还原
## 概 述
备份还原用于对系统或用户数据进行备份和还原。该工具支持新建备份点,也支持在某个备份点上进行增量备份;支持将系统还原到某次备份时的状态,或者在保留某些数据的情况下进行部分还原。
备份还原有3种模式常规模式、Grub备份还原、LiveCD还原。
<br>
## 常规模式
### 系统备份
![图 1-a 系统备份-big](image/1-a.png)
- **新建系统备份** —— 将除备份还原分区、数据分区外的整个系统进行备份。
选择新建后,点击 “开始备份” 会弹出一个对话框供用户指定设备进行系统备份如图2所示。
![图 2 系统备份设备选择 -big](image/2.png)
当确定进入备份时,系统查找备份还原分区是否有足够的空间来进行本次备份。若没有足够空间,则会有报错弹窗;若有足够空间,则会依次给出提示。
![图 3-1 备份提示-big](image/3-1.png)
![图 3-2 备份提示-big](image/3-2.png)
按“继续”按钮,则会在备份还原分区上新建一个备份。在备份过程中,会有如下所示的提示框。备份时间长短与备份内容大小有关。
![图 4 正在备份 -big](image/4.png)
系统备份标签页中“开始备份”旁边的“备份管理”,可用来查看系统备份状态,删除无效备份。
![图 5 系统备份管理-big](image/5.png)
- **系统增量备份** —— 在一个已有备份的基础上,继续进行备份。
当选择增量备份后,会弹出一个列出了所有备份的对话框,供用户选择。
可以在失败的备份基础上进行增量备份。
### 系统还原
“系统还原” 可将系统还原到以前一个备份时的状态。
![图 6-a 系统还原-big](image/6-a.png)
点击“一键还原”会弹出一个对话框供用户指定在还原过程中需要忽略的分区、目录或文件如图7所示。还原成功后系统会自动重启。
### 数据备份与数据还原
- **数据备份** —— 对用户指定的目录或文件进行备份,功能与系统备份相似。
![图 8 数据备份主界面-big](image/8.png)
选择“新建数据备份”后点击“开始备份”会弹出一个对话框供用户指定需要备份的目录或文件如图9所示会对 /home/kylin/ 目录中的内容进行备份。
![图 9 指定数据备份目录 -big](image/9.png)
“开始备份”旁边的“备份管理”,可用来查看数据备份状态,删除无效备份。
- **数据增量备份** —— 在某个数据备份的基础上,增加需要备份的数据。
- **数据还原** —— 还原到某个数据备份的状态,功能与系统还原相似。
![图 10 数据还原主界面-big](image/10.png)
完成还原后,系统会自动重启。
### 操作日志
记录了在备份还原上的所有操作,主界面如图所示。可通过“上一页” 、“下一页”按钮进行翻页查看。
![图 11 操作日志主界面-big](image/11.png)
### Ghost镜像
Ghost镜像安装是指将一台机器上的系统生成一个镜像文件然后使用该镜像文件来安装操作系统。要使用该功能首先需要有一个备份。
#### 创建Ghost镜像
选择菜单“Ghost镜像”如图12所示。
![图 12 Ghost镜像主界面-big](image/12.png)
点击“一键Ghost”后会弹出当前所有备份的列表用户选择一个备份点击“确定”后开始制作Ghost镜像。镜像文件名的格式为“主机名+体系架构+备份名称.kyimg”其中备份名称只保留了数字。
如图13所示。
![图 13-1 Ghost镜像选择制作-big](image/13-1.png)
![图 13-2 Ghost镜像选择制作-big](image/13-2.png)
#### 安装Ghost镜像
1把制作好的Ghost镜像存在于“/ghost”目录下拷贝到U盘等可移动存储设备。
2进入Live系统后接入可移动设备。
3若设备没有自动挂载可通过终端手动将设备挂载到/mnt目录下
“sudo mount /dev/sdb1 /mnt”
通常情况下,移动设备为/dev/sdb1可使用命令“fdisk -l”查看。
4双击安装图标开始安装引导。在“安装方式”中选择“从Ghost镜像安装”并找到移动设备中的Ghost镜像文件。后续步骤可参考“系统安装”部分。
![图 14 Ghost安装-big](image/14.png)
Tips如果制作镜像文件时带有数据盘则在下一步“安装类型”中也要勾选“创建数据盘”。
<br>
## Grub备份还原
1开机启动系统时在Grub菜单选择系统备份还原模式。
2备份模式系统立即开始备份屏幕上会给出提示。
对于备份模式而言,等同于常规模式下的“新建系统备份”。如果备份还原分区没有足够空间,则无法成功备份。
3还原模式系统立即开始还原到最近一次的成功备份状态屏幕上会给出提示。
对于还原模式而言,等同于常规模式下的“一键还原”。如果备份还原分区上没有一个成功的备份,则系统不能被还原。
<br>
## LiveCD还原
通过系统启动盘进入操作系统后从开始菜单打开麒麟备份还原主界面如图15所示。
![图 15 LiveCD还原主界面-big](image/15.png)
系统还原和操作日志可参考常规模式下的对应功能。
<br>
## 常见问题
### 无法使用备份还原
在安装操作系统时,必须要选中“创建备份还原分区”,备份还原才能使用。
### 可以对data分区和backup分区进行备份吗
数据分区(/data保存的内容与系统关系不大且通常容量很大因此不建议对数据分区进行备份和还原。
备份还原分区(/backup用于保存和恢复其他分区的数据故此分区的数据不允许备份或还原。