IN THIS ARTICLE
- Outlines how to recover files from a snapshot
- Qumulo Core 2.5.0 and above
To recover files from a snapshot, you will need to access a hidden directory called .snapshot from a client mounted over SMB. From there you will be able to find the files or directories you wish to recover.
Mount over SMB or NFS
The first step is mount to the cluster over NFS or SMB.
Note: When mounted over SMB, the .snapshot directory is only available at the root of each share.
To view the hidden .snapshot directory
Mac OSX Finder
In OSX, you will need to navigate directly to the .snapshot folder to open it.
- From the Finder menu, select Go > Go to Folder...
- Type in the path as /Volumes/ShareName/.snapshot, where ShareName is the name of the Share you’re connected to. Note that the .snapshot directory has to be specified from the root of the share.
- You’ll now see a list of directories, where the directory name is the snapshot ID, and the modified date is the time that the snapshot was taken.
Note: If you have “Show hidden files” enabled in Mac OSX, you will see the .snapshot directory, but Finder will not let you open it by clicking on the folder. You’ll need to provide the path in the Go to Folder menu.
In Windows 7, 8, and 10 you will need to change your view settings to show the .snapshot directory. From the Folder Options menu, you will need to disable the option "Hide protected operating system files" and enable "Show hidden files, folders, and drives."
Once you've changed the view settings, you can find the .snapshot directory by:
- In Explorer, open the mounted drive
- From the root directory, open the .snapshot directory
Linux/Mac command line
In the Linux/Mac CLI, the .snapshot directory will not show up when you list a directory's contents, but you can navigate to it explicitly. For example, on a Mac CLI, you would type
To recover files
Inside the .snapshot directory, each snapshot is shown as a directory with the snapshot’s ID. The modified time on the directory is the time that the snapshot was taken. Here’s an example from Mac Finder:
- Open to the desired snapshot's directory
- Find the file/directory you’d like to restore
- Copy it to a new location.
You should now be able to successfully recover files using snapshots via Mac OSX, Windows, or the Linux command line.
Like what you see? Share this article with your network!