CN116069553A - Backup and restore method, device and system - Google Patents

Backup and restore method, device and system Download PDF

Info

Publication number
CN116069553A
CN116069553A CN202111292663.1A CN202111292663A CN116069553A CN 116069553 A CN116069553 A CN 116069553A CN 202111292663 A CN202111292663 A CN 202111292663A CN 116069553 A CN116069553 A CN 116069553A
Authority
CN
China
Prior art keywords
backup
module
restore
information
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111292663.1A
Other languages
Chinese (zh)
Inventor
唐晓瑞
欧亮
陈前锋
姚思泉
梁博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111292663.1A priority Critical patent/CN116069553A/en
Publication of CN116069553A publication Critical patent/CN116069553A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1461Backup scheduling policy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1466Management of the backup or restore process to make the backup process non-disruptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a backup and recovery method, device and system, and relates to the technical field of communication. The backup and restore method includes: generating configuration information under the condition that a backup enabling command of a user is received; determining protocol process information to be backed up in response to the configuration information; generating a backup file according to the protocol process information; transmitting the backup file to other nodes; the system is restored using the backup files as needed.

Description

Backup and restore method, device and system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a backup and restore method, a backup and restore device, a backup and restore system, and a nonvolatile computer readable storage medium.
Background
NSF (Non-Stop Forwarding) needs to rely on neighbor stations to perform special logic processing for switching between the active node and the standby node, so that the purpose of no service interruption is achieved.
In order to overcome the above-mentioned defects of the standard NSF function, NSR (Non-Stop Routing) can limit the failure of the control board card to the inside of the present station by real-time state backup and quick recovery, so as to realize complete transparency to the neighbor station.
In the related technology, backup processing is carried out on a certain type of message to realize uninterrupted routing; uninterrupted route processing of main/standby switching of a router is carried out aiming at a certain network protocol; implementing uninterrupted routing by hot-standby of links for TCP/IP (Transmission Control Protocol/Internet Protocol ) link protocol stack layers
Disclosure of Invention
The inventors of the present disclosure found that the above-described related art has the following problems: independent backup function development is required for different protocols, so that the development period of the backup function is longer, and the process is low in hot migration efficiency due to the fact that external programs are relied on during hot migration.
In view of this, the present disclosure proposes a backup and restore technical solution, which can shorten the development period of the backup function, reduce the dependence on external programs during the hot migration, and improve the process hot migration efficiency.
According to some embodiments of the present disclosure, there is provided a backup and restore method, including: generating configuration information under the condition that a backup enabling command of a user is received; determining protocol process information to be backed up in response to the configuration information; determining a backup file according to the protocol process information; transmitting the backup file to other nodes; and according to the system requirements, using the backup file to restore the system.
In some embodiments, responsive to the configuration information, determining protocol process information that needs to be backed up includes: using an interface module to respond to the configuration information to establish connection with a standby main control board and obtain the process characteristics needing backup; and determining corresponding protocol process information according to the process characteristics by utilizing an interface module.
In some embodiments, determining the backup file based on the protocol process information includes: generating a backup file according to protocol process information by using a synchronous module, and storing the backup file in a data module; transmitting the backup file to other nodes includes: and establishing connection with the standby main control board by using the data module, and transmitting the standby file to the standby main control board.
In some embodiments, in the event that a backup enabling command is received by a user, generating the configuration information includes: and utilizing the configuration module to send configuration information to the interface module according to the backup enabling command input by the user.
In some embodiments, the backup and restore method further comprises: and using the synchronization module to perform real-time incremental backup on the backup program after the first round of backup is completed.
In some embodiments, the backup and restore method further comprises: under the condition of receiving the system switching information, notifying a synchronous module to restore the system; and the backup file is read from the data module by utilizing the synchronous module so as to realize the hot migration of the protocol process corresponding to the backup file.
In some embodiments, the system switch information is used to trigger an upgrade of the backup node to the primary node.
In some embodiments, the backup and restore method further comprises at least one of the following three: receiving the system switching information input by a user by utilizing an interface module; triggering system switching information under the condition that the interface module monitors that a system fails; or triggering system switching information under the condition that the LPU (Line Interface Process Unit, line interface processing unit) senses the failure of the main control board.
In some embodiments, the backup and restore method further comprises: and using the interface module to respond to the configuration information to establish connection with the standby main control board so as to transmit the backup file.
According to further embodiments of the present disclosure, there is provided a backup and restore apparatus including: the configuration module is used for generating configuration information under the condition that a backup enabling command of a user is received; the interface module is used for responding to the configuration information and determining protocol process information needing backup; the synchronous module is used for generating a backup file according to the protocol process information, and performing system recovery by using the backup file; and the data module is used for transmitting the backup file to other nodes.
In some embodiments, the interface module obtains the process characteristics to be backed up in response to the configuration information, and determines the corresponding protocol process information according to the process characteristics.
In some embodiments, the synchronization module generates a backup file according to the protocol process information, and stores the backup file in the data module; the data module establishes connection with the standby main control board and transmits the backup file to other nodes.
In some embodiments, the configuration module issues configuration information to the interface module based on a backup enable command entered by a user.
In some embodiments, the synchronization module performs a real-time incremental backup of the backup program after the first round of backup is completed.
In some embodiments, when receiving the system switching information, the synchronization module receives a notification of performing system recovery, and reads the backup file from the data module, so as to implement the hot migration of the protocol process corresponding to the backup file.
In some embodiments, the system switch information is used to trigger an upgrade of the backup node to the primary node.
In some embodiments, the system switch information is triggered by at least one of the following three: the interface module receives system switching information input by a user; triggering system switching information under the condition that the interface module monitors that a system fails; or triggering the system switching information under the condition that the LPU senses the failure of the main control board.
In some embodiments, the interface module establishes a connection with the standby master board in response to the configuration information to transmit the backup file.
According to still further embodiments of the present disclosure, there is provided a backup and restore apparatus including: a memory; and a processor coupled to the memory, the processor configured to perform the backup and restore method of any of the embodiments described above based on instructions stored in the memory device.
According to still further embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the backup and restore method of any of the above embodiments.
According to still further embodiments of the present disclosure, there is provided a backup and restore system comprising: a master node for executing the backup and restore method for the backup phase in any of the above embodiments; a backup node for performing the backup and restore method for the hot migration phase in any of the above embodiments.
In the above embodiment, by determining the protocol process information to be backed up, the hot migration of the processes of different protocols is abstracted into a unified backup process with common attributes, so that the development period of the backup function can be shortened, the dependence on external programs during hot migration can be reduced, and the hot migration efficiency of the processes can be improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The disclosure will be understood more clearly from the following detailed description, with reference to the accompanying drawings,
wherein:
FIG. 1 illustrates a flow chart of some embodiments of a backup and restore method of the present disclosure;
FIG. 2 illustrates a schematic diagram of some embodiments of a backup and restore method of the present disclosure;
FIG. 3 illustrates a schematic diagram of further embodiments of the backup and restore method of the present disclosure;
FIG. 4 illustrates a block diagram of some embodiments of a backup and restore apparatus of the present disclosure;
FIG. 5 illustrates a block diagram of further embodiments of a backup and restore apparatus of the present disclosure;
FIG. 6 illustrates a block diagram of still further embodiments of a backup and restore apparatus of the present disclosure;
FIG. 7 illustrates a block diagram of some embodiments of a backup and restore system of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
As described above, uninterrupted routing of a single module is implemented for a certain aspect of a protocol or a certain protocol, and the method has no versatility. If all the services requiring uninterrupted routing support in the router are developed, the problems of complex technology, long development period and difficult maintenance are faced.
In view of the above technical problems, the present disclosure abstracts processes of different protocols such as BGP (Border Gateway Protocol ), ISIS (Intermediate system to intermediate system, intermediate system to intermediate system) to a network APP (application) having a common attribute, and implements thermal migration of different types of protocol processes using a general system component module.
In some embodiments, the technical scheme of the disclosure can be applied to a dual-master control frame type routing device of a 5G bearer network or a cloud computing data center, and the function of a full protocol stack NSR based on thermal migration between a master control board and a standby control board in the routing device is realized. Therefore, disaster recovery and hot standby scenes meeting high reliability requirements are met.
For example, the technical solution of the present disclosure may be implemented by the following embodiments.
FIG. 1 illustrates a flow chart of some embodiments of the backup and restore method of the present disclosure.
As shown in fig. 1, in step 110, in case a backup enable command of a user is received, configuration information is generated.
In some embodiments, configuration information is issued to the interface module by the configuration module in accordance with a backup enable command entered by a user.
For example, after the user inputs the NSR enable command in the command line interface, the NSR-cli module (configuration module) parses and verifies the command and then issues configuration information to the NSR-api module (interface module).
In step 120, in response to the configuration information, protocol process information that needs to be backed up is determined.
In some embodiments, the process features that need to be backed up are obtained using an interface module; and determining corresponding protocol process information according to the process characteristics by utilizing an interface module. For example, the interface module establishes a connection with the standby main control board in response to the configuration information, and issues a warning message if the connection fails.
For example, after receiving the NSR enable configuration information, the NSR-api module establishes a connection with the standby main control board through HTTP (HyperText Transfer Protocol ) service; and then confirming the process of the needed backup according to the process characteristics, and sending the protocol process information to the nsr-sync module (synchronization module).
For example, after receiving NSR enabling configuration information, the NSR-api module obtains a pre-stored configuration file, where the configuration file includes synchronization requirement information of a user; and determining the process needing backup according to the synchronous demand information.
In step 130, the backup file is determined based on the protocol process information.
In some embodiments, a synchronization module is utilized to generate a backup file according to protocol process information, and the backup file is stored in a data module; transmitting the backup file to other nodes includes: and establishing connection with the standby main control board by using the data module, and transmitting the standby file to the standby main control board.
For example, the nsr-sync module, upon receiving the backup program information (protocol process information), starts backup and stores the backup file in the nsr-data module. And the nsr-data module establishes connection with the standby main control board after receiving the backup data, and starts file transmission.
In step 140, the backup file is transmitted to other nodes.
In some embodiments, the synchronization module is utilized to perform real-time incremental backups of the backup program after the first round of backups is completed. For example, after the first round of batch backup is completed, the nsr-sync module begins to perform real-time incremental backup of the backup program.
In some embodiments, in the case of receiving the system switching information, notifying the synchronization module to perform system recovery; and the backup file is read from the data module by utilizing the synchronous module so as to realize the hot migration of the protocol process corresponding to the backup file. For example, the system switch information is used to trigger the backup node to upgrade to the primary node.
For example, the system may be an NSR system. And carrying out hot migration of the protocol process according to the backup file transmitted above, thereby realizing uninterrupted routing.
In some embodiments, the system switch information entered by a user is received using an interface module. For example, the user inputs an NSR system switch command on the command line interface, informing NSR-api module to perform NSR system switch.
In some embodiments, system switch information is triggered in the event that the interface module detects a system failure. For example, the NSR-api module monitors the system in real time and triggers an NSR system switch after a fault is found.
In some embodiments, the system switch information is triggered in case the LPU senses a failure of the active main control board. For example, the LPU senses a failure of the primary master control board and notifies the SMB to perform a primary up operation.
In some embodiments, after the nsr-api module of the SMB receives the system switch information, the nsr-sync module is notified to perform system recovery; nsr-sync module reads the backup file from nsr-data module and restores the program through the criu-restore (user space checkpoint-restore).
In step 150, the backup file is used for system recovery according to the system requirements.
FIG. 2 illustrates a schematic diagram of some embodiments of the backup and restore method of the present disclosure.
As shown in FIG. 2, the full protocol stack uninterrupted routing system based on the thermal migration comprises a nsr-cli module, a nsr-api module, a nsr-sync module and a nsr-data module. The main node, namely the source node of the backup, is AMB (Active Main Board, main control board); the backup node is SMB (Slave Main Board), and the backup node is a standby Main control Board.
In some embodiments, the NSR-cli module is responsible for defining and loading NSR related commands, decomposing and processing information entered by the user, and issuing command configurations. For example, the nsr-cli module provides nsr relevant command support and issues command configuration.
In some embodiments, the nsr-api module is responsible for monitoring the system in real time, defining the restful (Representational State Transfer, representing state transition) interfaces of nodes, mirrors, restores, migration, etc.; http service is provided, and support is provided for inter-node connections.
For example, the nsr-api module monitors the system, provides http services for the source node and the backup node, provides a master-slave node management function, provides a master-slave node control information synchronization function, and supports management of the backup node through commands.
In some embodiments, the nsr-sync module is responsible for incremental memory mirroring/restoration of business processes based on optimizing CRIU checkpoints/Restore In Userspace, user space checkpoints/restoration). The nsr-sync module can perform real-time backup and thermal migration of processes of the whole protocol stack, and also support batch backup and thermal migration of process trees at a container level.
For example, the nsr-sync module performs live backup and live migration of protocol processes/process trees; and restoring the process or the process tree according to the backup file.
In some embodiments, the nsr-data module is responsible for storing backup files and providing file transfer services. For example, NSR backup files are stored, file transfer services are provided, and the system is monitored in real time.
In the above embodiment, protocol processes such as BGP and ISIS are abstracted to be network APP with common attributes, and a general system component module is used to implement different types of protocol process hot migration. Therefore, NSR function development is not required to be carried out aiming at an independent protocol, the development period of the NSR function is greatly shortened, dependence on external programs during thermomigration is reduced, and the process thermomigration efficiency is improved.
Fig. 2 illustrates some embodiments of a system backup phase, including the following steps.
In the step of using NSR by the user, after the user inputs an NSR enabling command on the command line interface, the NSR-cli module analyzes and verifies the command and then issues configuration information to the NSR-api module.
In the step of establishing connection of the NSR-api module, after receiving NSR enabling configuration information, the NSR-api module establishes connection with a standby main control board through HTTP service; and then confirming the process of the needed backup according to the process characteristics, and sending the protocol process information to the nsr-sync module.
In the step of program backup, the nsr-sync module starts backup after receiving the backup program information and stores the backup file in the nsr-data module. And the nsr-data module establishes connection with the standby main control board after receiving the backup data, and starts file transmission.
In the step of real-time backup, after the first round of batch backup is completed, the nsr-sync module starts to perform real-time incremental backup on the backup program.
FIG. 3 illustrates a schematic diagram of further embodiments of the backup and restore method of the present disclosure.
As shown in fig. 3, the system switching phase includes the following steps.
In the step of triggering system switching, system switching may be triggered by one of the following means: a user inputs an NSR system switching command on a command line interface, and notifies a NSR-api module to perform NSR system switching; the NSR-api module monitors the system in real time and triggers NSR system switching after finding out a fault; the LPU senses the failure of the main control board and notifies the SMB to perform main lifting operation.
In the step of upgrading the backup node to the main node, after the nsr-api module of the SMB receives the system switching information, informing the nsr-sync module to recover the system; the nsr-sync module reads the backup file from the nsr-data module and restores the program through the criu-restore.
In the embodiment, through the modules, the whole protocol stack uninterrupted routing system based on the thermal migration can be formed. Uninterrupted route function development aiming at a protocol is not needed, the development period of NSR functions is shortened, dependence on external programs during thermomigration is reduced, and the process thermomigration efficiency is improved.
Fig. 4 illustrates a block diagram of some embodiments of a backup and restore apparatus of the present disclosure.
As shown in fig. 4, the backup and restore apparatus 4 includes a configuration module 41, an interface module 42, a synchronization module 43, and a data module 44.
The configuration module 41 generates configuration information in the case of receiving a backup enabling command of a user; the interface module 42 determines protocol process information to be backed up in response to the configuration information; the synchronization module 43 determines backup files according to the protocol process information, and uses the backup files to perform system recovery; the data module 44 transmits the backup file to other nodes.
In some embodiments, the interface module 42 obtains process characteristics that need to be backed up in response to the configuration information, and determines corresponding protocol process information according to the process characteristics.
In some embodiments, the synchronization module 43 generates a backup file according to the protocol process information, and stores the backup file in the data module; the data module 44 establishes a connection with the standby master control board and transmits the backup file to other nodes.
In some embodiments, configuration module 41 issues configuration information to the interface module in accordance with a backup enable command entered by a user.
In some embodiments, synchronization module 43 performs a real-time incremental backup of the backup program after the first round of backup is completed.
In some embodiments, in the case of receiving the system switch information, the synchronization module 43 receives a notification of performing system recovery, and reads the backup file from the data module 44 to implement the hot migration of the protocol process corresponding to the backup file.
In some embodiments, the system switch information is used to trigger an upgrade of the backup node to the primary node.
In some embodiments, the system switch information is triggered by at least one of the following three: the interface module 42 receives system switching information input by a user; triggering system switching information in the event that the interface module 42 detects a system failure; or triggering the system switching information under the condition that the LPU senses the failure of the main control board.
In some embodiments, interface module 42 establishes a connection with the standby master board in response to the configuration information to transfer the backup file.
FIG. 5 illustrates a block diagram of further embodiments of a backup and restore apparatus of the present disclosure.
As shown in fig. 5, the backup and restore apparatus 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51, the processor 52 being configured to perform the backup and restore method of any of the embodiments of the present disclosure based on instructions stored in the memory 51.
The memory 51 may include, for example, a system memory, a fixed nonvolatile storage medium, and the like. The system memory stores, for example, an operating system, application programs, boot Loader (Boot Loader), database, and other programs.
FIG. 6 illustrates a block diagram of still further embodiments of the backup and restore apparatus of the present disclosure.
As shown in fig. 6, the backup and restore apparatus 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, the processor 620 being configured to perform the backup and restore method of any of the previous embodiments based on instructions stored in the memory 610.
The memory 610 may include, for example, system memory, fixed nonvolatile storage media, and the like. The system memory stores, for example, an operating system, application programs, boot Loader (Boot Loader), and other programs.
The backup and restore device 6 may also include an input-output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650 and the memory 610 and processor 620 may be connected by, for example, a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker. Network interface 640 provides a connection interface for various networking devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards, U-discs, and the like.
FIG. 7 illustrates a block diagram of some embodiments of a backup and restore system of the present disclosure.
As shown in fig. 7, the backup and restore system 7 includes: a master node 71 for performing the backup and restore method with respect to the backup phase in any of the above embodiments; a backup node 72 for performing the backup and restore method in any of the embodiments described above with respect to the hot migration phase (system switching phase).
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Heretofore, a backup and restore method, a backup and restore apparatus, a backup and restore system, and a nonvolatile computer readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
The methods and systems of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (13)

1. A backup and restore method, comprising:
generating configuration information under the condition that a backup enabling command of a user is received;
determining protocol process information to be backed up in response to the configuration information;
generating a backup file according to the protocol process information;
transmitting the backup file to other nodes;
and according to the system requirement, using the backup file to restore the system.
2. The backup and restore method of claim 1 wherein the determining protocol process information that needs to be backed up in response to the configuration information comprises:
using an interface module to respond to the configuration information and acquire the process characteristics to be backed up;
and determining corresponding protocol process information according to the process characteristics by utilizing the interface module.
3. The backup and restore method of claim 1 wherein the generating a backup file according to the protocol process information comprises:
generating a backup file according to the protocol process information by using a synchronous module, and storing the backup file in a data module;
the transmitting the backup file to other nodes includes:
and establishing connection with the standby main control board by using a data module, and transmitting the backup file to the standby main control board.
4. The backup and restore method of claim 1 wherein the generating configuration information upon receiving a user's backup enable command comprises:
and utilizing a configuration module to send configuration information to an interface module according to the backup enabling command input by the user.
5. The backup and restore method of claim 1, further comprising:
and using the synchronization module to perform real-time incremental backup on the backup program after the first round of backup is completed.
6. The backup and restore method of any of claims 1-5, further comprising:
under the condition of receiving the system switching information, notifying a synchronous module to restore the system;
and reading the backup file from the data module by utilizing the synchronous module so as to realize the hot migration of the protocol process corresponding to the backup file.
7. The backup and restore method of claim 6 wherein the system switch information is used to trigger an upgrade of the backup node to the primary node.
8. The backup and restore method of claim 6 further comprising at least one of:
receiving the system switching information input by a user by utilizing an interface module;
triggering the system switching information under the condition that the interface module monitors that the system fails; or alternatively
And triggering the system switching information under the condition that the line interface processing unit LPU senses the failure of the main control board.
9. The backup and restore method of any of claims 1-5, further comprising:
and establishing connection with the standby main control board by using an interface module in response to the configuration information so as to confirm that the standby main control board is normal.
10. A backup and restore apparatus comprising:
the configuration module is used for generating configuration information under the condition of receiving uninterrupted routing commands of users;
an interface module for determining a device action in response to the configuration information;
the synchronization module is used for generating a backup file according to the protocol process information and performing system recovery by using the backup file;
and the data module is used for transmitting the backup file to other nodes and managing the backup file.
11. A backup and restore apparatus comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the backup and restore method of any of claims 1-9 based on instructions stored in the memory.
12. A non-transitory computer readable storage medium having stored thereon a computer program which when executed by a processor implements the backup and restore method of any of claims 1-9.
13. A backup and restore system, comprising:
a master node for performing the backup and restore method of any of claims 1-5 or 9;
a backup node for performing the backup and restore method of any of claims 6-8.
CN202111292663.1A 2021-11-03 2021-11-03 Backup and restore method, device and system Pending CN116069553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111292663.1A CN116069553A (en) 2021-11-03 2021-11-03 Backup and restore method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111292663.1A CN116069553A (en) 2021-11-03 2021-11-03 Backup and restore method, device and system

Publications (1)

Publication Number Publication Date
CN116069553A true CN116069553A (en) 2023-05-05

Family

ID=86172069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111292663.1A Pending CN116069553A (en) 2021-11-03 2021-11-03 Backup and restore method, device and system

Country Status (1)

Country Link
CN (1) CN116069553A (en)

Similar Documents

Publication Publication Date Title
CN112448858B (en) Network communication control method and device, electronic equipment and readable storage medium
EP1830515B1 (en) A method for transferring the network management configuration information between the element management systems
CN102394914A (en) Cluster brain-split processing method and device
CN111385107B (en) Main/standby switching processing method and device for server
WO2021185169A1 (en) Switching method and apparatus, and device and storage medium
CN115576655B (en) Container data protection system, method, device, equipment and readable storage medium
CN102957623A (en) Maintenance method and equipment of neighborhood of border gate protocol
CN111654384A (en) Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
CN110895469A (en) Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium
CN111083049B (en) User table item recovery method and device, electronic equipment and storage medium
CN115277727A (en) Data disaster recovery method, system, device and storage medium
CN102487332B (en) Fault processing method, apparatus thereof and system thereof
CN111698157B (en) Link management method, board card and switch
CN112052127B (en) Data synchronization method and device for dual-computer hot standby environment
US20210096962A1 (en) Data backup method, device and system
CN111241200B (en) Master-slave synchronous processing method and device based on SQLite database
CN116069553A (en) Backup and restore method, device and system
CN114124803B (en) Device management method and device, electronic device and storage medium
CN112491633B (en) Fault recovery method, system and related components of multi-node cluster
CN114528242A (en) Computer platform dual-system synchronization method, device, equipment and medium
CN115484218A (en) Fault processing method, exchange device, and storage medium
KR101282891B1 (en) Optical Line Termination for managing reset database and the method
CN111917590B (en) MAC table processing device and method for main/standby switching data packets of Internet of things manufacturing gateway
CN113765783B (en) Communication method and device
CN116962156A (en) Data backup method and related system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination