Users Guide

asmcli restore smart-copy Command Syntax
The command syntax is as follows:
# asmcli restore smart-copy
[--force | -F]
[--group-access-file file-location | -g]
[--user-name user-name | -u]
Search option parameters also apply to this command. For information, see ASMCLI Search Options.
The following table describes the optional command parameters.
Table 24. Restore Smart Copy Optional Command Parameters
Parameter Abbr. Argument Description
--force -F none Performs the restore operation without first checking for
connections to volumes on PS Series groups from other hosts.
Without this parameter, the restore smart-copy
command performs the restore only if no connections exist to
volumes on PS Series groups that come from other hosts.
CAUTION: When using this option, you must
understand the possible consequences of other
systems accessing the data and doing a restore in-
place. You assume the responsibility for this action.
For more information, see About Restoring Data
From a Smart Copy.
--group-access-file -g file-location Specifies the location of the group access file that stores user
names and encrypted passwords.
--user-name -u user-name Specifies a particular user identity when multiple user names
have been stored in the group access file.
Example: Restoring Smart Copies
The following example restores a Smart Copy from a source mount point.
# asmcli restore smart-copy --source /mnt/eql/std-vol-06
Dell EqualLogic Auto-Snapshot Manager CLI Version 1.7.0
Copyright (c) 2010-2020 Inc.
Unmounted /mnt/eql/std-vol-06
Logged out iqn.2001-05.com.equallogic:0-8a0906-35f6e3e0d-6c4004d234f57299-sles11sp4-clus1-std-
vol01
Volume sles11sp4-clus1-std-vol01.1 on hitlinux-3-02 restored from sles11sp4-clus1-std-
vol01.1-2017-07-21-01:30:39.267.1
Logged in iqn.2001-05.com.equallogic:0-8a0906-35f6e3e0d-6c4004d234f57299-sles11sp4-clus1-std-
vol01 on 10.11.57.31
Mounted /mnt/eql/std-vol-06
Restore operation completed successfully.
# ls -l /mnt/eql/std-vol-06
total 512008
-rw-r--r-- 1 root root 524288000 May 12 01:28 file.txt
-rw-r--r-- 1 root root 100 May 10 19:43 file1.txt
-rw-r--r-- 1 root root 300 May 10 19:43 file2.txt
-rw-r--r-- 1 root root 0 Jul 20 18:26 file3.txt
-rw-r--r-- 1 root root 0 Jul 20 18:26 file4.txt
Soft-Deleted Smart Copies
This section includes information on how to manage soft-deleted Smart Copies. It provides examples of listing the contents of the volume
recovery bin. For more information about the soft-deleted Smart Copies, see About Restoring a Soft-Deleted Smart Copy.
Auto-Snapshot Manager Command Line Interface
75