Data management system that updates a replication database, data management apparatus, method, and storage medium storing program
AssigneeCanon Kabushiki Kaisha
InventorDaisuke Shibata
Life of this patent
Estimating the term…
Abstract
After start of replication, backup data for restoring master data managed by a data management apparatus according to a restoration instruction is obtained. A content in the obtained backup data is designated as data for replication, and the data for replication is transmitted to an apparatus that is a replication destination. Data managed by the data management apparatus is restored using the obtained backup data.
Claims15
A data management system including a first data management apparatus that stores a master database, and a second data management apparatus that stores a replication database synchronous with the master database for replication,
- wherein
- the first data management apparatus includes
- at least one controller configured to function as:
- a unit that updates a part of data of the master database, and transmits, to the second data management apparatus, data indicating a difference between before and after the update;
- and
- a unit that obtains backup data for restoring the master database according to a restoration instruction, restores the master database using the obtained backup data, and transmits all data of the restored master database;
- and
- the second data management apparatus includes
- at least one controller configured to function as
- a unit that updates the replication database on the basis of the received data indicating the difference;
- a unit that replaces all data of the replication database with all data of the restored master database, on the basis of the received all data of the restored master database;
- and
- a unit that transmits, to the first data management apparatus, a result of the replacing,
- wherein, in a case where the result transmitted to the first data management apparatus indicates that the replacing is successful, replication management information in the first data management apparatus is updated.
A data management apparatus that stores a master database, comprising:
- at least one controller configured to function as:
- a unit that updates a part of data of the master database, and transmits, to another data management apparatus, data indicating a difference between before and after the update;
- and
- a unit that obtains backup data for restoring the master database according to a restoration instruction, restores the master database using the obtained backup data, and transmits all data of the restored master database to the another data management apparatus,
- wherein, in a case where the data management apparatus receives from the another data management apparatus a result that indicates successful replacement of data, replication management information in the data management apparatus is updated.
An apparatus that stores a replication database synchronous with a master database stored in another apparatus, the apparatus comprising:
- at least one controller configured to function as:
- a unit that updates the replication database on the basis of data received from the another apparatus indicating a difference of the master database before and after an update of a part of data of the master database;
- a unit that, on the basis of receiving all data of a restored master database from the another apparatus, replaces all data of the replication database with all data of the restored master database;
- and
- a unit that transmits, to the another apparatus, a result of the replacing.
A method executable in a data management system including a first data management apparatus that stores a master database, and a second data management apparatus that stores a replication database synchronous with the master database for replication, the method comprising:
- performing in the first data management apparatus
- updating a part of data of the master database, and transmitting, to the second data management apparatus, data indicating a difference between before and after the update;
- and
- obtaining backup data for restoring the master database according to a restoration instruction, restoring the master database using the obtained backup data, and transmitting all data of the restored master database to the second data management apparatus;
- and
- performing in the second data management apparatus
- updating the replicating database on the basis of the received data indicating the difference;
- replacing all data of the replication database with all data of the restored master database, on the basis of the received all data of the restored master database;
- and
- transmitting, to the first data management apparatus, a result of the replacing,
- wherein, in a case where the result transmitted to the first data management apparatus indicates that the replacing is successful, replication management information in the first data management apparatus is updated.
A method executable in a data management apparatus that stores a master database comprising:
- updating a part of data of the master database, and transmitting, to another data management apparatus, data indicating a difference between before and after the update;
- and
- obtaining backup data for restoring the master database according to a restoration instruction, restoring the master database using the obtained backup data, and transmitting all data of the restored master database to the another data management apparatus,
- wherein, in a case where the data management apparatus receives from the another data management apparatus a result that indicates that replacement of data is successful, replication management information in the data management apparatus is updated.
A non-transitory computer-readable storage medium storing a program that causes a computer to execute a method of controlling a data management apparatus that stores a master database, the method comprising:
- updating a part of data of the master database, and transmitting, to another data management apparatus, data indicating a difference between before and after the update;
- and
- obtaining backup data for restoring the master database according to a restoration instruction, restoring the master database using the obtained backup data, and transmitting all data of the restored master database to the another data management apparatus,
- wherein, in a case where the data management apparatus receives from the another data management apparatus a result that indicates that replacement of data is successful, replication management information in the data management apparatus is updated.
Dependencies are inferred from the claim text.