rbd export with export-format 2 exports all snapshots?
Hi, Say, source image has snapshot s1, s2 and s3. I expect "export" behaves the same as "deep cp", when specify a snapshot, with "--export-format 2", only the specified snapshot and all snapshots earlier than that will be exported. What I see is that, no matter which snapshot I specify, "export" with "--export-format 2" always exports the whole image with all snapshots. Is this expected? Could anyone help to clarify? Thanks! Tony
Tony, From what I recall having worked with snapshots a while ago, you would want export-diff to achieve a differential export. "export" will always go for a full image. -- Alex Gorbachev https://alextelescope.blogspot.com On Sun, Aug 27, 2023 at 8:03 PM Tony Liu <tonyliu0592@hotmail.com> wrote:
Hi,
Say, source image has snapshot s1, s2 and s3.
I expect "export" behaves the same as "deep cp", when specify a snapshot, with "--export-format 2", only the specified snapshot and all snapshots earlier than that will be exported.
What I see is that, no matter which snapshot I specify, "export" with "--export-format 2" always exports the whole image with all snapshots. Is this expected?
Could anyone help to clarify?
Thanks! Tony _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Thank you Alex for confirmation! Tony ________________________________________ From: Alex Gorbachev <ag@iss-integration.com> Sent: August 27, 2023 05:29 PM To: Tony Liu Cc: dev@ceph.io; ceph-users@ceph.io Subject: Re: [ceph-users] rbd export with export-format 2 exports all snapshots? Tony, From what I recall having worked with snapshots a while ago, you would want export-diff to achieve a differential export. "export" will always go for a full image. -- Alex Gorbachev https://alextelescope.blogspot.com On Sun, Aug 27, 2023 at 8:03 PM Tony Liu <tonyliu0592@hotmail.com<mailto:tonyliu0592@hotmail.com>> wrote: Hi, Say, source image has snapshot s1, s2 and s3. I expect "export" behaves the same as "deep cp", when specify a snapshot, with "--export-format 2", only the specified snapshot and all snapshots earlier than that will be exported. What I see is that, no matter which snapshot I specify, "export" with "--export-format 2" always exports the whole image with all snapshots. Is this expected? Could anyone help to clarify? Thanks! Tony _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>
participants (2)
-
Alex Gorbachev
-
Tony Liu