Thank you Mart! Pipe is indeed easier.
I found this blog. Will give it a try.
https://machinenix.com/ceph/how-to-export-a-ceph-rbd-image-from-one-cluster-to-another-without-using-a-bridge-server

Tony
________________________________________
From: Mart van Santen <m...@greenhost.nl>
Sent: April 21, 2022 08:52 PM
To: Tony Liu
Cc: ceph-users@ceph.io; d...@ceph.io
Subject: Re: [ceph-users] the easiest way to copy image to another cluster

Hi Tony,

Have a look at rbd export and rbd import, they dump the image to a file or 
stdout. You can pipe the rbd export directly into an rbd import assuming you 
have a host which has access to both ceph clusters.

Hope this helps!

Mart

From mobile

> On Apr 22, 2022, at 11:42, Tony Liu <tonyliu0...@hotmail.com> wrote:
>
> Hi,
>
> I want to copy an image, which is not being used, to another cluster.
> rbd-mirror would do it, but rbd-mirror is designed to handle image
> which is being used/updated, to ensure the mirrored image is always
> consistent with the source. I wonder if there is any easier way to copy
> an image without worrying about the update/sync, like copy a snapshot
> or a backup image.
>
>
> Thanks!
> Tony
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to