Verification of metadata integrity for inode-based backups
First Claim
1. A non-transitory computer-readable memory medium storing program instructions that are computer executable on a backup server to:
- receive a plurality of inode messages, wherein each of the received plurality of inode messages includes inode metadata for one of a plurality of inodes that is being backed up, wherein the plurality of received inode messages includes messages of a first type and messages of a second type, wherein, for a given inode being backed up, the first type of inode message includes name and parent information for the given inode, and wherein the second type of inode message includes additional metadata for the given inode; and
use the received plurality of inode messages to determine whether the inode metadata includes errors by, excluding duplicative messages, determining whether an equal number of messages of the first type and messages of the second type are received by the backup server.
7 Assignments
0 Petitions
Accused Products
Abstract
Systems, methods, and computer-readable memory media for performing various methods for verification of inode metadata are disclosed. This may be done, in various embodiments, by splitting the metadata for a given inode into two or more components. Each component may then be transmitted as an inode message from, for example, a data server to a backup server. Counters may be used to determine if all messages have been received for a group of inodes. Temporary data structures may be created dynamically to aid in the verification of the inode metadata. In one embodiment, received inode metadata is used to indicate the presence (e.g., in a catalog) of an invalid reference from a child inode to its parent inode. A metadata catalog may be created and used during the restore process to “browse” a portion of the backed up data.
-
Citations
13 Claims
-
1. A non-transitory computer-readable memory medium storing program instructions that are computer executable on a backup server to:
-
receive a plurality of inode messages, wherein each of the received plurality of inode messages includes inode metadata for one of a plurality of inodes that is being backed up, wherein the plurality of received inode messages includes messages of a first type and messages of a second type, wherein, for a given inode being backed up, the first type of inode message includes name and parent information for the given inode, and wherein the second type of inode message includes additional metadata for the given inode; and use the received plurality of inode messages to determine whether the inode metadata includes errors by, excluding duplicative messages, determining whether an equal number of messages of the first type and messages of the second type are received by the backup server. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer-readable memory medium storing program instructions that are computer executable to:
-
create or update a backup catalog associated with data backed up from a first server using an inode-based backup; traverse at least a directory portion of the backup catalog to determine whether metadata associated with each of a plurality of directories listed in the backup catalog includes a valid reference to a parent directory of that directory; in response to detecting that metadata for a first of the plurality of directories includes an invalid reference to a parent directory, determine an inode on the first server corresponding to the parent directory of the first directory; and provide a report that includes the determined inode corresponding to the parent directory of the first directory. - View Dependent Claims (7, 8)
-
-
9. A backup server, comprising:
-
a processor unit including one or more processors; a memory subsystem storing program instructions executable by the processor unit to; receive a plurality of inode messages from a first server coupled to the backup server, wherein each of the received plurality of inode messages includes inode metadata for one of a plurality of inodes that is located on the first server and is being backed up to the backup server, wherein the plurality of received inode messages includes messages of a first type and messages of a second type, wherein, for a given inode being backed up, the first type of inode message includes name and parent information for the given inode, and wherein the second type of inode message includes additional metadata for the given inode; and use the received plurality of inode messages to determine whether the inode metadata includes errors by determining, for each of the plurality of inodes, whether the received plurality of inode messages includes at least one message of the first type and at least one message of the second type. - View Dependent Claims (10, 11, 12, 13)
-
Specification