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

Allow default backup #367

Closed
tamalsaha opened this issue Mar 7, 2018 · 5 comments
Closed

Allow default backup #367

tamalsaha opened this issue Mar 7, 2018 · 5 comments

Comments

@tamalsaha
Copy link
Member

We could mark a Restic object as default. If a deployment does not have a specific Restic match, it will be use this default Restic to perform backup.

This will give user's default opt-in to backup ability. If they want to opt-out, they can pause their specific Restic or mark deployments will pause annotation.

@tamalsaha
Copy link
Member Author

From @arjunsbabu via slack,

for default restic there are some issues i guess:

  1. Deployments have different mount points for PV.So a single restic deployment cannot use for all workloads
  2. all deployments dont need backup..If custiemr ask for backup then only we need to implement it

@tamalsaha
Copy link
Member Author

tamalsaha commented Aug 20, 2018

  • One option will be to create RsticTemplate that can be filled in via annotations from the Deployment.

  • Non namespaced templates will allow backup for any new deployment using a label backup_required: true . Cluster administrator can create a library for ResticTemplates for various types of workloads.

@arjunsbabu
Copy link

arjunsbabu commented Sep 3, 2018

@tamalsaha if possible can you give an example template

@tamalsaha
Copy link
Member Author

@hossainemruz
Copy link
Contributor

Default backup is supported in v1beta1 design. It requires one BackupConfigurationTemplate that specifies template for Repository and BackupConfiguration crd and some annotations in workload that will be backed up.

v1beta1 design discussion: #648

Reference PRs: #647 #674 #675

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

No branches or pull requests

3 participants