Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 75

asmcli restore smart-copy Command Syntax, Example: Restoring Smart Copies, Soft-Deleted Smart Copies

Page 75 highlights

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 --force Abbr. -F Argument none Description 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 inplace. You assume the responsibility for this action. For more information, see About Restoring Data From a Smart Copy. --group-access-file -g --user-name -u file-location user-name Specifies the location of the group access file that stores user names and encrypted passwords. 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-stdvol01 Volume sles11sp4-clus1-std-vol01.1 on hitlinux-3-02 restored from sles11sp4-clus1-stdvol01.1-2017-07-21-01:30:39.267.1 Logged in iqn.2001-05.com.equallogic:0-8a0906-35f6e3e0d-6c4004d234f57299-sles11sp4-clus1-stdvol01 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127

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