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.

PowerScale OneFS 9.8.0.0 Web Administration Guide

Restore a file or directory through a UNIX command line

You can restore a file or directory from a snapshot through a UNIX command line.

  1. Open a connection to the cluster through a UNIX command line.
  2. Optional: To view the contents of the snapshot you want to restore a file or directory from, run the ls command for a directory contained in the snapshots root directory.
    For example, the following command displays the contents of the /archive directory contained in Snapshot2014Jun04:
    ls /ifs/.snapshot/Snapshot2014Jun04/archive
  3. Copy the file or directory by using the cp command.
    For example, the following command creates a copy of the file1 file:
    cp -a /ifs/.snapshot/Snapshot2014Jun04/archive/file1 \
     /ifs/archive/file1_copy

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: <>()\