Method, apparatus and computer program product for backing up data

By introducing the proxy mode and virtual file system into the NAS server, the problem of cumbersome IP address configuration and resource waste when backing up the NAS server file system is solved, a more efficient backup and recovery process is achieved, and the configuration of data management applications is simplified.

CN112748991BActive Publication Date: 2024-09-13EMC IP HLDG CO LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911048097.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-30
Publication Date
2024-09-13
Estimated Expiration
2039-10-30

AI Technical Summary

Technical Problem

Existing technology requires configuring a large number of IP addresses when backing up file systems in NAS servers, resulting in cumbersome configuration processes and waste of resources. Especially on replication architectures and backup sites, traditional methods are difficult to efficiently manage and simplify data backup.

Method used

Introduce the proxy mode, use the proxy server to process all file system backup requests on the storage processor, and use the virtual file system to forward the backup requests to the corresponding target server. There is no need to configure the corresponding IP address for each target server. The NDMP proxy mode is used to simplify Configure and save IP address resources.

Benefits of technology

It reduces the tediousness of backup configuration, saves IP address resources, improves backup efficiency, simplifies the configuration process of data management applications, and is compatible with traditional methods to ensure compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112748991B
    Figure CN112748991B
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a method, device, and computer program product for backing up data. The method includes a proxy server receiving a backup request including a backup path from an application, and then the proxy server determines the target server for the backup request based on the backup path, wherein the proxy server and the target server share the same storage processor. The method also includes backing up files associated with the backup path in the target server. Embodiments of the present disclosure set up a dedicated proxy server, and use the proxy server to process backup requests for all file systems on its storage processor, and then forward the backup requests to the corresponding target server through a virtual file system without configuring a corresponding Internet Protocol (IP) address for each target server, which not only reduces the cumbersome configuration process, but also saves IP address resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to the field of data storage technology, and more particularly to a method, device, and computer program product for backing up data. Background Art

[0002] Network Attached Storage (NAS) is a device connected to the network and has data storage capabilities. It is also called "network storage" and is a dedicated data storage server. NAS uses a server equipped with one or more dedicated disks to store data and share the data with a large number of clients connected to the network. NAS usually treats data as files. NAS can use some standard file-based protocols, such as Network File System (NFS), Server Message Block (SMB), Common Internet File System (CIFS), and other file transfer protocols (AFP). NAS has the advantages of good horizontal expansion, high performance, easy setup, strong accessibility, and high fault tolerance.

[0003] A NAS server may include one or more file systems (FS). A file system refers to a system that stores and manages files. Generally, from a system perspective, a file system is a system that organizes and allocates space on file storage devices, is responsible for file storage, and protects and retrieves stored files. Specifically, it is responsible for creating files for users, writing, reading, modifying, and dumping files, controlling file access, and revoking files when users no longer use them. Generally speaking, multiple file systems can share the same storage pool, which includes a certain amount of storage resources, such as disks. Summary of the invention

[0004] Embodiments of the present disclosure provide a method, device, and computer program product for backing up data.

[0005] In one aspect of the present disclosure, a method for backing up data is provided. The method includes: receiving a backup request including a backup path from an application by a proxy server; determining, by the proxy server, a target server for the backup request according to the backup path, wherein the proxy server and the target server share the same storage processor; and backing up files associated with the backup path in the target server.

[0006] In another aspect of the present disclosure, an electronic device is provided. The system includes a processing unit and a memory, wherein the memory is coupled to the processing unit and stores instructions. When the instructions are executed by the processing unit, the following actions are performed: a proxy server receives a backup request including a backup path from an application; the proxy server determines a target server for the backup request according to the backup path, wherein the proxy server and the target server share the same storage processor; and backs up files associated with the backup path in the target server.

[0007] In yet another aspect of the present disclosure, a computer program product is provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which, when executed, cause a computer to perform a method or process according to an embodiment of the present disclosure.

[0008] This summary is provided to introduce a selection of concepts in a simplified form, which are further described in the detailed description below. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the various embodiments of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like elements throughout the exemplary embodiments of the present disclosure.

[0010] Figure 1 A schematic diagram showing an example backup environment according to an embodiment of the present disclosure is shown;

[0011] Figure 2 A flow chart of a method for backing up data according to an embodiment of the present disclosure is shown;

[0012] Figure 3 A schematic diagram showing a file system hierarchy according to an embodiment of the present disclosure is shown;

[0013] Figure 4 A schematic diagram showing a file system listing in proxy mode according to an embodiment of the present disclosure is shown;

[0014] Figure 5 A schematic diagram of file system backup in proxy mode according to an embodiment of the present disclosure is shown;

[0015] Figure 6 A schematic diagram showing file system recovery in proxy mode according to an embodiment of the present disclosure is shown;

[0016] Figure 7A schematic diagram showing a method for directly restoring a file to a target server according to an embodiment of the present disclosure is shown; and

[0017] Figure 8 A schematic block diagram of a device that can be used to implement an embodiment of the present disclosure is shown. Specific embodiments

[0018] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some specific embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0019] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects, unless explicitly indicated to be different.

[0020] Storage systems usually have data backup and recovery functions. When performing data backup, the data management application (DMA) usually needs to connect to the Internet Protocol (IP) address of the NAS server or physical data mover to back up the file system served by the NAS server or physical data mover. Therefore, the IP address of each NAS server or physical data mover needs to be configured in the DMA.

[0021] If you want to back up the file system in a NAS server, DMA needs to connect to the IP address of the NAS server. There may be dozens or even hundreds of NAS servers in a storage system. For each NAS server in the storage system, you need to set up corresponding configurations in DMA in order to back up all the file systems in the storage system. Although this is a one-time configuration work, too many configurations make it easy to make mistakes and bring potential maintenance problems.

[0022] In addition, users who set up a replication architecture for storage systems face greater challenges. Generally, users prefer to back up data from a replicated file system on a standby site, so users can transfer the backup workload from the production site to the standby site. However, the replication NAS server on the standby site may not be configured with an IP address. Instead, users may only configure an IP address on the replication NAS server to provide access to the replicated file system in certain special cases (such as DR testing). Therefore, in order to back up the replicated file system through a replication NAS server, users must configure a dedicated IP for each NAS server. Considering that a storage system may have dozens or even hundreds of NAS servers, providing so many IP addresses for data backup wastes IP address resources.

[0023] In addition, traditionally, a backup request from a NAS server can only back up the file system served by the NAS server. The thread that receives the backup connection usually only passes the work context to the backup engine thread, and the backup engine thread can only access the file system served by the NAS server that owns the connection. It can be seen that the traditional method requires cumbersome manual configuration and occupies a large amount of IP address resources.

[0024] To this end, the embodiments of the present disclosure propose a new backup solution for the proxy mode of the storage system. The embodiments of the present disclosure introduce a virtual file path in the virtual file system, and set up a dedicated proxy server, and then use the proxy server to process the backup requests of all file systems on the storage processor, and can forward the backup requests to the corresponding target server through the virtual file system without configuring the corresponding IP address for each target server, which not only reduces the cumbersome configuration process, but also saves IP address resources. In addition, some embodiments of the present disclosure can also avoid using too many dedicated IPs on the backup site for data backup, and can simplify the cumbersome configuration on the DMA side.

[0025] The following references Figures 1 to 8 It should be understood that these exemplary embodiments are provided only to enable those skilled in the art to better understand and implement the embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0026] Figure 1 FIG. 1 is a schematic diagram of an example backup environment 100 according to an embodiment of the present disclosure. Figure 1As shown, the example backup environment 100 includes an application 110 (e.g., DMA), a storage system 120, and a tape library 130, wherein the application 110 can be installed at a user device. In some embodiments of the present disclosure, DMA is used as an example of an application, but other types of applications can also be used in combination with the embodiments of the present disclosure. In some embodiments, the application 110 and the storage system 120 can communicate via the Network Data Management Protocol (NDMP). NDMP is a protocol used by DMA to start and control backup operations in a storage array. NDMP defines a network-based protocol and mechanism that can be used to control backup, recovery, and data transmission between storage devices.

[0027] like Figure 1 As shown, the storage system includes a dual-control host, namely two storage processors SPA 121 and SPB 122, and each SP may include multiple NAS servers. For example, SPA 121 includes NAS servers 123, 124 and 125, and SPA 122 includes NAS servers 126, 127 and 128. These NAS servers may be storage servers provided to external hosts, which may be virtual storage servers. Generally speaking, in order to communicate with a certain NAS server, the application 110 needs to know the IP address of the target NAS server. In the embodiment of the present disclosure, a NAS server in each SP may run as a proxy server, which may receive the backup request of the application 110, parse the NAS server name in the request, and then forward it to the corresponding NAS server. For example, NAS server 125 serves as an NDMP agent in SPA 121, and NAS server 128 serves as an NDMP agent in SPB 122. In this way, only the relevant settings and IP addresses of the proxy NAS server 125 and the proxy NAS server 128 need to be configured in the application 110, which reduces the configuration workload and saves IP address resources.

[0028] like Figure 1As shown, the proxy NAS server 125 will process the backup requests for all file systems in SPA 121, and the proxy NAS server 128 will process the backup requests for all file systems in SPB 122. In some embodiments, a proxy mode flag can be set on each NAS server to indicate whether the NAS server enables the NDMP proxy mode according to the embodiment of the present disclosure. For a NAS server (such as the proxy NAS server 128) that enables the NDMP proxy mode, when it receives a backup request, it will parse the backup request and forward the backup request to the corresponding NAS server; for a NAS server (such as the NAS server 127) that disables the NDMP proxy mode, no additional processing is required.

[0029] Therefore, according to the embodiment of the present disclosure, the DMA can back up the file system in another NAS server by connecting to the IP address of one NAS server. In some embodiments, the embodiment of the present disclosure can be a proxy mode based on NDMP, and the DMA does not know the existence of the NAS server intended to be backed up.

[0030] Figure 2 FIG. 2 is a flowchart of a method 200 for backing up data according to an embodiment of the present disclosure. Figure 1 100 is described together with an example environment 100 of the present invention.

[0031] At 202, the proxy server receives a backup request including a backup path from an application. Figure 1 The described proxy NAS server 128 receives a backup request from the application 110, wherein the backup request includes a backup path of the virtual file system. The backup path may include the name of a specific target NAS server targeted by the backup request and the file system path therein.

[0032] At 204, the proxy server determines the target server for the backup request according to the backup path, wherein the proxy server and the target server share the same storage processor. For example, the proxy NAS server 128 resolves the target server to be backed up from the backup path, such as the NAS server 127, wherein the proxy NAS server 128 and the NAS server 127 are both on the SPB 122. That is, each SP can set one of its NAS servers as a proxy server.

[0033] At 206, files associated with the backup path in the target server are backed up. For example, the NAS server 127 is enabled to back up files in the relevant file system path, for example, all files in the file system fs1 can be backed up to the tape library 130. It can be seen that the application 110 can forward the backup request to the NAS server 127 through the proxy NAS server 128 without configuring the IP address of the NAS server 127, thereby reducing the configuration burden at the application 110.

[0034] Therefore, according to method 200 of an embodiment of the present disclosure, a proxy server is used to process backup requests of all file systems on the storage processor, and the backup requests can be forwarded to the corresponding target server through the virtual file system without configuring the corresponding IP address for each target server. This not only reduces the cumbersome configuration process, but also saves IP address resources.

[0035] Figure 3 Schematic diagram 300 of a file system hierarchy according to an embodiment of the present disclosure is shown. Figure 3 As shown, blocks 310 and 320 respectively show the traditional file system hierarchical structures of the NAS server nas1 and the NAS server nas2, and block 330 shows the file system hierarchical structure using the NDMP proxy mode according to an embodiment of the present disclosure.

[0036] The file systems in different NAS servers may have the same name (for example, both NAS server 126 and NAS server 127 include file system fs1), and thus cannot be distinguished by the file system name alone. Therefore, the embodiment of the present disclosure proposes a DMA mechanism to explicitly address the file system in the system through a proxy NAS server. Figure 3 As shown, the name of the NAS server (e.g., "nas1") is added before the name of the file system, and the name of the NAS server is unique in the entire storage system. Therefore, the NAS server 128 in the proxy mode will expose the file system hierarchy on the NDMP interface: an additional layer directory will be added under the root directory, and the name of the corresponding NAS server will be used as the directory name. Figure 3 A schematic diagram showing how the proxy NAS server merges and exposes the file system hierarchy on the NDMP interface, with the name "nas1" added before the file system in NAS server nas1, and the name "nas2" added before the file system in NAS server nas2. In this way, the corresponding target NAS server and the file path therein can be directly determined based on the path of the virtual file system.

[0037] The above changes to the file system hierarchy will directly affect the following three NDMP operations: File system listing in NDMP client settings (such as Figure 4 As shown), file system backup (as Figure 5 as shown) and file system recovery (as shown Figure 6 and Figure 7 shown).

[0038] Figure 4 A schematic diagram 400 of a file system listing in proxy mode according to an embodiment of the present disclosure is shown. At 402, DMA 110 sends a request to proxy NAS server 128 to obtain the file system information available on the SPB where it is located, such as a message "NDMP_CONFIG_GET_FS_INFO()". At 404, proxy NAS server 128 returns a response, that is, a list of all file systems of the SPB where the proxy server resides, such as " / nas1 / fs1", " / nas1 / fs2", " / nas2 / fs1", " / nas2 / fs2", and so on.

[0039] According to an embodiment of the present disclosure, in order to back up a file system in a storage system, an administrator and / or user needs to set the proxy NAS server 128 as an NDMP client in the DMA 110. During this process, the DMA 110 will try to connect to the IP address of the proxy NAS server 128 to list all available file systems in the NDMP client so that the administrator and / or user can select the file system for which they want to set a backup plan. The proxy NAS server 128 will return all file systems in the SPB where the proxy NAS server 128 resides.

[0040] Figure 5 A schematic diagram 500 of file system backup in proxy mode according to an embodiment of the present disclosure is shown. After the NDMP client is set up in the DMA 110, backup of the selected file system may be completed periodically or aperiodically according to a plan or on demand.

[0041] At 502, DMA 110 sends a start backup message "NDMP_START_BACKUP" to proxy NAS server 128 to start the backup operation. Figure 5 As shown, the backup message includes " / nas1 / fs1", which includes a file system path indicating the file system or file system directory to be backed up. For the proxy NAS server 128 operating in NDMP proxy mode, it first parses the backup path in this specific format, and the prefix or first part in the backup path will be resolved into the name of the target NAS server, i.e., "nas1".

[0042] In order to back up the file system in the NAS server, the DMA 110 needs to send a message to the proxy NAS server 128 in the format of " / <target NAS server name> / <file system name>" (e.g., " / nas1 / fs1") to back up the file system fs1 served by the NAS server named "nas1". After extracting the name of the target NAS server "nas1" from the backup path, the working context of the backup operation will be switched to the target NAS server "nas1", and the backup operation can access the corresponding file system in the target NAS server. All other operations will be completed in the context of the target NAS server, for example, a snapshot will be created on the target file system and backup I / O will be started on it, just as if the DMA is directly connected to the IP address of the target NAS server.

[0043] Continue to refer Figure 5 , at 504, the working context of the backup operation is set to "nas1", and a success response is returned to DMA 110 at 506. At 508, the backup process starts, and the target NAS server backs up the file system or files therein to the tape library. During the backup process, whenever a directory or file is backed up, DMA 110 is notified through an NDMP message, at 510, the file directory dir1 is notified that it has been backed up, at 512, the file1 in the file directory dir1 is notified that it has been backed up, and at 514, the file2 in the file directory dir1 is notified that it has been backed up. In addition, after all files in the file path are backed up, at 516, the proxy NAS server 128 notifies DMA 110 that the data backup process is completed.

[0044] Figure 6A schematic diagram 600 of file system recovery in proxy mode according to an embodiment of the present disclosure is shown. At 602, DMA 110 sends a start recovery message "NDMP_START_RECOVER" to proxy NAS server 128, which is a message used by DMA to start a data recovery operation. The recovery message generally includes a source path and a target path, and the target path indicates the target directory to which the data is to be recovered. When NAS server 128 operates in proxy mode, it resolves the target path in the same way as a backup operation, for example, the first part in the backup path will be resolved to the name of the target NAS server. After successfully extracting the name of the target NAS server, at 604, the proxy NAS server 128 will switch the working context to the working context of the target NAS server so that all remaining operations will be completed in the context of the target NAS server. The remaining part in the target path will be used as the actual target path within the target NAS server. At 606, a success response is returned to DMA 110. At 608, the recovery process is started, and after the recovery is completed at 610, DMA 110 is notified that the data recovery is complete.

[0045] In addition, the solution according to the embodiment of the present disclosure can also be compatible with the traditional method. For example, the recovery method according to the embodiment of the present disclosure can also be directly recovered to the target NAS server without going through the proxy NAS server.

[0046] Figure 7 A schematic diagram 700 for directly restoring files to a target NAS server according to an embodiment of the present disclosure is shown. At 702, the DMA 110 directly sends a start recovery message "NDMP_START_RECOVER" to the target NAS server 127, where the target recovery path only includes the file path inside the NAS, but does not include the name of the target NAS server. Therefore, the NAS server will directly process the request and return a successful response to the DMA 110 at 704. Then, the recovery process is started at 706, and after the recovery is completed at 708, the DMA 110 is notified that the data recovery is completed.

[0047] Therefore, the backup completed through the proxy NAS server can also be directly restored to the target NAS server, that is, directly connected to the target NAS server. If the user wants to restore data to an earlier version of the storage system or a storage system without a proxy NAS server, data recovery can also be performed directly to ensure compatibility. In this scenario, the target path follows the file system hierarchy in the traditional NAS server, that is, there is no NAS server name prefix in the target path. Figure 7An example of this could be a scenario where backup is done on a replication NAS server via a proxy NAS setup, and the data is restored to the production site via a direct connection to the production NAS server.

[0048] Therefore, an embodiment of the present disclosure proposes a method for improving the backup efficiency of a storage system. The method greatly simplifies the backup configuration of the storage system by defining a new working mode and a merged / virtualized file system hierarchy for file system backup / restore operations in a NAS server, thereby enabling a user to configure a single NDMP access point in an SP to back up all file systems in the SP.

[0049] Figure 8 8 is a schematic block diagram of a device 800 that can be used to implement an embodiment of the present disclosure. The device 800 may be a device or apparatus described in an embodiment of the present disclosure. Figure 8 As shown, the device 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 802 or computer program instructions loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0050] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0051] The various methods or processes described above may be performed by the processing unit 801. For example, in some embodiments, the methods may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the CPU 801, one or more steps or actions in the methods or processes described above may be performed.

[0052] In some embodiments, the methods and processes described above may be implemented as a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0053] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0054] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0055] The computer program instructions for performing the disclosed operation may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, and conventional procedural programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In certain embodiments, by utilizing the state information of a computer-readable program instruction to customize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the present disclosure.

[0056] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0057] Computer-readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0058] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the equipment, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the blocks can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous blocks can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flow chart, and the combination of the blocks in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0059] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for backing up data, comprising: The proxy server receives a backup request including a backup path from an application; The proxy server determines the target server targeted by the backup request according to the backup path, and the proxy server and the target server share the same storage processor; as well as Backing up files associated with the backup path in the target server; Wherein the proxy server is a proxy network attached storage NAS server; and Wherein determining the target server comprises: A NAS server different from the proxy NAS server is identified as the target server, the NAS server and the proxy NAS server simultaneously residing on the same storage processor.

2. The method of claim 1, wherein the same storage processor runs a plurality of NAS servers, the plurality of NAS servers comprising the NAS server and the proxy NAS server; and The method further comprises: Before receiving the backup request, one of the plurality of NAS servers running on the same storage processor is set as the proxy server to receive the backup request from the application.

3. The method according to claim 1, further comprising: Configuring a proxy mode flag of the proxy server to instruct the proxy server to enable proxy mode; as well as The proxy mode flag of the target server is configured to instruct the target server to disable the proxy mode.

4. The method according to claim 1, further comprising: Receiving, by the proxy server, a request from the application program for obtaining available file system information; as well as A list of all file systems in the storage processor where the proxy server resides is returned from the proxy server to the application.

5. The method according to claim 4, wherein backing up the files associated with the backup path in the target server comprises: Backing up the files from the target server to a tape library; as well as Based on the determination that the backup of the file is completed, a notification of successful backup of the file is sent from the proxy server to the application.

6. The method according to claim 5, further comprising: The proxy server receives a restore request including a source path and a target path from the application; The proxy server determines the target server targeted by the recovery request according to the target path; as well as The target server is enabled to restore files from the tape library.

7. The method according to claim 1, wherein receiving, by the proxy server, a backup request including a backup path from an application comprises: The backup request is received from a data management application DMA based on a network data management protocol NDMP.

8. The method according to claim 1, further comprising: The proxy server receives a second backup request including a second backup path from the application; The proxy server determines, according to the second backup path, a second target server targeted by the second backup request; as well as The files associated with the second backup path in the second target server are backed up.

9. An electronic device, comprising: Processing unit; as well as A memory coupled to the processing unit and storing instructions that, when executed by the processing unit, perform the following actions: The proxy server receives a backup request including a backup path from an application; The proxy server determines the target server targeted by the backup request according to the backup path, and the proxy server and the target server share the same storage processor; as well as Backing up files associated with the backup path in the target server; Wherein the proxy server is a proxy network attached storage NAS server; and Wherein determining the target server comprises: A NAS server different from the proxy NAS server is identified as the target server, the NAS server and the proxy NAS server simultaneously residing on the same storage processor.

10. The device according to claim 9, wherein determining, by the proxy server according to the backup path, the target server for the backup request comprises: Based on the backup path and a predetermined format rule, extracting the name of the target server and the file path in the target server; as well as Based on the name of the target server, the working context is switched to the target server.

11. The apparatus of claim 9, the actions further comprising: Configuring a proxy mode flag of the proxy server to instruct the proxy server to enable proxy mode; as well as The proxy mode flag of the target server is configured to instruct the target server to disable the proxy mode.

12. The apparatus of claim 9, wherein the actions further comprise: Receiving, by the proxy server, a request from the application program for obtaining available file system information; as well as A list of all file systems in the storage processor where the proxy server resides is returned from the proxy server to the application.

13. The device according to claim 12, wherein causing the files associated with the backup path in the target server to be backed up comprises: Backing up the files from the target server to a tape library; as well as Based on the determination that the backup of the file is completed, a notification of successful backup of the file is sent from the proxy server to the application.

14. The apparatus of claim 13, wherein the actions further comprise: The proxy server receives a restore request including a source path and a target path from the application; The proxy server determines the target server for the restore request according to the target path; as well as The target server is enabled to restore files from the tape library.

15. The device according to claim 9, wherein receiving, by the proxy server, a backup request including a backup path from an application comprises: The backup request is received from a data management application DMA based on a network data management protocol NDMP.

16. The apparatus of claim 9, the actions further comprising: The proxy server receives a second backup request including a second backup path from the application; The proxy server determines, according to the second backup path, a second target server targeted by the second backup request; as well as The files associated with the second backup path in the second target server are backed up.

17. A computer program product tangibly stored on a non-transitory computer readable medium and comprising computer executable instructions which, when executed, cause a computer to perform the method according to any one of claims 1 to 8.