摘要 |
In an approach to backup and restore one or more clone file trees, one or more processors generate a clone management table. One or more processors record a clone management information in the clone management table about each clone file. To backup a clone file, one or more processors update the clone management information, and store one or more data blocks that are in the clone file trees. To restore a clone file, one or more processors analyze a clone management information and restore one or more data blocks in the clone file. To restore a clone file parent, one or more processors analyze a clone management information and restore one or more data blocks in the clone file parent. To restore a clone file tree, one or more processors analyze a clone management information and restore one or more data blocks in the clone file tree. |
主权项 |
1. A method to backup and restore one or more clone file trees, the method comprising:
generating, by one or more processors, a clone management table; recording, by the one or more processors, in the clone management table, a clone management information about each clone file in one or more clone file trees in a file system; responsive to receiving a backup request, updating, by the one or more processors, the clone management information, and storing one or more data blocks that are in the one or more clone file trees; responsive to receiving a request to restore a clone file, analyzing, by the one or more processors, a clone management information about the clone file, and restoring one or more data blocks in the clone file to the file system; responsive to receiving a request to restore a clone file parent, analyzing, by the one or more processors, a clone management information about the clone file parent, and restoring one or more data blocks in the clone file parent to the file system; and responsive to receiving a request to restore a clone file tree, analyzing, by the one or more processors, a clone management information about the clone file tree, and restoring one or more data blocks in the clone file tree to the file system. |