Monday, August 22, 2011

How to automate CloudBerry Backup configuration and deployment with an updated Command Line Interface

CloudBerry S3 Backup is a powerful Windows program that automate backup and restore processes to Amazon S3 cloud storage.
In this release we are adding quite some enhancements to our Command Line Interface. the new commands are related to the ability to configure storage accounts, configure backup plans, specify licensing information, automatically upgrade the product and send the diagnostic information.  The additional commands help you fully automate CloudBerry S3 Backup configuration and deployment and integrate it with other routines in your environment.
Here is just a few examples of the new commands:
* addAccount
  add S3 Account:
  cbb addAccount -d TEST#1 -st AmazonS3 -ac AKIAQVDU73GAVWLQ -sk BQEEuYPttR2PpKPTw717LInDhgO8aAUk1m -c jeff -bp test -ssl yes
 
* editAccount
  cbb editaccount -d TEST#1 -n TEST#2 -c jeff.us-west -bp test_cmd -ssl no

* deleteAccount
  cbb deleteaccount TEST#2

* activateLicense
  cbb activatelicense -e jeff-bezos@amazon.com -k d67c83d1-XXX-4c64-XXXX-111yXXXX31f4
  trial: cbb activatelicense -t
 
* releaseLicense
  cbb releaselicense

* showLicense
  cbb showlicense

* addBackupPlan
  cbb addbackupplan -n Plan1 -a TEST#1 -d "C:\backup" -ifm ".txt" -c yes -ea AES128 -ep 345 -rrs yes -every week -at "23:00" -weekday "we, thu"

* checkNewVersion
  cbb checknewversion
  to install new version: cbb checknewversion -i

* sendLog
  cbb sendLog -u jeff -e jeff-bezos@amazon.com -m "backup plan stops"

* deleteBackupPlan
  cbb deletebackupplan -n Plan1

* getBackupPlanDetails
  cbb getbackupplandetails -n Plan1
  cbb getbackupplandetails -id adfa40b2-7d1a-4cf4-992c-1e94fb49b6be

* editBackupPlan
  Change account, add directory to backup, disable compression and encryption, disabled rrs, change schedule:
cbb editbackupplan -id adfa40b2-7d1a-4cf4-992c-1e94fb49b6be -a Account2 -d "C:\backup" -d "C:\Files\documents" -c no -ed -rrs no -every day -at "22:00"
  Rename plan, change mode to simple and disable schedule:
cbb editbackupplan -n Plan1 -nn Plan2 -s yes -sd

More information about the updated command line interface found in our online documentation at http://www.cloudberrylab.com/default.aspx?page=backupcmd
 As always we would be happy to hear your feedback and you are welcome to post a comment.
+++
Note: this post applies to CloudBerry Backup 2.3.1 and later.
CloudBerry Backup is a Windows program that leverages Amazon S3 storage. You can download it at http://backup.cloudberrylab.com/ . It comes with onetime fee of $29.99 (US) per copy.
CloudBerry Backup for WHS is a Windows Home Server add-in that leverages Amazon S3 storage. You can download it at http://whs.cloudberrylab.com/ . It comes with onetime fee of $29.99 (US) per copy.
CloudBerry Backup Server Edition.  is a Windows program designed to run in server environment that leverages Amazon S3 storage. You can download it at http://server.cloudberrylab.com/ . It comes with onetime fee of $79.99 (US) per copy.

Like our products? Please help us spread the word about them. Learn here how to do it.
Want to get CloudBerry Backup for FREE? Make a blog post about us!

2 comments:

Anonymous said...

I have come across 2 issues!

created a backup folder on S3.

uploaded all few jpgs from location to s3. All fine.

then I deleted the s3 folder on aws

then tried back up command line script again. expecting it to upload all files again.

issue 1: a folder was created for each jpg! file.

issue2: on executing backup display, no files to upload!

is this an issue with back up tool or cache setting issues with amazon

Juli said...

You need to sync a local repository using the command:
cbb.exe account –s "accountname"

It will update the repository with the changes you made on AWS.

Juli, CloudBerryLab Team