6.5 HP StoreAll OS User Guide

Removing snapshot authorization for a snap tree
Before removing snapshot authorization from a snap tree, you must delete all snapshots in the snap
tree and reclaim the space previously used by the snapshots. Complete the following steps:
1. Disable any schedules on the snap tree. Select the snap tree on the Snap Trees panel, select
Modify, and remove the Frequency settings on the Modify Snap Tree dialog box.
2. Delete the existing snapshots of the snap tree. See “Deleting snapshots” (page 362)
3. Reclaim the space used by the snapshots. See “Reclaiming file system space previously used
for snapshots” (page 362).
4. Delete the snap tree. On the Snap Trees panel, select the appropriate snap tree, click Delete,
and confirm the operation.
Moving files between snap trees
Files created on, copied, or moved to a snap tree directory can be moved to any other snap tree
or non-snap tree directory on the same file system, provided they are not snapped. After a snapshot
is taken and the files have become part of that snapshot, they cannot be moved to any other snap
tree or directory on the same file system. However, the files can be moved to any snap tree or
directory on a different file system.
Backing up snapshots
Snapshots are stored in a .snapshot directory under the directory tree. For example:
# ls -alR /fs2/dir.tst
/fs2/dir.tst:
drwxr-xr-x 4 root root 4096 Feb 8 09:11 dir.dir
-rwxr-xr-x 1 root root 99999999 Jan 31 09:33 file.0
-rwxr-xr-x 1 root root 99999999 Jan 31 09:33 file.1
drwxr-xr-x 2 root root 4096 Apr 6 15:55 .snapshot
/fs2/dir.tst/.snapshot:
lrwxrwxrwx 1 root root 15 Apr 6 15:39 2011-04-06T15:39:57_ -> ../.@1302118797
lrwxrwxrwx 1 root root 15 Apr 6 15:55 2011-04-06T15:55:07_tst1 -> ../.@1302119707 /fs2/dir.tst/dir.dir: -rwxr-xr-x
1 root root 99999999 Jan 31 09:34 file.1
NOTE: The links beginning with .@ are used internally by the snapshot software and cannot be
accessed.
To back up the snapshots, use the procedure corresponding to your backup method.
Backups using NDMP
By default, NDMP does not back up the .snapshot directory. For example, if you specify a
backup of the /fs2/snapdir directory, NDMP backs up the directory but excludes /fs2/
snapdir/.snapshot and its contents.
To back up the snapshot of the directory , specify the path /fs2/snapdir/.snapshot/
2011-04-06T15:55:07_tst1. Now you can use the snapshot (a point in time copy) to restore
its associated directory. For example use /fs2/snapdir/.snapshot/
2011-04-06T15:55:07_tst1 to restore /fs2/snapdir.
Backups without NDMP
DMA applications cannot back up a snapshot directory tree using a path such as /fs2/snapdir/
.snapshot/time-stamp-name. Instead, mount the snapshot using the mount -t -o bind,ro
options and then back up the mount point. For example, using a mount point such as /newmount,
use the following command to mount the snapshot:
mount -t ibrix -o bind,ro /fs2/snapdir/.snapshot/time-stamp-name /newmount
Then configure the DMA to back up /newmount.
Moving files between snap trees 365