0.0.3 • Published 10 years ago

azuretablebackup v0.0.3

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

Azure Table Backup

A command line utility to backup and restore Windows Azure Table Storage.

Installation

You must have Node.js installed first.

$ npm install AzureTableBackup -g

Usage

Examples of usage:

// backup the foo table
$ AzureTableBackup -a backup -n mystorageaccount -k xxx -t foo

// restore the foo table
$ AzureTableBackup -a restore -n mystorageaccount -k xxx -t foo

// restore the foo backup to a new table
$ AzureTableBackup -a restore -n mystorageaccount -k xxx -t foo2 -f foo.json

// list all available tables
$ AzureTableBackup -a list -n mystorageaccount -k xxx 

Arguments:

--action, -a    The action to perform (backup / restore / list), required
--name, -n      The name of the Windows Azure Storage Account, required
--key, -k       The key of the Windows Azure Storage Account, required
--table, -t     The table in Windows Azure Storage to back up
--file, -f      Filename to use as backup or restore (defaults to the table name)

License

MIT