Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Unity™ Family Unisphere® Command Line Interface User Guide

Restore storage resources to snapshots

Restore a storage resource to a snapshot to return (roll back) the storage resource to a previous state. During the restore, the entire storage resource, including all files and data stored on it, is replaced with the contents of the selected snapshot.

When you restore a storage resource to a snapshot, before the restoration begins, the system will automatically create a snapshot of the storage resource's current state. This ensures that there is no unintentional data loss because of the restore operation. You can use this new snapshot later to restore the storage resource back to its previous state, if necessary.

Prerequisites

  • To prevent data loss, ensure that all hosts have completed all read and write operations to the storage resource you want to restore.
  • For LUN storage:
    • If the snapshot is attached, you must first detach it or an error will appear when you attempt to restore to it.
    • If a host is connected to the LUN (seen by the host as a disk) you want to restore, perform one of the following to the LUN to disconnect it from the host:
      • On Windows, disable the LUN in the Device Manager, which might require a host reboot.
      • On Linux/UNIX, run the unmount command on the virtual.
      Once the LUN is disconnected, you can continue with the restore and then enable and mount the restored LUN on the host.

Format

/prot/snap {-id <value> | -name <value> } restore [-backupName <value>][-async]

Object qualifier

QualifierDescription
-idType the ID of the snapshot to which you want to restore the associated storage resource.
-nameType the name of the snapshot to which you want to restore the associated storage resources.

Action qualifiers

QualifierDescription
-asyncRun the operation in asynchronous mode.
-backupNameSpecifies the name of the snapshot the system creates automatically as the initial step of the restoration process. The system assigns a name to this snapshot if the user does not provide one.

Example

The following command restores snapshot SNAP_1, which is a snapshot of iSCSI storage:

uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap –id SNAP_1 restore
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

Operation completed successfully.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\