Method and means for backup and restoration of a database system linked to a system for filing data
First Claim
1. A method of restoring a database system having references to files stored in at least one file system external to the database system, comprising the steps of:
- placing in the database a reference to a file in the file system;
making a record in the file system of the reference, the record initially indicating the existence of the reference, the records being changed to indicate deletion of the reference if the reference is deleted from the database system;
initiating a restoration of database contents that existed at a time of database system operation (restore time); and
(a) if the reference is placed in the database system prior to the restore time and the record indicates that the reference was deleted, changing the reference to indicate that the reference exists;
or (b) if the reference was placed in the database system subsequent to the restore time and the record indicates that the reference exists, changing the record to indicate that the reference is deleted.
1 Assignment
0 Petitions
Accused Products
Abstract
In a database system with linkage between data in the database system and files in a system for filing data which is external to the database system (“the filing system”), backup and restoration of the database are coordinated with the filing system. Backup of a referenced file is initiated when the file is linked to the database system. The file backup is asynchronous to the linking process. When database backup occurs, all unfinished file backups are accelerated and completed before the database backup is declared successful. When a database is restored to a state with reference to files in a file manager, the database system causes the file manager to ensure that referenced files are linked to the database system.
-
Citations
11 Claims
-
1. A method of restoring a database system having references to files stored in at least one file system external to the database system, comprising the steps of:
-
placing in the database a reference to a file in the file system;
making a record in the file system of the reference, the record initially indicating the existence of the reference, the records being changed to indicate deletion of the reference if the reference is deleted from the database system;
initiating a restoration of database contents that existed at a time of database system operation (restore time); and
(a) if the reference is placed in the database system prior to the restore time and the record indicates that the reference was deleted, changing the reference to indicate that the reference exists;
or(b) if the reference was placed in the database system subsequent to the restore time and the record indicates that the reference exists, changing the record to indicate that the reference is deleted. - View Dependent Claims (2, 3, 4, 5, 6)
determining that either step 10(a) or 10(b) cannot be performed;
providing to the database system an indication that either step 10(a) or step 10(b) cannot be performed; and
removing the references from the restored database contents.
-
-
7. A method performed in a file system to reconcile file data indicating references made in the contents of a database system to files in the file system, the method comprising the steps of:
-
making a record in the file system of a reference made in the contents of a database system to a file in the file system, the record initially indicating the existence of the reference in the database system, the record being changed to indicate deletion of the reference if the reference is deleted from the database system;
receiving an indication from the database system of the restoration of a database system with database contents that existed at a time of database system operation (restore time); and
(a) if the reference was placed in the database system prior to the restore time and the record indicates that the reference was deleted, changing the reference to indicate that the reference exists;
or(b) if the reference was placed in the database system subsequent to the restore time and the record indicates that the reference exists, changing the reference to indicate that the reference is deleted. - View Dependent Claims (8, 9, 10, 11)
-
Specification