Installation

1. Install AzureBackup.msi.

2. Update App.config with your Windows Azure storage account details.

Usage

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.

Backup

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>

e.g.

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

List

Lists all files in the backup.

Usage: AzureBackup.exe list <backup name>

e.g.

AzureBackup.exe list Pictures

Restore

Restores all files in the backup to the specified path.

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

e.g.

AzureBackup.exe restore Pictures C:\Temp\Pictures

Clear

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

Usage: AzureBackup.exe clear <backup name>

e.g.

AzureBackup.exe clear Pictures

Automatic Backups

The easiest way to set up automatic backups is to add a scheduled task in Windows. You probably want to redirect output to a text file to be able to check the results.

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 > BackupResult.txt
AzureBackup.exe backup PublicDocs \\HPSERVER\Public >> BackupResult.txt
AzureBackup.exe backup Users \\HPSERVER\Users >> BackupResult.txt

Last edited Sep 6, 2010 at 11:50 AM by henriko, version 1

Comments

No comments yet.