NS0-157 · Question #139
What CLI command restores entire volume from a snapshot copy:
The correct answer is B. Volume snapshot promote. The 'volume snapshot promote' command restores an entire volume by elevating a snapshot copy to become the active file system, replacing all data written after that snapshot.
Question
What CLI command restores entire volume from a snapshot copy:
Options
- AVolume snapshot restore
- BVolume snapshot promote
- CVolume snapmirror restore
- DVolume snapmirror resync
How the community answered
(50 responses)- A8% (4)
- B86% (43)
- C2% (1)
- D4% (2)
Why each option
The 'volume snapshot promote' command restores an entire volume by elevating a snapshot copy to become the active file system, replacing all data written after that snapshot.
The 'volume snapshot restore' command in this context is associated with restoring individual files or LUNs from a snapshot rather than promoting a snapshot to replace the entire active volume.
The 'volume snapshot promote' command makes a designated snapshot the new active (writable) volume, effectively performing a full volume revert to the state captured in that snapshot. This is used when a complete volume restore is needed, as it replaces the entire active file system with the snapshot's contents. It is a destructive operation that discards any data written after the snapshot was taken.
'Volume snapmirror restore' is not a valid ONTAP CLI command for local snapshot-based volume recovery operations.
'Volume snapmirror resync' re-establishes a broken SnapMirror replication relationship between source and destination volumes and does not perform a local snapshot-based volume restore.
Concept tested: Full volume restore using snapshot promote in ONTAP
Source: https://docs.netapp.com/us-en/ontap/data-protection/snapshot-copies-work-concept.html
Topics
Community Discussion
No community discussion yet for this question.