NetWorker:如何使用命令列復原檔案。

Summary: 本知識文章概述如何執行 NetWorker 用戶端的檔案或資料夾復原。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

注意:本文提供 NetWorker 用戶端命令列 FLR 的一般概觀。如需其他資訊,請參閱 NetWorker 命令參考指南支援 NetWorker |手冊與文件
  1. 在 NetWorker 伺服器上開啟提升權限的命令提示字元或 Shell。
  2. 識別您要還原的備份儲存集 ID (SSID): mminfo -avot -q client=NETWORKER_CLIENT_NAME
注意:儲存集必須標記為可流覽 (cb) 的資料儲存應用程式和系統中執行。NetWorker:如何使過期的儲存集可流覽
  1. 若要列出備份的內容,請取得 nsavetime 想要還原的 SSID 數量: mminfo -q ssid=SSID -r nsavetime,client
  2. 列出儲存集的內容 (可選擇重新導向至檔案): nsrinfo -t nsavetime CLIENT_NAME

範例:

E:\>nsrinfo -t 1562250655 client_name
scanning client `client_name' for savetime 1562250655(MM/DD/YYYY HH:MM:SS) from the backup namespace
E:\backup1\
E:\daemon.raw
E:\file1.txt
E:\gstd.raw
E:\gstdlog.txt
E:\renderedNsrck.txt
E:\   
7 objects found
  1. 執行 recover 命令以執行 NetWorker 伺服器命令列,以執行檔案層級復原: recover -c source_client_name -R destination_client_name -iR
    範例:
B:\>recover -c source_client_name -R destination_client_name -iR 
    No index was found for B:\. The current working directory is /.
    recover> cd E:\
    recover> ls
     backup1                gstd.raw               renderedNsrck.txt
     daemon.raw             gstdlog.txt
     file1.txt              ISNTOPV01_daemon.raw
    recover> version [displays all the latest backups performed for a save set E:\]

    Versions of `E:\':

        0 d                0 7/4/2019 07:20 \
         save time:  7/4/2019 7:30:55 AM
          location:  test.002 at test

     0 d                0 7/4/2019 07:20 \
     save time:  7/4/2019 7:21:04 AM
      location:  test.002 at test

     0 d                0 7/4/2019 05:52 \
     save time:  7/4/2019 7:03:48 AM
      location:  test.002 at test

    recover> changetime 7/4/2019 7:30:55 AM  [Performed E:\ backup for 3 times and selecting latest backup to perform recovery]
    18361:recover: time changed to 07/04/2019 07:30:55 (mm/dd/yyyy)
    recover> ls
     backup1                gstd.raw               renderedNsrck.txt
     daemon.raw             gstdlog.txt
     file1.txt              
    recover> add daemon.raw
    1 file(s) marked for recovery
    recover> relocate
    6479:recover: <return> will recover files into their original location
    New destination directory: F:\Test
    recover> recover
    Recovering 1 file from E:\ into F:\Test
    Volumes needed (all on-line):test.002 at test
    Total estimated disk space needed for recover is 229 KB.
    Requesting 1 file(s), this may take a while...
    Recover start time: 7/4/2019 7:46:58 AM
    Requesting 1 recover session(s) from server.
    129290:recover: Successfully established direct file retrieve session for save-set ID '4112387488' with adv_file volume 'test.002'.
    F:\Test\daemon.raw
    Received 1 file(s) from NSR server `networker_client_name'
    Recover completion time: 7/4/2019 7:47:01 AM
    recovery

在上述範例中,已成功將檔案daemon.raw復原至 F:\Test 位置。

Additional Information

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000019763
Article Type: How To
Last Modified: 26 Sept 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.