Git Product home page Git Product logo

Comments (4)

Kidswiss avatar Kidswiss commented on September 26, 2024

Hi @mortega89

Thanks for testing out K8up!

That it spawns two jobs is expected. However that one of them corrupts the repository isn't!

There used to be an issue with restic, if two restic init commands were triggered at the same time and the bucket was empty, then it would corrupt the repository. Seems like that still occurs from time to time...

I just saw that the tutorial points to old CRDs as well. In step 6 could you do:

kubectl apply -f https://github.com/k8up-io/k8up/releases/download/v2.10.0/k8up-crd.yaml --server-side

Can you try the following before applying the backup.yaml?


kubectl port-forward svc/minio 9000:9000 &
export RESTIC_REPOSITORY=s3:http://localhost:9000/backups/
export RESTIC_PASSWORD=p@ssw0rd
export AWS_ACCESS_KEY_ID=minio
export AWS_SECRET_ACCESS_KEY=minio123
restic init

If this helps, I'll rename this issue to reflect the race condition.

from k8up.

mortega89 avatar mortega89 commented on September 26, 2024

hi @Kidswiss , It's seems that the updated CRDs solve the problem, I tried as you described and it worked!

Message: "backup_backup-test" has 2 succeeded, 0 failed, and 0 started jobs

thanks a lot for your support!

from k8up.

TheBigLee avatar TheBigLee commented on September 26, 2024

Fix for the tutorial: #971

from k8up.

Kidswiss avatar Kidswiss commented on September 26, 2024

As the docs are fixed and the tutorials is working again, I'm closing here.

from k8up.

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.