Skip to content

Commit

Permalink
Add BACKUPLOONGARCH64.EFI for Loongson backup and restore OS
Browse files Browse the repository at this point in the history
Signed-off-by: sulikun <sulikun@loongson.com>
  • Loading branch information
sulikun authored and MarsDoge committed Jul 8, 2024
1 parent 381ba7e commit f3423ac
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 0 deletions.
Binary file added Image/BACKUP-F4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image/BACKUP-back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image/BACKUP-restore.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image/BACKUP-show.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions LoongsonBackupOS/BACKUPLOONGARCH64.EFI.md5sum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9b42568c13da80d4bf74a704a9c838dc BACKUPLOONGARCH64.EFI
39 changes: 39 additions & 0 deletions LoongsonBackupOS/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# BACKUPOS

[简体中文](https://github.com/loongson/Firmware/blob/main/LoongsonBackupOS/README_CN.md)

Loongson BACKUPOS operations show as follows:

```
1.Prepare two USB drives and other storage devices. Format one USB drive as Fat32 and
use it as a boot disk. Create a new EFI file (file name is not case sensitive) and
copy BACKUPLOONGARCH64.EFI into it. Use one USB drive in ext3/ext4 format as a backup
device for the system, with a capacity greater than the required backup file size.
2.Connect two USB drives to the host, power on, and press F4 on the progress bar to
access the function. As shown in Figure.
```
The picture is as follows:
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-F4.jpg)

```
3.After press F4 can show the function it mainly includes backup and restore.
```
The picture is as follows:
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-show.jpg)

```
4.In backup function, select the drive letter where the system is located for
the source storage device, and select the drive letter where the backup files
are located for the target storage device. A backup directory name will be
automatically assigned, as shown in figure. After selection, click on Start Backup.
```
The picture is as follows:
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-back.jpg)

```
5.In restore function, select the system disk for the device that needs to be restored,
select the storage disk for storing the original data, and name a file for it, this tool
can name a default file as shown in Figure 4. After selecting, choose to start restoring.
```
The picture is as follows:
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-restore.jpg)
26 changes: 26 additions & 0 deletions LoongsonBackupOS/README_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 龙芯备份还原操作系统

龙芯备份还原操作系统操作流程如下:

```
1.准备两个U盘等存储设备,将一个U盘格式化为Fat32,作为引导盘,新建EFI文件(文件名不区分大小写),放入文件
BACKUPLOONGARCH64.EFI,一个U盘为ext等文件格式,作为用于备份系统的设备,容量需要大于所需备份文件大小。
2.将两个U盘接入主机中,开机,进度条界面按F4即可进入功能。如图所示。
```
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-F4.jpg)

```
3.进入后,可以看到如图界面。主要包含备份和还原两个功能。
```
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-show.jpg)

```
4.选择备份功能。源存储设备选择系统所在盘符,目标存储设备选择备份文件所在盘符。会自动分配一个备份目录名字,
如图所示。选好后,点击开始备份。
```
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-back.jpg)

```
5.选择还原功能。需要还原的设备选择系统盘,存放原始数据设备选择备份时的存储盘,在还原数据中选择需要还原的文件,如图。选好后,选择开始还原。
```
![image](https://github.com/loongson/Firmware/blob/main/Image/BACKUP-restore.jpg)

0 comments on commit f3423ac

Please sign in to comment.