Simple Docker Container to implement backup and restore for Azure Storage Tables
10M+
The engine is manifest based so build a new manifest with the following structure and launch the docker container. Multiple backups can be defined in one manifest file.
{
"Id": "<<uuid>>",
"Items": [
{
"Id": "<<uuid>>",
"Name": "<<displayname>>",
"Enabled": true,
"Operation": "backup",
"StorageType": "table",
"TargetConnectionString": "<<ConnectionString where the backup should be stored>>",
"TargetContainer": "<<Container the backup should be stored>>",
"SourceConnectionString": "<<ConnectionString where the data should be read from>>",
"Excludes": [
"<<Regex for tables to exclude>>"
],
"FinishedHook": "<<Optional Finish Hook for monitoring>>"
}
]
}
The docker container can be launched as follows:
docker run \
-e MANIFEST={{FILE or URL to the manifest}}
corehelpers/azurebackup:<<version>>
The engine is manifest based so build a new manifest with the following structure and launch the docker container. Multiple backups can be defined in one manifest file.
{
"Id": "<<uuid>>",
"Items": [
{
"Id": "<<uuid>>",
"Name": "<<displayname>>",
"Enabled": true,
"Operation": "restore",
"StorageType": "table",
"SourceConnectionString": "<<ConnectionString where the backup is stored>>",
"SourceContainer": "<<Container the backup is stored>>",
"TargetConnectionString": "<<ConnectionString where the data should be restored to>>",
}
]
}
The docker container can be launched as follows:
docker run \
-e MANIFEST={{FILE or URL to the manifest}}
corehelpers/azurebackup:<<version>>
Step 1: publish the runner into a dedicated directory
$: dotnet publish ./backup.runner/ -c Release -o ../publish/runner
Step 2: build the docker container
$: docker build -t corehelpers/azurebackup:manual -f ./Dockerfile ./publish/runner
Content type
Image
Digest
sha256:bde06cd2c…
Size
76.7 MB
Last updated
almost 3 years ago
docker pull corehelpers/azurebackup:0.9.9