Data Domain - 管理快照排程

Summary: 管理快照排程

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.

Symptoms

管理快照排程

用途

本文詳細說明如何建立和移除快照排程。

適用於

  • 所有 Data Domain 系統
  • 所有軟體版本

Cause

管理快照排程

Resolution

    解決方案

    顯示、建立和刪除快照。
    動作
    顯示(清單)快照
     
    DD OS 5.0 及更新版本:
    snapshot list mtree <mtree path>
    注意:請參閱下面的示例 1。
    保留快照
     
    DD OS 5.0 及更新版本:
    snapshot create mtree [retention { | }]
    注意:請參閱建立快照 181712
    刪除快照 (使其到期)
     
    DD OS 5.0 及更新版本:
    snapshot expire <snapshot> mtree <mtree path>
    注意:請參閱檢查不再需要的快照 180570
    管理快照排程
    動作
    顯示所有快照排程
    snapshot show schedule
    注意:請參閱下面的示例 2。
    顯示特定的快照排程
    snapshot show schedule <name>
    建立快照排程 DD OS 5.0 及更新版本:注意:請參閱下面的示例 3。
    新增至現有排程 DD OS 5.0 及更新版本 (僅限):
    snapshot schedule add <name> mtrees <mtree-list>
    注意:此命令僅適用於 DD OS 5.0 及更新版本。
    刪除快照排程
     
    DD OS 5.0 及更新版本:
    snapshot schedule destroy <schedule name>
    刪除 (移除) 所有快照排程 所有 DD OS 版本:
    snapshot schedule reset
     
    DD OS 5.0 及更新版本:
    snapshot schedule destroy all
    刪除快照排程
     
    DD OS 5.0 及更新版本:
    snapshot schedule destroy <schedule name>

    範例

    例 1.
    顯示使用 DD OS 5.0 及更新版本的快照。
    # snapshot list mtree /data/col1/ddmtree1
    Snapshot Information for MTree: /data/col1/ddmtree1
    ----------------------------------------------------------------------
    Name     Pre-Comp (GiB) Create Date        Retain Until       Status
    -------- -------------  ---------------    ------------       ------
    new-snap1 0.0          July 12 2010 11:59  July 12 2010 12:04 expired
    
    Snapshot Summary
    -------------------
    Total:            1
    Not expired:      0
    Expired:          1
    命令輸出顯示:
    
    • 快照名稱
    • 快照中的預壓縮資料量
    • 建立日期
    • 保留日期
    • 狀態(狀態為空白或已過期)
    注意:在下一次檔案系統清理操作之前,過期的快照將持續可用。使用快照 expire 命令為過期但仍可用的快照設置未來的到期日期。
    例 2.
    顯示(或列出)所有快照計劃。
    # snapshot show schedule
    Snapshots are scheduled to run "daily" at "0700". 
    Snapshots are scheduled to run "daily" at "1900". 
    Snapshots are retained for "60" days.
    例 3.
    
    Creating snapshot schedules.
    Snapshot schedules can be configured with any of the three following commands:
    snapshot schedule create <schedule-name> [mtrees <mtree-list>] [days <days>] time <time>-<time> [every <hrs | mins>
    snapshot schedule create <schedule-name> [mtrees <mtree-list>] [days <days>] time <time> [,<time> ...] [retention <period>] [snap-name-pattern <pattern>]
    snapshot schedule create <schedule-name> [mtrees <mtree-list>] [days <days>] time <time> every <mins> [retention <period>] [snap-name-pattern <pattern>]
    The above commands will create a snapshot schedule with the name of <schedule-name> that will create a snapshot of <mtree-list> during the days specified.
    範例輸出:
    
    

    快照排程建立 sched3 MTrees/data/col1/備份時間 06:00 每 30 分鐘一次

    • 排程 sched3 將建立下列項目的快照: /data/col1/backup 在早上 6:00,之後每 30 分鐘繼續另一個快照。
    • 如果需要將其他 mtree 新增至已定義的特定快照排程,請使用快照排程 add:snapshot schedule add <name> mtree <mtree-list>
      (這會將多個 MTree 新增至單一快照排程)。
       

    參考資料

    Additional Information

     

        Affected Products

        Data Domain

        Products

        Data Domain
        Article Properties
        Article Number: 000042522
        Article Type: Solution
        Last Modified: 04 Jul 2024
        Version:  3
        Find answers to your questions from other Dell users
        Support Services
        Check if your device is covered by Support Services.