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

Clone a file from a snapshot

You can clone a file from a snapshot.

  1. Open a secure shell (SSH) connection to any node in the cluster and log in.
  2. To view the contents of the snapshot you want to restore a file or directory from, run the ls command for a subdirectory of 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. Clone a file from the snapshot by running the cp command with the -c option.

    For example, the following command clones test.txt from Snapshot2014Jun04:

    cp -c /ifs/.snapshot/Snapshot2014Jun04/archive/test.txt \
    /ifs/archive/test_clone.text

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