[one-users] Images backup

Carlos Martín Sánchez cmartin at opennebula.org
Mon Oct 13 06:06:33 PDT 2014


Hi,

On Thu, Oct 9, 2014 at 11:35 AM, Bruno Grandjean <bruno.grandjean at mife90.org
> wrote:

>  Hi Carlos
>
> Thanks a lot for replying to me so quickly
>
> In fact I would like to cron the backup with a simple script:
>
> # create hot snap from the running VM
> $ onevm snapshot-create 68
>
> My initial image is already persistent
>
> But how can I manage and especially delete the succesive snapshots?
>
> For instance I would like to remove the snapshots older than 1 week
>
> Is that possible to do that?
>
> thanks in advance,
>
> Bruno
>

Each snapshot has a timestamp, so it's easy to find them in your cron
script with xpath.

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmartin at opennebula.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141013/cd451be7/attachment.htm>


More information about the Users mailing list