[openstack-dev] [nova] Automate backup images

Édouard Thuleau thuleau at gmail.com
Wed Nov 7 08:40:09 UTC 2012


Hi Alex,

Yes I think your thoughts seem coincide with my needed.
My idea was to implement a simple solution to automate the backup images.
But your solution is more generic and complete.

Just few questions/thoughts:
- Why did you distinguish 2 bluebrints ? The schedule task mechanism could
be add to all of Compute API actions (boot, delete, pause, ...). And the
'snapshot' action is one of them.
- If schedule time isn't defines on an API request, the schedule time is
set to 'NOW'
- I saw a python library which can help to implement 'cronlike' functions

Regards,
Édouard.

On Wed, Oct 31, 2012 at 10:01 PM, Alex Meade <alex.meade at rackspace.com>wrote:

> Hey Édouard,
>
>
>
> My team has put together some ideas on scheduled backups as well.
>
>
>
> A generic cron service, here:
>
> http://wiki.openstack.org/scheduled-task-service
>
>
>
> and a more robust snapshot scheduling service, here:
>
> http://wiki.openstack.org/scheduled-images-service
>
>
>
> We want to know what everyone else needs out of this feature, these are
> just some solutions we have thought about.
>
>
>
> We need something more robust than simple periodic tasks since our cloud
> will be under heavy load. One example is in both proposals we have the
> snapshot time being determined by the system and not the user, this is
> important in a heavy load system since we do not want to handle a heavy
> load in bursts. However, allowing a user to specify time could always be an
> option of the deployer.
>
>
>
> -Alex
>
>
>
>
>
> -----Original Message-----
> From: "Édouard Thuleau" <edouard.thuleau at gmail.com>
> Sent: Wednesday, October 31, 2012 7:00am
> To: josh at jk0.org
> Cc: "OpenStack Development Mailing List" <
> openstack-dev at lists.openstack.org>
> Subject: [openstack-dev] [nova] Automate backup images
>
> Hi Josh,
> I aim to automate backup images of instance.
>  I saw that you implemented a backup solution to the OpenStack Compute
> API which uses the snapshot mechanism of OpenStack Nova. It adds backup
> command with parameters 'backup_type' and 'rotation'. This command permits
> to define two type of backup (daily and weekly) and the number of backup to
> keep around.
> The problem is this mechanism isn't periodically executed by OpenStack.
> The user must execute himself the backup command to update the backuped
> images.
>  I created, few weeks ago, a blueprint to define a simple way to automate
> this mechanism:
> https://blueprints.launchpad.net/nova/+spec/backup-schedule
> Could you send me some comments/feedback on this blueprint ?
> Regards,
> Édouard.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121107/737f5e55/attachment.html>


More information about the OpenStack-dev mailing list