[Openstack] nova backup

K K nnex at mail.ru
Fri Apr 22 06:22:30 UTC 2016


okay.
I tested cinder backup to 2nd ceph cluster. 
1. I created full backup
2. I created incremental backup

But on 2nd ceph cluster I see two full size backup (each 20G)
Do anybody know why?
rbd --cluster bak -p backups du
warning: fast-diff map is not enabled for volume-46a306ae-2454-4425-a6f7-96d7c02acc95.backup.c6a0f070-abc1-4e6f-93c7-c60ef1bcf3e3. operation may be slow.
warning: fast-diff map is not enabled for volume-46a306ae-2454-4425-a6f7-96d7c02acc95.backup.ec9a671f-9c12-4ce4-8772-3e2d74c62ca0. operation may be slow.
NAME PROVISIONED USED 
volume-46a306ae-2454-4425-a6f7-96d7c02acc95.backup.c6a0f070-abc1-4e6f-93c7-c60ef1bcf3e3 20480M 20480M 
volume-46a306ae-2454-4425-a6f7-96d7c02acc95.backup.ec9a671f-9c12-4ce4-8772-3e2d74c62ca0 20480M 20480M 
<TOTAL> 40960M 40960M
cinder backup-list
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+-----------+
| ID | Volume ID | Status | Name | Size | Object Count | Container |
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+-----------+
| c6a0f070-abc1-4e6f-93c7-c60ef1bcf3e3 | 46a306ae-2454-4425-a6f7-96d7c02acc95 | available | - | 20 | 0 | backups |
| ec9a671f-9c12-4ce4-8772-3e2d74c62ca0 | 46a306ae-2454-4425-a6f7-96d7c02acc95 | available | - | 20 | 0 | backups |
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+-----------+
cinder backup-show c6a0f070-abc1-4e6f-93c7-c60ef1bcf3e3
+-----------------------+--------------------------------------+
| Property | Value |
+-----------------------+--------------------------------------+
| availability_zone | nova |
| container | backups |
| created_at | 2016-04-21T11:57:34.000000 |
| data_timestamp | 2016-04-21T11:57:34.000000 |
| description | None |
| fail_reason | None |
| has_dependent_backups | True |
| id | c6a0f070-abc1-4e6f-93c7-c60ef1bcf3e3 |
| is_incremental | False |
| name | None |
| object_count | 0 |
| size | 20 |
| snapshot_id | None |
| status | available |
| updated_at | 2016-04-22T06:18:09.000000 |
| volume_id | 46a306ae-2454-4425-a6f7-96d7c02acc95 |
+-----------------------+--------------------------------------+

cinder backup-show ec9a671f-9c12-4ce4-8772-3e2d74c62ca0
+-----------------------+--------------------------------------+
| Property | Value |
+-----------------------+--------------------------------------+
| availability_zone | nova |
| container | backups |
| created_at | 2016-04-22T06:04:43.000000 |
| data_timestamp | 2016-04-22T06:04:43.000000 |
| description | None |
| fail_reason | None |
| has_dependent_backups | False |
| id | ec9a671f-9c12-4ce4-8772-3e2d74c62ca0 |
| is_incremental | True |
| name | None |
| object_count | 0 |
| size | 20 |
| snapshot_id | None |
| status | available |
| updated_at | 2016-04-22T06:18:09.000000 |
| volume_id | 46a306ae-2454-4425-a6f7-96d7c02acc95 |
+-----------------------+--------------------------------------+


On ceph backup cluster I see two images and each have 20G size. But 2nd backup have been incremental.


>Четверг, 21 апреля 2016, 17:41 +05:00 от Eugen Block <eblock at nde.ag>:
>
>Hi,
>I haven't used nova backup yet, I only tested cinder backup. But 
>obviously you launched that instance via boot-from-volume, so your 
>instance's image resides within a volume, and volumes are handled by 
>cinder. So these instances should be backed up via cinder.
>
>Eugen
>
>
>Zitat von K K < nnex at mail.ru >:
>
>> Hello.
>> When I try to create backup:
>> nova backup testdeb testdeb_bak daily 2
>> nova-api said:
>> ==> nova/nova-api.log <==
>> 2016-04-21 16:40:14.828 2814 INFO nova.compute.api 
>> [req-e89878e7-9d26-4e6e-8922-8aa9bba56b72 
>> 8d384cc45d0c467eb46ef3f980cf314d 3029462986ac400ca2c2c6ac4c9af5a7 - 
>> - -] [instance: a962f06b-052d-4df8-afbb-5d0e6581eb92] It's not 
>> supported to backup volume backed instance.
>> I have 2 ceph cluster: 1st for instances, 2nd for backup (connected 
>> via cinder-backup daemon).
>> But I can successfully create backup using cinder backup-create --force
>> why I can't make a backup via nova backup?
>>
>>
>> --
>> K K
>
>
>
>-- 
>Eugen Block                             voice   : +49-40-559 51 75
>NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
>Postfach 61 03 15
>D-22423 Hamburg                         e-mail  :  eblock at nde.ag
>
>         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>           Sitz und Registergericht: Hamburg, HRB 90934
>                   Vorstand: Jens-U. Mozdzen
>                    USt-IdNr. DE 814 013 983
>
>
>_______________________________________________
>Mailing list:  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>Post to     :  openstack at lists.openstack.org
>Unsubscribe :  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160422/b36f8e8c/attachment.html>


More information about the Openstack mailing list