Skip to content

Stek-io/azure-storage-backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Storage Account Backups

Create periodical backups of an Azure Storage Account.

Under Development

Requirements

  • python 3
  • pip

Setup Environment

  • run ./bin/bootstrap.sh: creates a Python Virtual Environment named venv

Run the backups

  • copy config.yml into config-production.yml
  • edit the config-production.yml file and define the following properties:
    • user: Azure Username
    • pass: Azure Password
    • storage_account_name: the name of the Azure Storage Account
    • storage_account_key: an access key for the Storage Account
    • backup_directory: full path to the backup directory
  • run ./bin/runonce.sh <path to config config-production.yml>

Output

Azure Storage Backups will create the following directory structure under the backup directory:

.
├── [Year]
│   └── [Month]
│       ├── [Day]
│       │   ├── [Archives of the file found under the Storage Account]
│       │   ├── ...

For example:

.
├── 2017
│   └── 06
│       ├── 23
│       │   ├── bytecode-discourse-27-2017.06.23.01.tar.gz
│       │   ├── fastmovingtargets-discourse-93-2017.06.23.01.tar.gz

Known Limitations (under development)

  • Only daily backups are available
  • No scheduling is available
  • Old backups are not removed

About

Backup your Azure Storage Accounts to a local disk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published