- Create a new Storage Account in Microsoft Azure
- Create a new Container in the Storage Account
- Get you Access keys for the Container (
Security + networking > Access Keys
) - In your CrateDB Cluster create a new repository
- You will need:
-
Storage Account name (e.g.
cratetest
) -
Container name (e.g.
cratebackup
) -
Access Key (e.g.
/YDcp3IIJz4DIgSgWEGA3T8NhfOOCrm6EaDLaeqycgyZEXOg==
)
-
Storage Account name (e.g.
- Create the repo:
CREATE REPOSITORY azurerepo TYPE azure WITH (account = 'cratetest', container = 'cratebackup', key ='/YDcp3IIJz4DIgSgWEGA3T8NhfOOCrm6EaDLaeqycgyZEXOg==');
- You will need:
- Create your first snapshot
CREATE SNAPSHOT azurerepo.first_snapshot TABLE my_table;
For the full configuration options see CREATE REPOSITORY — CrateDB: Reference
For more information on snapshots and repositories see Snapshots — CrateDB: Reference