IN THIS ARTICLE
Outlines how to view and recover files using Snapshots via Mac OSX, Windows, or the Linux command line
- 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 or NFS. From there, you will be able to find the files or directories you need.
NOTE: When mounted over SMB, the .snapshot directory is only available at the root of each share.
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 when clicking on the folder. You’ll need to provide the path in the Go to Folder menu as outlined above.
In Windows 7, 8, and 10 you will need to change your view settings to show the .snapshot directory.
- From the Folder Options menu, 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 using Explorer or the root directory:
- Explorer: Open the mounted drive
- 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 the following:
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 OSX 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 view and recover files using Snapshots via Mac OSX, Windows, or the Linux command line
Like what you see? Share this article with your network!