cinder - cannot delete backup

asked 2020-04-01 06:24:33 -0500

yavuzs gravatar image

Hi,

I am using Openstack Stein and Cinder 4.2.1 I followed this guide: http://server-world.info/en/note?os=CentOS_7&p=openstack_stein&f=1 (http://server-world.info/en/note?os=C...)

I can get full backups and incremental backups. But cinder only let me deleted last backup. Let's say this is the chain: full_backup_1 inc_backup_1_1 inc_backup_1_2 inc_backup_1_3 inc_backup_1_4 full_backup_2 inc_backup_2_1 inc_backup_2_2 inc_backup_2_3 ... I cannot delete inc_backup_1_4. Cinder says: "invalid backup incremental backups exists for this backup." But there is no and there couldn't be. Because after inc_backup_1_4 I got FULL backup. So the chain must be start over from full_backup_2. Because of this, I can only delete last backup. So I cannot have proper backup. After getting 1 month backups, delete all on start from beginning with no backup. I searched for this problem but there is no solution. Some guy said "I cannot reproduce this problem" at mail list. http://lists.openstack.org/pipermail/openstack/2018-August/046893.html (http://lists.openstack.org/pipermail/...) Please help me, I can reproduce any supply any information.

edit retag flag offensive close merge delete

Comments

I just tested that scenario on Train without any complication. Deleting previous backups works if there are newer full backups. Did you make sure that full_backup_2 is actually a full backup?

eblock gravatar imageeblock ( 2020-04-02 01:27:24 -0500 )edit

I could check it today, backup seems incremental but when I get backup I didn't specify --incremental flag. So it should be full. Did I miss something?

yavuzs gravatar imageyavuzs ( 2020-04-09 08:07:00 -0500 )edit