Skip to main content

Storage directory-restore endpoint overview

Contributors

Overview

You can use this API to restore a directory from a volume Snapshot copy without having to use data copy. The directory in the Snapshot copy contains sub-directories and files.

When a directory from a volume Snapshot copy is restored, all the directory entries (dentries) in the source should remain as they are (except for the junction path inodes). The dentries in the restored directory contain new inodes which are in the AFS (Active File System).

The newly created inodes in the AFS have the same attributes as those in the source Snapshot copy.

Directory restore API

The following API is used to perform the following operations:

– POST /api/storage/directory-restore