Comments (5)
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.
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
- When Backup's Cycler is used, small YAML files are stored in
data_path
. - 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.
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.
I don't have much time to dig into these kind of issues. You'll have to send a PR
from backup.
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)
- New release HOT 3
- Local storage rotation keeps trying to delete an old backup that doesn't exist anymore HOT 3
- OpenSSL encryptor: deprecated key derivation used HOT 4
- Fails to build under Ruby 2.4.0 (duplicate but with solution)
- Backup-ng has been forked! HOT 1
- `dogapi` dependency using old version of `json` gem, breaking install HOT 9
- Storage configuration for Minio (S3) HOT 3
- add variable date in file HOT 1
- Error installing atomic HOT 1
- Upgrade docs for v5 HOT 1
- Error dumping tablespaces HOT 4
- Logger::Logfile::Error: Log File at '/root/Backup/log/backup.log' is not writable HOT 1
- Support as Docker Container HOT 2
- Not working in Ruby 3.1 HOT 5
- toc.dat is not being packed in the postgres tarball HOT 1
- RAILS 7 cannot use backup version 4.x HOT 1
- Ruby 3.2.2 not working HOT 3
- gzip: stdin: invalid compressed data--format violated HOT 2
- Error when building native extensions - Ubuntu 22.04 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backup.