Table of ContentsView in Frames

Finding the Snapshot copy you need from an NFS client

The best way to find all versions of a particular file preserved in Snapshot copies is to use the ls command from an NFS client.

Before you begin

Client must be connected to NFS to access the Snapshot copies.

Step

  1. To find all the versions of a particular file in the Snapshot copies, enter the following command: ls -l filename .snapshot/*/file_name
    A list displays all the versions of the requested file.

Accessing Snapshot copies from an NFS client

ls -l myfile.txt .snapshot/*/myfile.txt

-rw-r--r-- 1 smith 0 Jan 14 09:40 myfile.txt
-rw-r--r-- 1 smith 0 Jan 13 18:39 .snapshot/nightly.0/myfile.txt
-rw-r--r-- 1 smith 0 Jan 12 19:17 .snapshot/nightly.1/myfile.txt
The version of myfile.txt in the active file system was last modified on January 14, but the old versions available in the Snapshot copies were modified on January 13 and January 12. You can use standard UNIX commands to read the earlier versions of myfile.txt. However, you cannot modify or delete these older versions because everything in the .snapshot directory is read-only.