Session sensitive data backups and restores
First Claim
Patent Images
1. A method, comprising:
- initiating a backup operation;
detecting a first hard link for primary data and a second hard link for the primary data and backing up the first and second hard links within a link data structure associated with the backup operation and backing up the primary data once; and
encountering a third hard link for a modified version of the primary data during the backup operation and backing up the third hard link within the data structure and backing up the modified version of the primary data as a session-specific version of the primary data by describing changes of the modified version in metadata and using the metadata as the session-specific version of the primary data, the metadata represents the primary data that is altered via the changes during the backup operation and before the backup operation has a chance to conclude, the link data structure includes a same identifier for the primary data and the modified version of the primary data, the same identifier stored in an single entry within the linked data structure and the entry includes a list of additional information including the first hard link, the second hard link, and the third hard link, the third hard link including a pointer to the metadata, the linked data structure includes hashed entries, each hashed entry representing particular primary data as a chain of additional data structures, and each additional data structure having;
a particular identifier for the particular primary data, a particular file system identifier for a file system of the particular primary data, a link count that identifies a total number of links that point to a particular hard link for the hashed entry, and a next pointer for a next additional data structure in the chain for the hashed entry.
11 Assignments
0 Petitions
Accused Products
Abstract
Techniques for the session sensitive data backups and restores are presented. Data having a plurality of hard linked file references are backed up and restored once during a backup operation. Any modifications to the backed up data are noted as session-specific versions and also backed up once. The hard linked file references are maintained in a data structure and managed during backups to define associations to the backed up data and to the session-specific versions of the data. The data structure is also used during restores to re-establish desired hard linked file reference associations to either the backed up data or to a particular session-specific versions of the data.
15 Citations
22 Claims
-
1. A method, comprising:
-
initiating a backup operation; detecting a first hard link for primary data and a second hard link for the primary data and backing up the first and second hard links within a link data structure associated with the backup operation and backing up the primary data once; and encountering a third hard link for a modified version of the primary data during the backup operation and backing up the third hard link within the data structure and backing up the modified version of the primary data as a session-specific version of the primary data by describing changes of the modified version in metadata and using the metadata as the session-specific version of the primary data, the metadata represents the primary data that is altered via the changes during the backup operation and before the backup operation has a chance to conclude, the link data structure includes a same identifier for the primary data and the modified version of the primary data, the same identifier stored in an single entry within the linked data structure and the entry includes a list of additional information including the first hard link, the second hard link, and the third hard link, the third hard link including a pointer to the metadata, the linked data structure includes hashed entries, each hashed entry representing particular primary data as a chain of additional data structures, and each additional data structure having;
a particular identifier for the particular primary data, a particular file system identifier for a file system of the particular primary data, a link count that identifies a total number of links that point to a particular hard link for the hashed entry, and a next pointer for a next additional data structure in the chain for the hashed entry. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method, comprising:
-
initiating a restore operation; encountering primary data in backup data and restoring the primary data; detecting a session-specific version of the primary data in the backup data and restoring the session-specific version, the session-specific version of the primary data representing an altered version of the primary data that occurred during a backup operation and before the backup operation had a chance to conclude, the session-specific version represented as changes to the primary data defined in metadata that can be applied to the primary data to arrive at the session specific version; and noting first, second, and third hard links in the backup data and updating a link table, wherein the first, second, third hard links reference the primary data and the session-specific version of the primary data as one entry in the link table using a same identifier for the primary data and the session-specific data, the one entry includes a list having the first hard link, the second hard link, and the third hard link, and the third hard link having a pointer to the metadata, the linked table includes hashed entries, each hashed entry representing particular primary data as a chain of additional data structures, and each additional data structure having;
a particular identifier for the particular primary data, a particular file system identifier for a file system of the particular primary data, a link count that identifies a total number of links that point to a particular hard link for the hashed entry, and a next pointer for a next additional data structure in the chain for the hashed entry. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a link network structure; and a session-sensitive backup service, the session-sensitive backup service is to build the link network structure by representing first hard links directed to primary data detected in storage during a backup operation and by representing at least one second hard link directed to a session-specific version of the primary data, the session-specific version represented as metadata defining changes that when applied to the primary data provides the session-specific version, and the session-sensitive backup service is to backup the primary data once and independent of a total number of first hard links and is to backup the session-specific version of the primary data, via the metadata, and independent of a total number of second hard links, the session-specific version representing the primary data altered during the backup operation and before the backup operation concludes and defined by the metadata, the link data structure include a single identifier and entry for the primary data and the session-specific version of the primary data, the entry including a list having the first hard links and the second hard links and the second hard links including pointers to the metadata, the linked data structure includes hashed entries, each hashed entry representing particular primary data as a chain of additional data structures, and each additional data structure having;
a particular identifier for the particular primary data, a particular file system identifier for a file system of the particular primary data, a link count that identifies a total number of links that point to a particular hard link for the hashed entry, and a next pointer for a next additional data structure in the chain for the hashed entry. - View Dependent Claims (14, 15, 16)
-
-
17. A system, comprising:
-
a session-sensitive backup service; and a session-sensitive restore service, the session-sensitive backup service maintains first hard links to primary data and second hard links to a session-specific version of the primary data during a backup operation and backs up the primary data and the session-specific version of the primary data just once during the backup operation, the session-specific version represented as metadata defining changes that when applied to the primary data provides the session-specific version, and the session-sensitive restore service restores the primary data or of the session-specific version of the primary data during a restore operation, by applying the changes defined in the metadata to the primary data, and the session-sensitive restore service enables the first and second hard links to be associated with the primary data or enables the first and second hard links to be associated with the session-specific version of the primary data, the session-specific version represents the primary data altered during the backup operation and before the backup operation concludes, the session-sensitive backup service creates a backup data structure where the primary data and the session-specific version are identified via a same identifier and within a single entry in the data backup structure, the single entry including a list for the first hard links and the second hard links and the second hard links including pointers to the metadata, and the session-sensitive restore service uses the backup data structure during the restore operation, the data backup structure includes hashed entries, each hashed entry representing particular primary data as a chain of additional data structures, and each additional data structure having;
a particular identifier for the particular primary data, a particular file system identifier for a file system of the particular primary data, a link count that identifies a total number of links that point to a particular hard link for the hashed entry, and a next pointer for a next additional data structure in the chain for the hashed entry. - View Dependent Claims (18, 19, 20, 21, 22)
-
Specification