GithubHelp home page GithubHelp logo

Comments (5)

borgand avatar borgand commented on June 12, 2024

I'm seeing this myself also, both S3 and Local store options.
It used to work on my old setup, but stopped after moving to Dockerised setup, so perhaps there's something with containers that I'm missing?
Some state file or something?

I'm running it via

docker-compose run --rm backup /bin/bash -c '/usr/local/bundle/bin/backup perform -t my_model --config-file /backup/model.rb'

The backup container is running ruby-2.6

from backup.

Jinsung-L avatar Jinsung-L commented on June 12, 2024

I had a similar problem.
For me, it was because Backup's persistent information didn't match with the actual backup data in S3.

Here's how Backup's Cycler works

  1. When Backup's Cycler is used, small YAML files are stored in data_path.
  2. And it removes outdated backup data based on that information.

So if the outdated backup data is somehow missing in the persistent information it will never be deleted.

How to solve

You have to match the persistent information to the actual backup data.
I just deleted all backup data and the persistent information.

The location of the data_path can be configured in config.rb. The default is <root_path>/.data.
For S3 backups, it would be <root_path>/.data/<backup_name>/S3.yml.

from backup.

stale avatar stale commented on June 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from backup.

elthariel avatar elthariel commented on June 12, 2024

I don't have much time to dig into these kind of issues. You'll have to send a PR

from backup.

dlynam avatar dlynam commented on June 12, 2024

Are you using different storage ids (such as daily/weekly/monthly)?

If so, you need to specify the storage_id in the store_with method such as:

store_with S3, storage_id do |sftp| .... end

Another example here: http://backup.github.io/backup/v4/storages/

from backup.

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.