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
解决方案
显示、创建和删除快照。| 操作 | 命令 | ||
|---|---|---|---|
| 显示(列表)快照 |
|
||
| 创建快照 |
|
||
| 删除快照(使快照过期) |
|
| 操作 | 命令 | ||
|---|---|---|---|
| 显示所有快照计划 | 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 版本: snapshot schedule reset或
|
||
| 删除快照计划 |
|
例子
例 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(状态为空或已过期)
例 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 DomainProducts
Data DomainArticle 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.