メインコンテンツまでスキップ

フォルダ / ファイルをスナップショットから Filer の homedir にコピーする最も簡単な方法は何ですか。

Views:
28
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
dp
Last Updated:

環境

Data ONTAP 7 以前

回答

ndmpcopyFiler 自体でコマンドを使用して開始します。これhomedirは、フォルダ / ファイルをスナップショットからコピーして、 Filer 上のに戻す最も簡単な方法です。

Example:
という名前のフォルダodd_docshourly.0newDocsは、という名前のスナップショットから qtree のフォルダにコピーされます。Snapshot をソースとして指定しているため、新しい Snapshot は作成されません。

:インストール先フォルダは事前に存在ndmpcopyする必要はありません。作成されます。

fas940-hd*> qtree
qtree: This command is deprecated; using qtree status.
Volume Tree Style Oplocks Status
------------ -------- ------- ------------ ----------
vol1 unix enabled normal
vol0 srq unix enabled normal
vol0 volvol0 unix enabled normal
fas940*>

fas940*> ndmpcopy /vol/vol0/.snapshot/hourly.0/odd_docs/oddDocs /vol/vol0/srq/newDocs

Ndmpcopy: Starting copy [ 2 ] ...
Ndmpcopy: fas940: Notify: Connection established
Ndmpcopy: fas940: Notify: Connection established
Ndmpcopy: fas940: Connect: Authentication successful
Ndmpcopy: fas940: Connect: Authentication successful
Ndmpcopy: fas940: Log: DUMP: Using subtree dump
Ndmpcopy: fas940: Log: DUMP: Date of this level 0 dump: Tue Jun
1418:58:36 2005.
Ndmpcopy: fas940: Log: DUMP: Date of last level 0 dump: the epoch.
Ndmpcopy: fas940: Log: DUMP: Dumping
/vol/vol0/.snapshot/hourly.0/odd_docs/oddDocs to NDMP connection
Ndmpcopy: fas940: Log: DUMP: mapping (Pass I)[regular files]
Ndmpcopy: fas940: Log: DUMP: mapping (Pass II)[directories]
Ndmpcopy: fas940: Log: DUMP: estimated 13684 KB.
Ndmpcopy: fas940: Log: DUMP: dumping (Pass III) [directories]
Ndmpcopy: fas940: Log: DUMP: dumping (Pass IV) [regular files]
Ndmpcopy: fas940: Log: RESTORE: Tue Jun 14 19:21:36 2005: Begin level 0 restore
Ndmpcopy: fas940: Log: RESTORE: Tue Jun 14 19:21:36 2005: Reading directories from the backup
Ndmpcopy: fas940: Log: RESTORE: Tue Jun 14 19:21:37 2005: Creating files and directories.
Ndmpcopy: fas940: Log: RESTORE: Tue Jun 14 19:21:37 2005: Writing data to files.
Ndmpcopy: fas940: Log: DUMP: dumping (Pass V) [ACLs]
Ndmpcopy: fas940: Log: DUMP: 15204 KB
Ndmpcopy: fas940: Log: RESTORE: Tue Jun 14 19:21:38 2005: Restoring NT ACLs.
Ndmpcopy: fas940: Log: DUMP: DUMP IS DONE
Ndmpcopy: fas940: Log: RESTORE: RESTORE IS DONE
Ndmpcopy: fas940: Log: RESTORE: The destination path is /vol/vol0/srq/newDocs/
Ndmpcopy: fas940: Notify: restore successful
Ndmpcopy: fas940: Notify: dump successful
Ndmpcopy: Transfer successful [ 4 seconds ]
Ndmpcopy: Done
fas940*>

注意:使用する方法に関係なく、一部の状況では処理が遅くなります。小さいファイルが大量にあると、同じ容量のファイルがいくつか存在する場合よりも時間がかかります。ndmpcopyただし、ローカルでは別のクライアントとネットワークを使用しません。

追加情報

詳細についてndmpcopyは、ご使用の Data ONTAP バージョンの『 Data ONTAP データ保護:テープバックアップおよびリカバリガイド』の「 What the command does 」を参照してください。

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.