Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis cleanup cleans 'redis_redis*' files while the files are saved like "redis_all_redis" so cleaning up in redis does not work #345

Open
MCP-LTS opened this issue May 12, 2024 · 0 comments
Labels

Comments

@MCP-LTS
Copy link

MCP-LTS commented May 12, 2024

Summary

in debug mode runs

+ run_as_user find /backup/ -type f -mmin +2 -iname 'redis_redis*' -exec rm -f '{}' ';'
+ sudo -Eu dbbackup find /backup/ -type f -mmin +2 -iname 'redis_redis*' -exec rm -f '{}' ';'

while the files from backup are saved like "redis_all_redis_20240512-132003.rdb.zst"

is there any workaround for that for example using DB_NAME or DB01_NAME=redis ? i tried it always saves redis_all_redis

Possible fixes

change the find line to clean the correct filenames redis_all_redis*

@MCP-LTS MCP-LTS added the bug label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant