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

skip backing up empty backups to restic #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

siddarthkay
Copy link

@siddarthkay siddarthkay commented Jan 1, 2025

Summary

  • fix few typos
  • add a script which checks backup directory to find files larger than a defined threshold.
  • default threshold set to 1MB

fixes: #2

status: Have to apply these changes to

  • infra-hq
  • infra-ci
  • infra-office
  • infra-bi
  • infra-sites

@siddarthkay siddarthkay self-assigned this Jan 1, 2025
@siddarthkay siddarthkay requested a review from a team January 1, 2025 12:24
templates/backup-check-script.sh.j2 Outdated Show resolved Hide resolved
defaults/main.yml Outdated Show resolved Hide resolved
Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail backup when the size is zero bytes
3 participants