Giter Site home page Giter Site logo

Comments (3)

billimek avatar billimek commented on June 8, 2024

Learned a couple of things about this:

  1. It doesn't seem necessary to create both a velero schedule and velero backup. By creating a schedule, a backup is automatically created.
  2. Attempting to leverage multiple velero backups each also doing a restic backup of a volume results in problems:
    • It doesn't appear to be possible to run multiple different backups targeting the same restic repository. Velero will throw errors stating that something else is already using the restic repo
    • It isn't possible to designate multiple different velero restic repos per namespace. This is a hard-coded thing
  3. Using a single velero backup to handle multiple deployment restic backups results in a strange state where the single restic repo has the multiple workloads all backed-up but with different 'snapshot' timestamps

from k8s-gitops.

echel0n avatar echel0n commented on June 8, 2024

I believe #2 is resolved in their beta version right now, seems it cleans up the restic repo locks.

I my self am leaning towards moving away from app-centric backups and going for an all-in-one cluster backup with restic snaps annotated, fairly easy to just specify --include-namespaces when performing a restore.

from k8s-gitops.

billimek avatar billimek commented on June 8, 2024

Not needed as I'll use a single generic velero backup (defined as https://github.com/billimek/k8s-gitops/blob/master/storage/velero/velero.yaml#L26-L30)

from k8s-gitops.

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.