Giter Club home page Giter Club logo

Comments (3)

cf-gitbot avatar cf-gitbot commented on August 27, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/169397639

The labels on this github issue will be updated when the story is started.

from bosh-backup-and-restore.

alamages avatar alamages commented on August 27, 2024

Hello @vanillacandy,

When a bucket is versioned, bbr assumes that all blobs have a version ID (else it won't be able to back them up). To answer your question, bbr script which backs up the S3 blobstore, can not identify null version ids.

There is a step you can do which should resolve your issue. When you convert a bucket from unversioned to versioned, as you mention, the existing/old blobs do not have version ids. To overcome this, you can copy each blob on-top of itself. That will force the blob metadata to bump, and obtain a version id. You can read about this in our docs here: https://docs.cloudfoundry.org/bbr/external-blobstores.html#-enable-versioning-on-your-s3-compatible-blobstore

The command to do this is (as shown in the docs as well):

aws s3 cp s3://BUCKET-NAME/ s3://BUCKET-NAME/ --recursive --metadata bump=true

Let us know if this resolves your issue :).

from bosh-backup-and-restore.

vanillacandy avatar vanillacandy commented on August 27, 2024

Thank you @alamages

from bosh-backup-and-restore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.