[Sample Of July 24] How to create a snapshot of blob in Windows Azure
July
24
|
Sample : https://code.msdn.microsoft.com/How-to-create-a-snapshot-f6558876
This Code Snippet shows how to create a snapshot of blob in Windows Azure.
For developers, the best way to prevent accidental deletion or modification is creating a snapshot of blob.A snapshot is a read-only version of a blob that's taken at a point in time. Once a snapshot has been created, it can be read, copied, or deleted, but not modified. Snapshots provide a way to back up a blob as it appears at a moment in time. A snapshot of a blob has the same name as the base blob from which the snapshot is taken, with a DateTime value appended to indicate the time at which the snapshot was taken. A blob may have any number of snapshots. Snapshots persist until they are explicitly deleted. A snapshot cannot outlive its source blob. You can enumerate the snapshots associated with your blob to track your current snapshots.
This script can help developers easily create a snapshot of a specific blob storage.
You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage https://1code.codeplex.com/.