Storage restore system, storage restore method, and storage medium
A storage restore system includes a processor, a memory, and a restore part configured to generate, in a recovery-destination storage area to which to recover a file or a directory stored in a designated storage area and indicated by object data including the file or the directory and parent directory information which is information on a directory to which the file or the directory belongs, a directory indicated by the parent directory information in the object data, and configured to generate the file or the directory indicated by the object data under the directory thus generated.
1. A storage restore system comprising:
a processor;
a memory; and
a restore part configured to generate, in a recovery-destination storage area to which to recover a file or a directory stored in a designated storage area and indicated by object data including the file or the directory and parent directory information which is information on a directory to which the file or the directory belongs, a directory indicated by the parent directory information in the object data, and configured to generate the file or the directory indicated by the object data under the directory thus generated, wherein
the parent directory information is information including identification information on object data on the directory to which the file or the directory belongs and a name of the file or the directory as used in the designated storage area,
the object data on the directory includes the directory stored in the designated storage area and the parent directory information on the directory, and
when generating a directory indicated by object data, the restore part determines whether a directory having identification information on the object data as a name thereof has been generated in the recovery-destination storage area, and if it is determined that a directory having the identification information on the object data as the name thereof has been generated in the recovery-destination storage area, changes the name of the directory from the identification information on the object data to a name used in the designated storage area and indicated in the parent directory information in the object data.
2. The storage restore system according to claim 1 , wherein
after changing the name of the directory, the restore part generates the directory indicated by the object data, under the directory changed in name.
3. The storage restore system according to claim 1 , wherein
the restore part outputs information indicating that the name of the directory has been changed from the identification information on the object data to the name used in the designated storage area and indicated in the parent directory information in the object data.
4. The storage restore system according to claim 1 , further comprising a program initialization processing part configured to allocate a plurality of pieces of the object data to a plurality of the restore parts, wherein
each of the restore parts generates, in a recovery-destination storage area to which to recover the file or the directory indicated by the object data allocated to the restore part, a directory to which the file or the directory indicated by the parent directory information in the object data belongs, and generates the file or the directory indicated by the object data under the directory thus generated.
5. The storage restore system according to claim 4 , wherein
the storage restore system is configured including
a plurality of file management apparatuses each including the restore part and
a main file management apparatus communicatively coupled to the file management apparatuses and having the program initialization processing part.
6. The storage restore system according to claim 1 , comprising a plurality of the restore parts that perform parallel execution.
7. The storage restore system according to claim 1 , further comprising a backup part configured to generate object data including a file or a directory stored in a designated storage area and parent directory information which is information on a directory to which the file or the directory belongs.
8. A storage restore method implemented by an information processing apparatus configured to execute restore processing including
generating, in a recovery-destination storage area to which to recover a file or a directory stored in a designated storage area and indicated by object data including the file or the directory and parent directory information that is information on a directory to which the file or the directory belongs, a directory indicated by the parent directory information in the object data, and
generating the file or the directory indicated by the object data under the directory thus generated,
wherein
the parent directory information is information including identification information on object data on the directory to which the file or the directory belongs and a name of the file or the directory as used in the designated storage area,
the object data on the directory includes the directory stored in the designated storage area and the parent directory information on the directory, and
when generating the directory indicated by the object data, determining whether a directory having identification information on the object data as a name thereof has been generated in the recovery-destination storage area, and if it is determined that a directory having the identification information on the object data as the name thereof has been generated in the recovery-destination storage area, changing the name of the directory from the identification information on the object data to a name used in the designated storage area and indicated in the parent directory information in the object data.
9. A storage medium storing a storage restore program to be executed by an information processing apparatus configured to execute restore processing including
generating, in a recovery-destination storage area to which to recover a file or a directory stored in a designated storage area and indicated by object data including the file or the directory and parent directory information which is information on a directory to which the file or the directory belongs, a directory indicated by the parent directory information in the object data, and
generating the file or the directory indicated by the object data under the directory thus generated, wherein
the parent directory information is information including identification information on object data on the directory to which the file or the directory belongs and a name of the file or the directory as used in the designated storage area,
the object data on the directory includes the directory stored in the designated storage area and the parent directory information on the directory, and
when generating the directory indicated by the object data, determining whether a directory having identification information on the object data as a name thereof has been generated in the recovery-destination storage area, and if it is determined that a directory having the identification information on the object data as the name thereof has been generated in the recovery-destination storage area, changing the name of the directory from the identification information on the object data to a name used in the designated storage area and indicated in the parent directory information in the object data.