This software by bitNine lets you backup files and folders on your Windows computer to the cloud (Microsoft Windows Azure storage). This way, not even a fire or flod could destroy your precious data.
If you are looking for information on Backup and Restore in Windows Azure please refer to Business Continuity: Backup, Restore, and High Availability (Windows SQL Azure Database) To download the software on CodePlex click here.
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="https://blob.core.windows.net/" />
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.
<applicationSettings> <AzureBackup.Properties.Settings> <setting name="DownloadSpeed" serializeAs="String"> <value>2</value> </setting> <setting name="UploadSpeed" serializeAs="String"> <value>0.5</value> </setting> <setting name="SendEmailNotification" serializeAs="String"> <value>True</value> </setting> <setting name="SendEmailNotificationAddress" serializeAs="String"> <value>email@example.com</value> </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 system.net/mailSettings/smtp element. Here is an example for Hotmail/Windows Live Mail/Outlook.com:
<system.net> <mailSettings> <smtp deliveryMethod="Network"> <network host="smtp.live.com" port="587" defaultCredentials="false" userNamefirstname.lastname@example.org password="changeme"/> </smtp> </mailSettings> </system.net>
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
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