Data backup method and apparatus
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsXionghui He, Chen Ding, Di Yao
Life of this patent
Estimating the term…
Abstract
This application provides a data backup method. The method includes: obtaining, by a first node, an identifier of a backup execution node from a storage device; and backing up data of the first node in the storage device responsive to determining that an ID of the first node is the same as the ID of the backup execution node. The embodiments of this application can improve reliability of the data stored by the first node, and prevent a plurality of nodes from redundantly backing up duplicate data in the storage device. The techniques disclosed herein reduce resource consumption.
Claims13
A data backup method, wherein the method comprises:
- obtaining, by a first node, an identifier (ID) of a backup execution node from a storage device;
- and
- backing up, by the first node, data of the first node in the storage device responsive to determining that an ID of the first node is the same as the ID of the backup execution node obtained from the storage device.
A data backup method, wherein the method comprises:
- obtaining, by a storage device, an identifier (ID) of a backup execution node;
- sending, by the storage device, the ID of the backup execution node to a first node;
- and
- receiving, by the storage device, data of the first node, wherein an ID of the first node is the same as the ID of the backup execution node.
A data backup apparatus, wherein the apparatus comprises a processor and a memory, and wherein the processor executes computer-executable instructions stored in the memory, that cause the data backup apparatus to be configured to:
- obtain an identifier (ID) of a backup execution node from a storage device;
- and
- back up data of the first node in the storage device responsive to determining that an ID of the first node is the same as the ID of the backup execution node.
Dependencies are inferred from the claim text.