Method and system for backing up and restoring data of a node in a distributed system
First Claim
1. A computer-readable medium having computer-executable instructions for performing steps for backing up and restoring a data set of a node in a distributed system, comprising:
- initiating a back up operation;
setting state data of the data set to indicate that the data set is in a backed up state; and
taking a snapshot of the contents of the data set including the state data to generate a backup copy, the contents of the data set including a plurality of changes each identified by a replication identification number of the node and a serial number;
resetting the state data of the data set to indicate that the data set is in normal operation after taking the snapshot.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for backing up and restoring a data set on a node of a distributed system prevents conflicts in data replication caused by restoration from backup data. Before a node is backed up, state data of the data set of the node are set to mark the data set as “backed up.” The data set also stores a lowest serial number for uncommitted changes. A snapshot of the data set, including the state data, of the node is then taken to provide a backup copy. When the backup copy is later used to restore the data set of the node, the “backed up” value of the state data of the restored data set serves as a notification to the replication server of the node that the data set has been restored, so that the replication server will switch to a new Node ID for labeling new changes for replication to other nodes in the distributed system.
80 Citations
21 Claims
-
1. A computer-readable medium having computer-executable instructions for performing steps for backing up and restoring a data set of a node in a distributed system, comprising:
-
initiating a back up operation;
setting state data of the data set to indicate that the data set is in a backed up state; and
taking a snapshot of the contents of the data set including the state data to generate a backup copy, the contents of the data set including a plurality of changes each identified by a replication identification number of the node and a serial number;
resetting the state data of the data set to indicate that the data set is in normal operation after taking the snapshot. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for backing up and restoring contents of a data set of a node in a distributed system, comprising:
-
initiating a back up operation;
setting state data of the data set to indicate that the data set is in a backed up state; and
taking a snapshot of the contents of the data set including the state data to generate a backup copy, the contents of the data set including a plurality of changes each identified by a replication identification number of the node and a serial number;
resetting the state data of the data set to indicate that the data set is in normal operation after taking the snapshot. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system for implementing a node in a distributed system, comprising:
-
a data manager for maintaining a data set containing a plurality of changes each identified by a replication identification number of the node and a serial number;
a replication server for replicating changes made to the data set to other nodes in the distributed system;
a backup server for generating a backup copy of the data set, the backup server being programmed to cause state data of the data set to be set to indicate that the data set is in a backed up state, take a snapshot of the contents of the data set including the state data to generate the backup copy, and cause the state data of the data set to be reset to indicate that the data set is in normal operation after taking the snapshot. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification