Azure Table Utilities

Tool for backup of Azure Tables to a local file or to Azure Blob storage file as well as restoring from a local file or Azure Blob storage file to a specified Azure Table. The backup process will dynamically query table element information. The restore process will create the table if it does not exist. The restore process does not delete existing table entries, if any.

Backup Example

string AzureStorageConfigConnection = "xxxxxxxxxxx";
string AzureBlobStorageConfigConnection = "xxxxxxxxxxx";

BackupAzureTables backup = new BackupAzureTables(AzureStorageConfigConnection, AzureBlobStorageConfigConnection);
string BlobStatus = backup.BackupTableToBlob("TableName", "BlobRootName", "LocalWorkingDirectory", CompressBool, ValidateBool, RetentionDays);
Backup process will return a status message confirming table backed up and a count of any files aged.
Table TableName backed up as 'TableName_backup_yyyyMMddHHmmss.ext'; 3 files aged.

Restore Example

string AzureStorageConfigConnection = "xxxxxxxxxxx";
string AzureBlobStorageConfigConnection = "xxxxxxxxxxx";

RestoreAzureTables restore = new RestoreAzureTables(AzureStorageConfigConnection, AzureBlobStorageConfigConnection);
string RestoreFromBlobStatus = restore.RestoreTableFromBlob("DetinationTableName", "OriginalTableName", "BlobRootName", "LocalWorkingDirectory", "Blobfilename.extension");
Restore process will return a status message indicating table restored and a count of entries.
Restore to DetinationTableName Successful; 21 entries.