TheByteStuff.AzureTableUtilities 4.5.1

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package TheByteStuff.AzureTableUtilities --version 4.5.1
NuGet\Install-Package TheByteStuff.AzureTableUtilities -Version 4.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TheByteStuff.AzureTableUtilities" Version="4.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TheByteStuff.AzureTableUtilities --version 4.5.1
#r "nuget: TheByteStuff.AzureTableUtilities, 4.5.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TheByteStuff.AzureTableUtilities as a Cake Addin
#addin nuget:?package=TheByteStuff.AzureTableUtilities&version=4.5.1

// Install TheByteStuff.AzureTableUtilities as a Cake Tool
#tool nuget:?package=TheByteStuff.AzureTableUtilities&version=4.5.1

Backup, Copy, Delete and Restore options for use with Azure Tables.  An alternative to tools such as AZCopy.

Backup destination may be to a local file or to Azure storage blob.  File may be optionally compressed (zipped).
Copy allows for the same or different connection spec for Source and Destination.
Restore location may be from local file or Azure storage blob.
Blob storage and Azure Table storage connection specs may point to different servers to allow for use in production backup scenarios as well as for restoration of development environments.

Restore/Copy will create the table if it does not exist, however data on an existing table will not be deleted. It may be overwritten depending on the source data.

Delete allows for full table deletion as well as for rows.

When working with Blob storage, a folder in the format {BlobRootName}--table-{TableName} will be used to store the file or retreive the file under the Blob root specified.  File created will be in the format {TableName}_Backup_{TimeStamp}.

Backup, Copy and Delete operations allow for an optional list of filters (Filter) to be provided to select a subset of the source data for the transation.

Refer to project url for code snippets and additional information.

The Byte Stuff, LLC is not affiliated with Microsoft nor has Microsoft endorsed this project.

Personal and commercial use of this software is free; however, a donation is appreciated if you find the software useful.

Code for a command line executable along with sample Docker build is available on GitHub --

Suggestions or donations are both appreciated and welcome can be made by using the "Contact" tab at;utm_medium=www&amp;utm_campaign=AzureTableUtilities

v5.0.0-pre - beta including Cosmos Table 2.0.0 Preview
v4.5.0 - Added "All" option to Copy and Backup to process all tables under a storage connection at once.
v4.4.1 - Updated backup to blob logic to increase stream write size as a fix to overflow exceptions for large tables.
v4.4.0 - Added additional methods for backup/restore to use Blob storage directly and eliminate the need for a local working directory.
v4.3.0 - Added additional parameter validation, code cleanup for initial github publish
v4.2.2 - Corrected problem with filters on backup to blob
v4.2.1 - Corrected Nuspec to show .Net Standard in docs
v4.2.0 - Change target framework from .Net Core 2.0 to .Net Standard 2.0
v4.1.0 - Added RowKey option to Filters, update Microsoft.Azure.Cosmos version to 3.10.1
v4.0.2 - updated Nuspec to minimum dependent versions
v4.0.1 - updated Nuspec to minimum dependent versions
v4.0 - Updated package dependencies to latest released versions, removed Microsoft.Extensions.Configuration; Microsoft.Extensions.Configuration.Json; Microsoft.Extensions.Configuration.FileExtensions as they are not needed by base libraries
v3.0 - added delete table option, refactored base exception to be AzureTableUtilitiesException, updated class/method documentation
v2.1 - added Filter constructor, corrected return message on successful copy.
v2.0 - added "Copy" option as well as Filters.
v1.0 - Initial release.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.6.2-pre 66 8/18/2022
5.6.1-pre 66 6/24/2022
5.4.1-pre 184 7/29/2021
5.4.0-pre 174 3/3/2021
5.3.0-pre 254 7/28/2020
5.0.0-pre 309 6/25/2020
4.6.2 1,194 8/18/2022
4.6.1 1,164 6/23/2022
4.5.1 3,806 9/2/2021
4.5.0 565 8/5/2021
4.4.1 481 7/29/2021
4.4.0 4,114 3/2/2021
4.3.0 880 7/28/2020
4.2.2 445 7/16/2020
4.2.1 407 7/7/2020
4.2.0 377 7/7/2020
4.1.0 380 6/30/2020
4.0.2 382 6/25/2020
4.0.1 424 6/25/2020
4.0.0 399 6/25/2020
3.0.0 470 6/23/2020
2.1.0 420 6/16/2020
2.0.0 408 6/11/2020
1.0.1 413 5/14/2020
1.0.0 411 5/12/2020

Added check to confirm directory exists for Backup to File or Blob as well as Restore from Blob.  A ParameterSpecException if the directory does not exist.