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

Add metadata for backups to prevent full backups to be deleted too early #42

Draft
wants to merge 3 commits into
base: 1.20.x
Choose a base branch
from

Conversation

MelanX
Copy link
Collaborator

@MelanX MelanX commented Nov 17, 2024

Adds a file "metadata.json" for new backups. This is important if partial backups are enabled. This will delete the partial backups before deleting the full backups.
There are still some tweaks needed. I didn't check if everything works with full backups. For setting backupType = "MODIFIED_SINCE_LAST", there should be some improvements, too. The merge command needs to be adjusted, too. Here is a better overview:

  • Check backupType = "FULL_BACKUPS"
  • Tweak for backupType = "MODIFIED_SINCE_LAST"
  • Implement in merge command
  • Implement checking for manually deleted files on startup

Closes #39

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.

1 participant