Manage Data Snapshots

Azure Data Expert allows one to create, restore and delete data blob snapshots. In order to display previously created snapshots for a data blob, open the Azure DEX main GUI application, navigate to the required storage container, select the required data blob, press the right mouse button, select the 'Properties' menu item to open the blob properties dialog and then select the 'Snapshots' tab.

Azure Data Expert Data Snapshots

The 'Snapshots' tab displays all previously created data blob snapshots and provides the ability to create new, restore and delete data blob snapshots. In order to create a new snapshot for the data blob, press the 'Add' button located on the 'Snapshots' tab. To restore one of the previously created snapshots, select the snapshot in the snapshots view, press the right mouse button and select the 'Restore Snapshot' menu item. In order to delete a snapshot, select the 'Delete Snapshot' menu item or the 'Delete All Snapshots' menu item to delete all previously created snapshots.

Azure Data Expert Snapshots Context Menu

Another option is to manage data snapshots for multiple files located in a storage container or a virtual directory. For example, in order to add a new snapshot for all data blobs located in a storage container, select the storage container in the Azure DEX GUI application, press the right mouse button and select the 'Snapshots - Add New Snapshot' menu item. Azure Data Expert will scan the selected storage container and add a new snapshot for all data blobs located in the container.

Pre-configured Snapshots Management Commands

In addition, Azure DEX Pro provides the ability to pre-configure user-defined snapshot management commands and then execute such commands using the Azure DEX GUI application or the command line utility. In order to add a new snapshots management command, press the right mouse button over the 'User Commands' tool pane and select the 'Add Command' menu item. On the 'Add Command' dialog, select the 'Data Snapshots Command' type, enter a command name and press the 'Add' button.

Azure Data Expert Add Snapshots Command

On the 'Snapshots' command dialog, select the 'Add New Snapshot' command mode, add one or more storage containers, directories or data blobs to process and press the 'Save' button. The command will appear in the 'User Commands' tool pane and in order to execute the pre-configured snapshots management command, just click on the command item.

Azure Data Expert Snapshots Command Modes

Snapshots management commands provide the user with the ability to add new snapshots, restore snapshots and delete snapshots from all data blobs located in one or more storage containers or virtual directories. In addition, the user is provided with the ability to explicitly specify a list of data blobs to process.

Another way to execute pre-configured snapshots management commands is to use the Azure DEX command line utility. Open the Windows command prompt, enter the Azure Data Expert 'bin' directory, and type the following command:

azuredex -execute <Snapshots Management Command>

The Azure DEX command line utility will load the pre-configured snapshots management command from the product configuration and perform the specified operation.

Manage Data Snapshots For File Search Results

Azure Data Expert provides the ability to create, restore and delete data snapshots for one or more file search results. Perform a file search operation, select one or more data blobs in the file search results dialog, press the right mouse button, click the 'Snapshots' menu item and select an appropriate data snapshots management command.

Azure Data Expert File Search Results Data Snapshots

The user is provided with the ability to add new data snapshots, restore the latest snapshot, restore the oldest snapshot, delete the latest snapshot, delete the oldest snapshot, delete all snapshots except the last one or delete all data snapshots for all selected data blobs.

Azure Data Expert File Search Results Snapshots Command

Once finished reviewing the selected data blobs, press the 'Start' button and Azure Data Expert will perform the specified snapshots operation on all selected data blobs. For restore and delete operations, the operation will be performed only if there are any previously created data snapshots. If there are no previously created data snapshots, nothing will be performed.

Manage Snapshots for Specific Types of Files

Azure DEX Pro allows one to manage data snapshots for specific types of files by the file category, name, extension, file size, last modification date, etc. using one or more file-matching rules. For example, in order to specify one or more file matching rules, for a snapshots management command, open the snapshots command dialog, press the 'Advanced Options' button, select the 'Rules' tab and press the 'Add' button.

Azure Data Expert Data Snapshots Rules

During the scanning process, Azure Data Expert will parse the specified storage containers and evaluate existing data blobs using the specified file matching rules. Blobs matching the rules will be processed and blobs not matching the rules will be skipped from the snapshots management process.

Azure Data Expert Data Snapshots Negative Rules

In addition to positive file matching rules allowing one to select which files to process, the user is provided with negative file matching rules allowing one to exclude specific files from the snapshots management process. For example, in order to exclude all types of video files, add a rule to match files by the file category, select the 'Movies, Clips and Video Files' category and set the rule operator to 'Not Categorized'. In general, most file matching rules provide positive and negative operators allowing one to exactly specify which files to process and which files to exclude from the snapshots management process.

Manage Snapshots Using Azure Data Expert Command Line Utility

In addition, Azure DEX Ultimate provides the ability to manage snapshots using the Azure DEX command line utility. The command line utility allows one to display previously created snapshots, create new snapshots, restore snapshots and delete snapshots.

azuredex -blob_snapshots -account <Account Name> -container <Container Name> -blob <Blob Name>

This command shows previously created snapshots for the specified data blob.

azuredex -add_blob_snapshot -account <Account Name> -container <Container Name> -blob <Blob Name>

This command add a new snapshot to the specified data blob.

azuredex -add_snapshot -account <Account> -container <Container Name>

This command adds a new snapshot to all data blobs located in the specified container.

azuredex -restore_blob_snapshot -account <Account Name> -container <Container Name> -blob <Blob Name> [ -date <Snapshot Date> -dest <Destination Blob> ]

This command restores a previously created snapshot for the specified data blob. If the snapshot date is not specified, Azure DEX will restore the latest blob snapshot. In addition, the user is provided with the ability to specify a different blob name to restore the data blob to.

azuredex -restore_latest_snapshot -account <Account Name> -container <Container Name>

This command restores the latest snapshot for all data blobs stored in the container.

azuredex -restore_oldest_snapshot -account <Account Name< -container <Container Name>

This command restores the oldest snapshot for all data blobs stored in the container.

azuredex -delete_blob_snapshot -account <Account Name> -container <Container Name> -blob <Blob Name> -date <Snapshot Date>

This command deletes a previously created snapshot from the specified data blob.

azuredex -delete_blob_snapshots -account <Account Name> -container <Container Name> -blob <Blob Name>

This command deletes all previously created snapshots from the specified data blob.

azuredex -delete_latest_snapshot -account <Account> -container <Container>

This command deletes the latest snapshot from all data blobs located in the container.

azuredex -delete_oldest_snapshot -account <Account> -container <Container>

This command deletes the oldest snapshot from all data blobs located in the container.

azuredex -delete_snapshots_except_last -account <Account> -container <Container>

This command deletes all snapshots except the last one from all data blobs located in the specified container.

azuredex -delete_all_snapshots -account <Account> -container <Container>

This command deletes all snapshots from all data blobs located in the specified container.