Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Backup system, recovery system and method based on container sandbox

A technology of backup system and recovery system, applied in the direction of instrument, response to error generation, redundancy in calculation, data error detection, etc. It can solve the problem of system backup incompatibility, slow backup speed, inability to specify modules or specified layer backups. and other issues to achieve the effect of improving convenience, accuracy and convenience

Pending Publication Date: 2020-09-25
SHANDONG SHANDONG UNIV ELECTRIC POWER TECH
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, it is difficult to guarantee the absolute security of key systems in the network, so it is necessary to adopt backup and recovery technology to ensure that data can be recovered as soon as possible in case of accidental data loss, and the loss of users can be minimized
[0005] The inventors of the present disclosure found that most of the existing system backup and recovery methods are slow, and cannot achieve backup accuracy, real-time performance, and self-defined backup; because the system backup is based on what modifications are made on the basic system, In the prior art, these modifications are backed up, that is, incremental backups are made at the system level each time, and the backup is only for the current version of the system. After the basic system is replaced, the system backup is incompatible. It will cause two problems: (1) For example, the system is backed up three times. The first backup is A, the second backup is B, and the third backup is C. In fact, C contains the modification of B, and B contains The modification of A will cause the backup file to become larger and larger. If it is not cleaned up in time, the backup speed will be slower as time goes on; (2) It can only do incremental backup of the whole system, and cannot perform specific modules or layers of the system make a backup

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Backup system, recovery system and method based on container sandbox
  • Backup system, recovery system and method based on container sandbox
  • Backup system, recovery system and method based on container sandbox

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Such as figure 1As shown, Embodiment 1 of the present disclosure provides a backup system based on a container sandbox. The entire system adopts a four-layer architecture: including a kernel driver layer, a customized desktop layer, a data storage layer, and an application center layer.

[0051] The system is started hierarchically based on containers; the system consists of several packaged files (basic system files and kernel); after the system is started, the basic system files will be loaded as the underlying container sandbox; operations performed by users on the started system will not be performed Persistence, that is, it is restored after restarting.

[0052] Users can perform persistent operations on the started system (using built-in commands), and the system will automatically solidify the user's modifications to generate a new layer of containers. The base files and a new container layer modified by the user are started the next time the user boots. Users ...

Embodiment 2

[0071] Embodiment 2 of the present disclosure provides a container sandbox-based system backup method, such as image 3 shown.

[0072] Suppose the system disk is the first SCSI disk, the device name is / dev / sda[1,2,3,4,5,6,7], the system also has a data scsi disk, the device name is / dev / sdb1, the file The system is ext3.

[0073] Users can back up the system to the designated device with one click:

[0074] S41: start the CD, and start to the Shell state according to the linux rescue mode;

[0075] S42: mount the data disk for backup;

[0076] S43: backup system;

[0077] S44: Eject the optical zone, and restart the system.

[0078] In step S43, the step of backing up the container and container backup is also included:

[0079] S431: First, in order to back up the container, a list of containers to be backed up may be checked first.

[0080] S432: After finding the container to be backed up, create a snapshot of the container. This step will generate a container snap...

Embodiment 3

[0087] Embodiment 3 of the present disclosure provides a system recovery system based on a container sandbox, including a storage, and the storage stores a backed up container sandbox;

[0088] The container sandbox includes at least a kernel driver layer, a customized desktop layer, a data storage layer and an application layer;

[0089] The kernel driver layer is configured to drive and be compatible with various hardware devices, and the customized desktop layer is configured to customize the graphical user interface of the operating system; the data storage layer divides the storage area for the protection of the operating system , configured to store different types of data; the application layer is configured to provide system software management services;

[0090] The system starts hierarchically based on the container sandbox. After the system starts, the basic system files are loaded as the underlying container sandbox; by performing persistent operations on the start...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a backup system, recovery system and method based on a container sandbox, belongs to the field of linux system development and application, and the invention comprises a kerneldriving layer, a customized desktop layer, a data storage layer and an application center layer which are arranged in the container sandbox. The system is started in a layered mode based on a container sandbox, and after the system is started, a basic system file is loaded as a bottom-layer container sandbox; persistence operation is executed on the started system, and the system automatically solidifies the modification command to generate a new container layer; the basic file and the modified new container layer are started in the next starting process; system backup is realized by integrally backing up a container sandbox to external equipment, and the external equipment carrying the container sandbox for system backup is used for recovering a system to a specified position; rapid system backup and recovery are realized, and the safety of the system is ensured.

Description

technical field [0001] The present disclosure relates to the field of development and application of linux systems, in particular to a container sandbox-based backup system, recovery system and method. Background technique [0002] The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. [0003] While an application cannot crash a normal modern operating system, it can wreak havoc on the operating environment of the operating system. From the perspective of resource utilization, how to limit the resources that a process or a group of processes can use is also an urgent problem to be solved. So people came up with the concept of sandbox (Sandbox), which isolates an application or a group of applications in a restricted environment so that it cannot escape. For a sandbox, it is a process rather than a thread. However, Linux schedules threads by default instead of scheduling processes...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/14
CPCG06F11/1448
Inventor 栾兆文赵传刚张宗保徐海峰徐景亮
Owner SHANDONG SHANDONG UNIV ELECTRIC POWER TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products