public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Export an image contained in ceph store
@ 2021-03-11 14:20 Gregor Burck
  2021-03-11 14:59 ` Gregor Burck
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gregor Burck @ 2021-03-11 14:20 UTC (permalink / raw)
  To: pve-user

Hi,

we want to export an image of an VM wich is contained in an ceph store  
to an external device.

How could I manage this? Where I could 'find' the image?

I want to copy it to an USB device.

It is possible to copy an specyfy Snapshot?

Thank you for replay.

Bye

Gregor




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Export an image contained in ceph store
  2021-03-11 14:20 [PVE-User] Export an image contained in ceph store Gregor Burck
@ 2021-03-11 14:59 ` Gregor Burck
  2021-03-11 15:22   ` Stefan Reiter
  2021-03-11 15:21 ` Gregor Burck
  2021-03-11 16:06 ` Gregor Burck
  2 siblings, 1 reply; 5+ messages in thread
From: Gregor Burck @ 2021-03-11 14:59 UTC (permalink / raw)
  To: Proxmox VE user list

Hi,

I'm a little bit forward.

with 'rbd list cephpool' could I see the 'images', with rbd export  
there is the possybility to export it to a file.

But the syntax isn't clear to copy it to the local mounted USB disc.

Bye

Gregor




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Export an image contained in ceph store
  2021-03-11 14:20 [PVE-User] Export an image contained in ceph store Gregor Burck
  2021-03-11 14:59 ` Gregor Burck
@ 2021-03-11 15:21 ` Gregor Burck
  2021-03-11 16:06 ` Gregor Burck
  2 siblings, 0 replies; 5+ messages in thread
From: Gregor Burck @ 2021-03-11 15:21 UTC (permalink / raw)
  To: Proxmox VE user list

OK found it, not difficult:

rbd export cephpool/vm-xxx-disk-X export.img

Bye

Gregor




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Export an image contained in ceph store
  2021-03-11 14:59 ` Gregor Burck
@ 2021-03-11 15:22   ` Stefan Reiter
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Reiter @ 2021-03-11 15:22 UTC (permalink / raw)
  To: Proxmox VE user list, Gregor Burck

On 11/03/2021 15:59, Gregor Burck wrote:
> Hi,
> 
> I'm a little bit forward.
> 
> with 'rbd list cephpool' could I see the 'images', with rbd export there 
> is the possybility to export it to a file.
> 
> But the syntax isn't clear to copy it to the local mounted USB disc.

'rbd export' gives you the raw data, you can just pipe that into where 
you want it? E.g. 'rbd export -p cephpool export vm-XXX-disk-Y - > 
/mnt/usbdisk/file.raw'

Or if you want to overwrite your entire usb disk with it:
'rbd export -p cephpool export vm-XXX-disk-Y - > /dev/sdX' (make 
*really* sure you got the right device ;)

You should be able access snapshots with the '@' syntax, i.e. 
'vm-xxx-disk-Y@snapname'.

Hope that helps,

~ Stefan

> 
> Bye
> 
> Gregor
> 




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PVE-User] Export an image contained in ceph store
  2021-03-11 14:20 [PVE-User] Export an image contained in ceph store Gregor Burck
  2021-03-11 14:59 ` Gregor Burck
  2021-03-11 15:21 ` Gregor Burck
@ 2021-03-11 16:06 ` Gregor Burck
  2 siblings, 0 replies; 5+ messages in thread
From: Gregor Burck @ 2021-03-11 16:06 UTC (permalink / raw)
  To: Proxmox VE user list

The next question:

I export the vm-XX-disk-0 and all snapshots to the external disk:

vm-XXX-disk-0
vm-XXX-state-SNAP1
vm-XXX-state-SNAP2
vm-XXX-state-SNAP3

The images are raw image? How could I exports anvdmk from the diffrent  
snapshots?

Bye

Gregor




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-11 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 14:20 [PVE-User] Export an image contained in ceph store Gregor Burck
2021-03-11 14:59 ` Gregor Burck
2021-03-11 15:22   ` Stefan Reiter
2021-03-11 15:21 ` Gregor Burck
2021-03-11 16:06 ` Gregor Burck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal