Skip to content

kritollm/tablesbackup

Repository files navigation

Tablesbackup

Because of lack of a good solution for backing up azure tables I created this script. (Could have been made more elegant with async await and callBackToPromiseWrapper).

Just store a creds.json file like this:

  {
    "account": "yourAccount",
    "accountKey": "yourAccountKey==",
    "maxTablesSimultaneous": 10,
    "maxEntitiesInFile": 2000,
    "savePath": "safetyBackupTables/"
  }

and in the terminal type npm start or node app.

If there is some tables you don't want to back up you can easily hook on a .filter function after .getAllTables(). The next time you run the script it will only add changes. It will also catch changes stored in the same millisecond as the last entity.

About

Backup azure tables in an account

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published