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

Feature - allow providing tag when creating backup #9

Open
nvtkaszpir opened this issue Sep 28, 2021 · 0 comments
Open

Feature - allow providing tag when creating backup #9

nvtkaszpir opened this issue Sep 28, 2021 · 0 comments

Comments

@nvtkaszpir
Copy link

nvtkaszpir commented Sep 28, 2021

Right now when you invoke backup then tag is taken from the current timestamp, which may depend on the moment the code was executed.

What would be more useful would be the option to allow providing custom tag (such as in restore). This would allow to use predictable tag names, for example I could set a backup with a daily timestamp, and not need to write extra logic to detect what tags are available on given location to create a restore tag.
If not provided, then fall back to current timestamp, which would make it backward compatible.

We assume that if user provides custom tag then we fail fast in case of trying to overwrite data if the tag already exists.

You can experiment with the docker image by:

docker pull quay.io/kaszpir/cain:latest
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

No branches or pull requests

1 participant