Sunday, February 28, 2010

How to create custom schedule with CloudBerry Backup

Note: this post applies to CloudBerry Backup 1.4 and later.

CloudBerry S3 Backup is a powerful Windows backup and restore that automate backup and restore processes to Amazon S3 cloud storage. With CloudBerry Backup GUI you can schedule backup plan to run at most every day at specified time. For most of the businesses and home users this is a reasonable default. However, sometimes you might need to schedule backup plan to run more frequently. Currently, you can’t do that using the console, but this is exactly the case where our command line interface and Windows Task Scheduler will help

Important update: as of release 1.7 you can configure the schedule down to 1 hour. You don't have to use command line interface for that. You can download CloudBerry Backup 1.7 here.

Command Line Interface

CloudBerry Backup command line interface is implemented by a little tool called cbb.exe

To try it out run windows console cmd.exe. Make sure you change your current folder to CloudBerry Backup product installation folder by default at C:\Program Files\CloudBerryLab\CloudBerry Online Backup\

image001

Run cbb ? to get some basic help

image003

Run cbb –l to get the list of existing backup plans. It is necessary to run this command to get the plan ID. You will use it in the future to schedule the plan. There are 10 plans in my system. You can quickly spot a plan you want to schedule by looking at the plan names.

image005

To run a given backup plan you can use CloudBerry Backup console executable with the plan ID as a command line argument. You should replace {Plan ID} with the ID you found using cbb – l command.

C:\Program Files\CloudBerryLab\CloudBerry Online Backup>“CloudBerry Online Backup Service.exe” {Plan ID}

Windows Task Scheduler

To create a Windows Task go to Control Panel | Scheduled Tasks and click Add Scheduled Task. Copy the command above with the plan ID into the Run field.

image007

Now you can take advantage of all advanced scheduling options available for Windows Task:

image009

Conclusion

Even though CloudBerry Backup doesn’t provide very flexible scheduling options through CloudBerry Backup console you can always use command line interface and Windows Task Scheduler to make your schedule run according to your needs.

CloudBerry Backup command line interface is capable of doing much more than simply listing and scheduling plans. You can create plans, configure various settings, run backup and restore operations. To learn more about it please refer to the online documentation.

CloudBerry Backup is a Windows program that leverages Amazon S3 storage. You can download it at http://cloudberrydrive.com/ . It comes with onetime fee of $29.99 (US) per copy.

Like our products? Please help us spread the word about them. Learn here how to do it.

5 comments:

Richard G. said...

Why don't you just put this as a feature of the program? It'a the only thing stopping me from buying. The hack is not an acceptable solution.

andy said...

this is not the hack. This is exactly what we designed the command line interface for - to give users more flexibility to use the product. Anyways, thank you for the feedback. We are planning on adding more granular scheduling options in the future release.

Andy

Anonymous said...

Thank you. I look forward to the more granular scheduling options (I need hourly backups).
On a side note, in version 1.6 the executable is called "CBBackupPlan.exe" instead of “CloudBerry Online Backup Service.exe”

andy said...

Hey,

Just download version 1.7 from our website. It comes with 1 hour scheduling option



Thanks
Andy

Mark Chaffee said...

This is great. Idea... If you only backup once a day but let's say you just dumped 300 very important pictures to your server and you want to back them up immediately, just put a batch file on your Desktop to run CBB this way