Jump to: navigation, search

Trove/scheduled-tasks

< Trove
Revision as of 16:22, 13 August 2013 by Cp16net (talk | contribs) (Automated/Scheduled Backups Design)
  • Created: 13 Aug 2013
  • Contributors: Craig Vyvial (cp16net)


Automated/Scheduled Backups Design

Overview

The goal of this blueprint is to implement capabilities in Trove to support automated/scheduled backups. This will be supported in the Trove API as well as the guest agent to use the existing snapshot-design in an automated way. The automated backups shall allow a user to restore or clone to a new instance at a point in time.

There are many different concerns when attempting to automate the backup of instances in a deployment, i.e. Stagger Backups, Time Windows, and others. In the design of this automated system each of these concerns should be capable of being addressed. This shall lead to a pluggable or configurable interface for allowing a deployer to chose what type of strategy they would like to use without a code change.

In order for the strategy(s) of an automated backup to be handled in a pluggable way, it will require a trove scheduler that can determine the time when the backup must occur with simple or complex logic. The scheduler shall send a message to the guest agent of when to run the automated backup so that it does not require messages being sent at each interval of when the backup should run.

Design Goals

The following are the design goals:

  • Pluggable interface to determine the type of strategy(s) to support. (Stagger Backups, Time Windows, and others)
    • Manage network bandwidth and connections from backups
  • Database support for the schedule set and listing of the backups
    • Maintenance window of when to run scheduled tasks like backups