Method and apparatus of backing up subversion repository
First Claim
1. A method comprising:
- synchronizing a backup repository based on a version attribute of a content at the backup repository, the synchronizing including backing up an original repository by updating the content in the backup repository that is different between a version of the content at the backup repository and a current version of the content at an original repository;
in an event of successful synchronization, setting the version attribute of the content at the backup repository to that of the current version of the content at the original repository that is a synchronized version; and
in an event of unsuccessful synchronization,determining that the current version of the content at the original repository is a non-synchronizable version;
backing up the original repository by duplicating a copy of the current version of the content at the original repository to the backup repository; and
setting the version attribute of the content at the backup repository to that of the current version of the content at the original repository that is the non-synchronizable version.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a method and apparatus for backing up a subversion repository. In one embodiment, a method of backing up a subversion repository wherein a version attribute of a backup repository is preset and identifies a latest version of the backup repository, the method comprises: synchronizing the backup repository based on the version attribute of the backup repository; in an event of successful synchronization, updating the version attribute of the backup repository with an identification of a synchronized version; and in an event of unsuccessful synchronization, determining that a current version to be a non-synchronizable version, backing up an original repository by duplicating a copy of the original repository, and updating the version attribute of the backup repository with an identifier of the non-synchronizable version.
-
Citations
15 Claims
-
1. A method comprising:
-
synchronizing a backup repository based on a version attribute of a content at the backup repository, the synchronizing including backing up an original repository by updating the content in the backup repository that is different between a version of the content at the backup repository and a current version of the content at an original repository; in an event of successful synchronization, setting the version attribute of the content at the backup repository to that of the current version of the content at the original repository that is a synchronized version; and in an event of unsuccessful synchronization, determining that the current version of the content at the original repository is a non-synchronizable version; backing up the original repository by duplicating a copy of the current version of the content at the original repository to the backup repository; and setting the version attribute of the content at the backup repository to that of the current version of the content at the original repository that is the non-synchronizable version. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus comprising:
-
a synchronization unit that implements a synchronization operation of a backup repository based on a version attribute, the synchronizing including backing up an original repository by updating a content in the backup repository that is different between a version of the content at the backup repository and a current version of the content at an original repository; a synchronization success processing unit that, in the event that the synchronization operation by the synchronization unit is successful, sets a version attribute of the content at the backup repository to a value of the current version of the content at the original repository; and a synchronization failure processing unit that, in the event that the synchronization operation by the synchronization unit is unsuccessful, backs up the original repository by duplicating a copy of the current version of the content at the original repository to the backup repository and sets the version attribute of the content at the backup repository to the value of the current version of the original repository that is a non-synchronizable version. - View Dependent Claims (7, 8, 9, 10)
-
-
11. One or more memories containing computer-executable instructions that, when executed, perform a number of actions comprising:
-
synchronizing a backup repository based on a version attribute of a content at the backup repository, the synchronizing including backing up an original repository by updating the content in the backup repository that is different between a version of the content at the backup repository and a current version of the content at an original repository; in an event of successful synchronization, setting the version attribute of the backup repository to that of the current version of the content at the original repository that is a synchronized version; and in an event of unsuccessful synchronization, determining that the current version of the content at the original repository is a non-synchronizable version; backing up the original repository by duplicating a copy of the current version of the content at the original repository to the backup repository; and setting the version attribute of the content at the backup repository to that of the current version of the content at the original repository that is the non-synchronizable version. - View Dependent Claims (12, 13, 14, 15)
-
Specification