public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Reiter <s.reiter@proxmox.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>,
	Gregor Burck <gregor@aeppelbroe.de>
Subject: Re: [PVE-User] Export an image contained in ceph store
Date: Thu, 11 Mar 2021 16:22:48 +0100	[thread overview]
Message-ID: <309374cc-7553-2b66-c979-c955ae4586be@proxmox.com> (raw)
In-Reply-To: <20210311155912.EGroupware.5L8qAOY25yVkUBpulxlCNhP@heim.aeppelbroe.de>

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
> 




  reply	other threads:[~2021-03-11 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 14:20 Gregor Burck
2021-03-11 14:59 ` Gregor Burck
2021-03-11 15:22   ` Stefan Reiter [this message]
2021-03-11 15:21 ` Gregor Burck
2021-03-11 16:06 ` Gregor Burck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=309374cc-7553-2b66-c979-c955ae4586be@proxmox.com \
    --to=s.reiter@proxmox.com \
    --cc=gregor@aeppelbroe.de \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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