Creates a snapshot of an Amazon EBS volume and
stores it in Amazon S3. You can
use snapshots for backups, to make
identical copies of instance
devices, and to save data before
shutting down an instance. For more information about
Amazon EBS, go to the Amazon Elastic Compute Cloud Developer Guide.
When taking a snapshot of a file system, we recommend unmounting it
first. This ensures the file system metadata is in a consistent state,
that the 'mounted indicator' is cleared, and that all applications
using that file system are stopped and in a consistent state. Some file
systems, such as xfs, can freeze and unfreeze activity so a
snapshot can be made without unmounting.
For Linux/UNIX, enter the
following command from the command line.
umount -d /dev/sdh
For Windows, open Disk Management, right-click the volume to unmount,
and select Change Drive Letter and Path. Then, select the mount
point to remove
and click Remove.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class CreateSnapshotRequest
Public Class CreateSnapshotRequest
public ref class CreateSnapshotRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| CreateSnapshotRequest()()()() | Initializes a new instance of the CreateSnapshotRequest class | |
| Description |
Gets and sets the Description property.
Description of the Amazon EBS snapshot.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetDescription()()()() |
Checks if Description property is set
| |
| IsSetVolumeId()()()() |
Checks if VolumeId property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| VolumeId |
Gets and sets the VolumeId property.
The ID of the Amazon EBS volume of which to
take a snapshot.
| |
| WithDescription(String) |
Sets the Description property
| |
| WithVolumeId(String) |
Sets the VolumeId property
|