9-18 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
'HWHUPLQLQJ6QDSVKRW9HUVLRQV

)URPDQ1)6FOLHQW

The best way to find all versions of a particular file preserved in snapshots is to use
the ls command. The following example shows how to find all versions of foo:
ls -l foo .snapshot/*/foo
-rw-r--r-- 1 smith 0 Jan 14 09:40 foo
-rw-r--r-- 1 smith 0 Jan 13 18:39 .snapshot/nightly.0/foo
-rw-r--r-- 1 smith 0 Jan 12 19:17 .snapshot/nightly.1/foo
The version of foo in the active file system was last modified on January 14, but the
old versions available in the snapshots were modified on January 13 and January 12.
Although users can use standard UNIX commands to examine the saved versions of
foo, they cannot modify or remove these older versions because everything beneath
.snapshot is read-only.

)URPD&,)6&OLHQW

Use the Find command to search for the file in the ~snapshot directory. For example,
if a user maps the home share to drive F: and wants to find all versions of
foo in snap-
shots, the user can use the Find command to search for foo in the f:\~snapshot
folder.
'HWHUPLQLQJ$FFHVV7LPHV
When the filer creates a snapshot, the access time of each file in the snapshot is
updated to the snapshot creation time.

)URPDQ1)6FOLHQW

You can use the ls -lu command, which shows the access times of files, to deter-
mine when snapshots were created. Following is an example of the ls -lu
command:
ls -lu foo .snapshot/*/foo
-rw-r--r-- 1 smith 0 Jan 14 09:40 foo
-rw-r--r-- 1 smith 0 Jan 14 00:00 .snapshot/nightly.0/foo
-rw-r--r-- 1 smith 0 Jan 13 00:00 .snapshot/nightly.1/foo

)URPD&,)6FOLHQW

You can determine the access time of a file by checking its properties.