[one-users] Images backup

Bruno Grandjean bruno.grandjean at mife90.org
Thu Oct 9 02:35:28 PDT 2014


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

Le 09/10/2014 11:08, Carlos Martín Sánchez a écrit :
> Hi,
>
> On Wed, Oct 8, 2014 at 3:24 PM, Bruno Grandjean 
> <bruno.grandjean at mife90.org <mailto:bruno.grandjean at mife90.org>> wrote:
>
>     Hi
>
>     Thinking about an ONE DRP, I am wondering how can I backup my
>     images under OpenNebula 4.2.0.
>
>     I wish to copy my images to my bacula server but I do not know
>     where the images are located.
>
>
> Each image has a SOURCE attribute pointing to their location. You can 
> also use the STATE to avoid images in use [1].
>
> You can get this information with the oneimage show -x output, or the 
> ruby/java api.
>
> Regards
>
> [1] 
> http://docs.opennebula.org/4.8/integration/system_interfaces/api.html#schemas-for-image
> [2] http://docs.opennebula.org/4.8/integration/system_interfaces/ruby.html
> [3] http://docs.opennebula.org/4.8/integration/system_interfaces/java.html
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.opennebula.org/> | 
> cmartin at opennebula.org <mailto:cmartin at opennebula.org> | @OpenNebula 
> <http://twitter.com/opennebula>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141009/af091c74/attachment-0001.htm>


More information about the Users mailing list