Bug 1104934

Summary: [RFE][cinder]: Add differential backup support for existing backup API
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-cinderAssignee: Jon Bernard <jobernar>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: eharney, markmc, scohen, yeylon, yrabl
Target Milestone: Upstream M3Keywords: FutureFeature, OtherQA
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/cinder/+spec/incremental-backup
Whiteboard: upstream_milestone_kilo-3 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-cinder-2015.1.0-2.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:12:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1232766    
Bug Blocks: 1213672    

Description RHOS Integration 2014-06-05 04:09:53 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/incremental-backup.

Description:

Cinder backup API does not have support for incremental backup. As the size of the volume grows and the changes to volume between backups tend to be low, performing full backups on the volume may become resource intensive.  This proposal suggests following flags to existing backup api to support incremental backup functionality.

Enhance current backup api to include —incr option
cinder backup-create <volumeid> —incr <full backup container>

 —incr option specified for incremental backups. To keep the API implementation simple, we only support incremental from the last full backup. In order to keep the deltas manageable size, user can periodically take full backups and then incrementals. 

The other option is snapshot based backups. To support snapshot based backups, the backup api is changed as follows:

cinder backup-create <volumeid> —snapshot 
This cli takes a snapshot of the volume and performs the backup of the snapshot. The volume can remain online and in-use for the duration of the operation. At the end of the backup, the snapshot is deleted.

cinder backup-create <volumeid> —snapshot —incr <full backup container>
This cli takes a snapshot of the volume and uploads only the changes since last backup to swift. Again at the end of the backup, the snapshot will be deleted.

Specification URL (additional information):

None

Comment 1 Eric Harney 2014-09-04 14:40:17 UTC
Re-title based on what this effort is currently targeting to prevent confusion.

Comment 9 errata-xmlrpc 2015-08-05 13:12:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548