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
    命令输出显示:
    
    • 快照名称
    • 快照中压缩前的数据量
    • 创建日期
    • 保留日期
    • status(状态为空或已过期)
    提醒:在下一次文件系统清理操作之前,到期的快照仍然可用。使用 snapshot 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.
    输出示例:
    
    

    Snapshot Schedule Create Sched3 MTrees/data/col1/backup time 06:00 every 30mins

    • 计划 sched3 将创建 /data/col1/backup 在早上 6:00,此后每 30 分钟继续另一个快照。
    • 如果需要将更多 mtree 添加到已定义的特定快照计划中,请使用 snapshot schedule add:snapshot schedule add <name> mtrees <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.