<div dir="ltr">Thank you Masayuki, <div><br></div><div>Are there any API for ceph which I can use to get real usage from ceph directly related to incremental backup usage? Do I need to configure RGW service to obtain that level of information from ceph using API? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 10:58 PM Masayuki Igawa <<a href="mailto:masayuki.igawa@gmail.com">masayuki.igawa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Satish,<br>
<br>
> Whenever I take incremental backup it shows a similar size of original <br>
> volume. Technically It should be smaller. Question is does ceph support <br>
> incremental backup with cinder? <br>
<br>
IIUC, it would be expected behavior. According to the API Doc[1], <br>
"size" is "The size of the volume, in gibibytes (GiB)." <br>
So, it's not the actual size of the snapshot itself. <br>
<br>
What about the "object_count" of "openstack volume backup show" output?<br>
The incremental's one should be zero or less than the full backup at least?<br>
<br>
[1] <a href="https://docs.openstack.org/api-ref/block-storage/v3/?expanded=show-backup-detail-detail,list-backups-with-detail-detail#id428" rel="noreferrer" target="_blank">https://docs.openstack.org/api-ref/block-storage/v3/?expanded=show-backup-detail-detail,list-backups-with-detail-detail#id428</a><br>
<br>
-- Masayuki Igawa<br>
<br>
On Wed, May 17, 2023, at 03:51, Satish Patel wrote:<br>
> Folks,<br>
><br>
> I have ceph storage for my openstack and configure cinder-volume and <br>
> cinder-backup service for my disaster solution. I am trying to use the <br>
> cinder-backup incremental option to save storage space but somehow It <br>
> doesn't work the way it should work. <br>
><br>
> Whenever I take incremental backup it shows a similar size of original <br>
> volume. Technically It should be smaller. Question is does ceph support <br>
> incremental backup with cinder? <br>
><br>
> I am running a Yoga release. <br>
><br>
> $ openstack volume list<br>
> +--------------------------------------+------------+------------+------+-------------------------------------+<br>
> | ID | Name | Status | Size <br>
> | Attached to |<br>
> +--------------------------------------+------------+------------+------+-------------------------------------+<br>
> | 285a49a6-0e03-49e5-abf1-1c1efbfeb5f2 | spatel-vol | backing-up | 10 <br>
> | Attached to spatel-foo on /dev/sdc |<br>
> +--------------------------------------+------------+------------+------+-------------------------------------+<br>
><br>
> ### Create full backup <br>
> $ openstack volume backup create --name spatel-vol-backup spatel-vol --force<br>
> +-------+--------------------------------------+<br>
> | Field | Value |<br>
> +-------+--------------------------------------+<br>
> | id | 4351d9d3-85fa-4cd5-b21d-619b3385aefc |<br>
> | name | spatel-vol-backup |<br>
> +-------+--------------------------------------+<br>
><br>
> ### Create incremental <br>
> $ openstack volume backup create --name spatel-vol-backup-1 <br>
> --incremental --force spatel-vol<br>
> +-------+--------------------------------------+<br>
> | Field | Value |<br>
> +-------+--------------------------------------+<br>
> | id | 294b58af-771b-4a9f-bb7b-c37a4f84d678 |<br>
> | name | spatel-vol-backup-1 |<br>
> +-------+--------------------------------------+<br>
><br>
> $ openstack volume backup list<br>
> +--------------------------------------+---------------------+-------------+-----------+------+<br>
> | ID | Name | <br>
> Description | Status | Size |<br>
> +--------------------------------------+---------------------+-------------+-----------+------+<br>
> | 294b58af-771b-4a9f-bb7b-c37a4f84d678 | spatel-vol-backup-1 | None <br>
> | available | 10 |<br>
> | 4351d9d3-85fa-4cd5-b21d-619b3385aefc | spatel-vol-backup | None <br>
> | available | 10 |<br>
> +--------------------------------------+---------------------+-------------+-----------+------+<br>
> My incremental backup still shows 10G size which should be lower <br>
> compared to the first backup.<br>
<br>
</blockquote></div>