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

PowerScale OneFS 9.9.0.0 CLI Administration Guide

PDF

Create a Datamover COPY policy

You can create a Datamover COPY policy to define a one-time copy of a dataset to or from a remote system.

For detailed command syntax and descriptions, see the OneFS CLI Command Reference.

  1. The following command creates a Datamover copy policy that performs a one-time copy from an archive tier, fin-archive, to the production tier, fin-production. The source and target account ID is the local Datamover account ID on the source and target. The ---copy-create-dataset-on-target option is set to false to ensure that the target dataset is read-write when the copy completes. The copy base account ID is the Datamover account on which to create the policy.
    isi dm policies create archive-restore --priority=NORMAL --enabled=true --policy-type COPY --copy-source-base-path=/ifs/data/fin-archive --copy-create-dataset-on-target=false --copy-base-base-account-id=00505690456625112162aa1f651b22cff7c7000000000000 --copy-base-source-account-id=00505690456625112162aa1f651b22cff7c7000000000000 --copy-base-target-account-id=000000000000000100000000000000000000000000000000 --copy-base-target-base-path=/ifs/data/fin-production --copy-base-target-dataset-type=FILE --copy-base-dataset-retention-period=3600 --copy-base-dataset-reserve=2 --copy-base-policy-dataset-expiry-action=DELETE --start-time="2022-02-17 09:21:00"
    
    Created policy :  1024.
  2. Confirm the creation of the copy policy using isi dm policies list.
    isi dm policies list
    ID   Validity  Name            Enabled  Disabled By DM  Priority  Policy Type  Base Policy ID  Date Times  Recurrence  Start Time          Parent Exec Policy ID
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    1024 Yes       archive-restore Yes      No              NORMAL    COPY         -               -           -           2022-02-17 09:21:00 -
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total: 1

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