1. Install AzureBackup.msi.

2. Edit AzureBackup.exe.config as detailed in the configuration section below.


Inside the <appSettings> section, use the following settings for your Windows Azure Storage account:

  <add key="AccountName" value="YOUR ACCOUNT NAME"/>
  <add key="AccountSharedKey" value="YOUR SHARED KEY"/>
  <add key="BlobStorageEndpoint" value="" />

Inside the <applicationSettings> section, there is a <AzureBackup.Properties.Settings> section, and inside that you modify the following settings:

  • DownloadSpeed: Your network connection download bandwidth in Mbit/s. This is for calculating a reasonable timeout. Default: 2.
  • UploadSpeed: Your network connection upload bandwidth in Mbit/s. This is for calculating a reasonable timeout. Default: 0.5.
  • SendEmailNotification: Send e-mail notification when a backup completes (True) or not (False). Default: False.
  • SendEmailNotificationAddress: If SendEmailNotification is True, this setting is the e-mail address to send notificaiton to.
  • EnableSSL: If SendEmailNotification is True, specifies whether the SmtpClient uses Secure Sockets Layer (SSL) to encrypt the connection.


      <setting name="DownloadSpeed" serializeAs="String">
      <setting name="UploadSpeed" serializeAs="String">
      <setting name="SendEmailNotification" serializeAs="String">
      <setting name="SendEmailNotificationAddress" serializeAs="String">
</setting> <setting name="EnableSSL" serializeAs="String"> <value>True</value> </setting> </AzureBackup.Properties.Settings> </applicationSettings>

If SendEmailNotification is True, you must also specify SMTP (e-mail server) settings in the element. Here is an example for Hotmail/Windows Live Mail/

      <smtp deliveryMethod="Network">
        <network host="" port="587" defaultCredentials="false" password="changeme"/>


Azure Backup is a console program that takes 2-3 parameters. General usage is:

AzureBackup.exe <command> <backup name> <command specific arguments>

Valid commands are backup, list, clear and restore.


Backups the source folder and all sub-folders. If a source file already exists in the backup, a check is made which file’s modified time is more recent. If the source file is more recent than the already backed up file, the backup is updated. Files deleted in the source tree are not deleted in the backup.

Usage: AzureBackup.exe backup <backup name> <source path>


AzureBackup.exe backup Pictures C:\Users\Public\Pictures


Lists all files in the backup.

Usage: AzureBackup.exe list <backup name>


AzureBackup.exe list Pictures


Restores all files in the backup to the specified path.

Usage: AzureBackup.exe restore <backup name> <destination path>


AzureBackup.exe restore Pictures C:\Temp\Pictures


Deletes the entire backup. A confirmation is needed before continuing.

Usage: AzureBackup.exe clear <backup name>


AzureBackup.exe clear Pictures


Deletes all backup files not present locally in the source path.

Usage: AzureBackup.exe clean <backup name> <source path>


AzureBackup.exe clean Pictures C:\Users\Public\Pictures

Automatic Backups

The easiest way to set up automatic backups is to add a scheduled task in Windows. For example, to back up your Windows Home Server, you could create a small command file similar to this and schedule it to run once a week:

AzureBackup.exe backup Photos \\HPSERVER\Photos
AzureBackup.exe backup PublicDocs \\HPSERVER\Public
AzureBackup.exe backup Users \\HPSERVER\Users

Last edited Jan 3, 2013 at 9:16 PM by henriko, version 3


No comments yet.