Add Backup/Restore support for Couchbase

Bug #1345956 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Gauvain Pocentek

Bug Description

https://review.openstack.org/86731

Dear documentation bug triager. This bug was created here because we did not know how to map the project name "openstack/trove" to a launchpad project name. This indicates that the notify_impact config needs tweaks. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

commit 61935d35128e7b19e68778b46aa252a4cd8fe6e2
Author: Michael Yu <email address hidden>
Date: Tue May 6 14:16:05 2014 -0700

    Add Backup/Restore support for Couchbase

    Backup strategy:
    - Save bucket metadata config (as json file) to /tmp/backups
    - This is needed on restore to create the destination buckets
    - Handles root enabled case by also saving /etc/couchbase/secret_key to /tmp/backups
    - Use cbbackup to do the backup
    - /tmp/backups will be zipped up, encrypted, and sent to Swift

    Restore strategy:
    - If /tmp/backups/secret_key exists, set root password
    - Iterate through bucket metadata config (json file) and use Couchbase
      REST API to create each bucket
    - Wait until bucket finishes creating
    - Use cbrestore (which requires destination buckets to be manually
      created first) to do the restore
    - cbrestore can only restore one bucket at a time

    DocImpact
    backup_namespace and restore_namespace were in the default conf group, now they are per datastore

    Change-Id: Iaf4370dcc978df68e7d01c6f63795eaf50aac89d
    Implements: blueprint backups-single-instance-couchbase

tags: added: config-reference
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → High
milestone: none → juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/115256

Changed in openstack-manuals:
assignee: nobody → Gauvain Pocentek (gpocentek)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/115256
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=8b2016b5d035b3475fe197b2132a8e1e8abff350
Submitter: Jenkins
Branch: master

commit 8b2016b5d035b3475fe197b2132a8e1e8abff350
Author: Gauvain Pocentek <email address hidden>
Date: Tue Aug 19 11:22:22 2014 +0200

    Update the config reference tables

    Include the new tables in the documentation.

    Fix the cinder-prophetstor_dpl.xml filename and the xiv category.

    Manually fix those files for niceness test:
    - glance-logging.xml (lines 34, 38), fixed in oslo-incubator
    - trove-logging.xml (lines 26, 30), fixed in oslo-incubator
    - neutron-openvswitch_agent.xml (line 45), to be fixed in neutron

    Closes-Bug: #1340858
    Closes-Bug: #1344231
    Closes-Bug: #1345956
    Closes-Bug: #1346711
    Closes-Bug: #1347978
    Partial-Bug: #1348329
    Closes-Bug: #1352074
    Partial-Bug: #1353417
    Closes-Bug: #1354622
    Closes-Bug: #1339754
    Closes-Bug: #1358598
    Closes-Bug: #1358259
    Closes-Bug: #1357865
    Partial-Bug: #1357457
    Closes-Bug: #1357421
    Change-Id: Id2da7d7762ca954bd552dbf89a9ff28b144efb68

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.