<div dir="ltr">Hi,<div><br></div><div>I am not sure, some body have tested this solution before, But still come from a background of backup, i strongly believe that for a Software to understand the difference between incremental and Full it needs to have a agent at the client side to do a Journalling based on backup objects, I do not see thai feature is there in Ceph</div><div><br></div><div>Regards</div><div>Adivya Singh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 2:16 PM Rajat Dhasmana <<a href="mailto:rdhasman@redhat.com">rdhasman@redhat.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"><div dir="ltr">Hi Satish,<div><br></div><div>Did you check the size of the actual backup file in ceph storage? It should be created in the <b>backups</b> pool[1].</div><div>Cinder shows the same size of incremental backup as a normal backup but file size should be different from</div><div>the size shown in cinder DB records. Also file size of incremental backup should not be the same as the file size of full backup.</div><div><br></div><div>[1] <a href="https://github.com/openstack/devstack/blob/34afa91fc9f830fc8e1fdc4d76e7aa6d4248eaaa/lib/cinder_backups/ceph#L22" target="_blank">https://github.com/openstack/devstack/blob/34afa91fc9f830fc8e1fdc4d76e7aa6d4248eaaa/lib/cinder_backups/ceph#L22</a></div><div><br></div><div>Thanks</div><div>Rajat Dhasmana</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 12:25 AM Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@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"><div dir="ltr">Folks,<br><div><br></div><div>I have ceph storage for my openstack and configure cinder-volume and cinder-backup service for my disaster solution. I am trying to use the cinder-backup incremental option to save storage space but somehow It doesn't work the way it should work. </div><div><br></div><div>Whenever I take incremental backup it shows a similar size of original volume. Technically It should be smaller. Question is does ceph support incremental backup with cinder? </div><div><br></div><div>I am running a Yoga release. </div><div><br></div><div><pre style="line-height:16.25px;margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(0,0,0);background-color:rgb(240,240,240)">$ openstack volume list
+--------------------------------------+------------+------------+------+-------------------------------------+
| ID                                   | Name       | Status     | Size | Attached to                         |
+--------------------------------------+------------+------------+------+-------------------------------------+
| 285a49a6-0e03-49e5-abf1-1c1efbfeb5f2 | spatel-vol | backing-up |   10 | Attached to spatel-foo on /dev/sdc  |
+--------------------------------------+------------+------------+------+-------------------------------------+

### Create full backup 
$ openstack volume backup create --name spatel-vol-backup spatel-vol --force
+-------+--------------------------------------+
| Field | Value                                |
+-------+--------------------------------------+
| id    | 4351d9d3-85fa-4cd5-b21d-619b3385aefc |
| name  | spatel-vol-backup                    |
+-------+--------------------------------------+

### Create incremental 
$ openstack volume backup create --name spatel-vol-backup-1 --incremental --force spatel-vol
+-------+--------------------------------------+
| Field | Value                                |
+-------+--------------------------------------+
| id    | 294b58af-771b-4a9f-bb7b-c37a4f84d678 |
| name  | spatel-vol-backup-1                  |
+-------+--------------------------------------+

$ openstack volume backup list
+--------------------------------------+---------------------+-------------+-----------+------+
| ID                                   | Name                | Description | Status    | Size |
+--------------------------------------+---------------------+-------------+-----------+------+
| 294b58af-771b-4a9f-bb7b-c37a4f84d678 | spatel-vol-backup-1 | None        | available |   10 |
| 4351d9d3-85fa-4cd5-b21d-619b3385aefc | spatel-vol-backup   | None        | available |   10 |
+--------------------------------------+---------------------+-------------+-----------+------+</pre><pre style="line-height:16.25px;margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(0,0,0);background-color:rgb(240,240,240)"><br></pre><pre style="line-height:16.25px;margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(0,0,0);background-color:rgb(240,240,240)">My incremental backup still shows 10G size which should be lower compared to the first backup. </pre><pre style="line-height:16.25px;margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(0,0,0);background-color:rgb(240,240,240)"><br></pre></div></div>
</blockquote></div>
</blockquote></div>