volsync icon indicating copy to clipboard operation
volsync copied to clipboard

feat(restic): support for using an existing pvc as a repository

Open onedr0p opened this issue 1 year ago • 5 comments

Describe what this PR does

Support for using an existing pvc as a restic repository, opens up the ability to use NFS backed volumes (and others) to store the backup repository on instead of only using s3

Is there anything that requires special attention?

Related issues:

https://github.com/backube/volsync/issues/319

2 years later.....

Continuation of https://github.com/backube/volsync/pull/321

onedr0p avatar Oct 17 '24 15:10 onedr0p

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: onedr0p Once this PR has been reviewed and has the lgtm label, please assign johnstrunk for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Oct 17 '24 15:10 openshift-ci[bot]

Hi @onedr0p. Thanks for your PR.

I'm waiting for a backube member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

openshift-ci[bot] avatar Oct 17 '24 15:10 openshift-ci[bot]

Codecov Report

Attention: Patch coverage is 48.27586% with 15 lines in your changes missing coverage. Please review.

Project coverage is 66.2%. Comparing base (493d997) to head (1fdf146). Report is 369 commits behind head on main.

Files with missing lines Patch % Lines
controllers/mover/restic/mover.go 44.4% 13 Missing and 2 partials :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1427     +/-   ##
=======================================
- Coverage   67.5%   66.2%   -1.3%     
=======================================
  Files         57      57             
  Lines       5844    7497   +1653     
=======================================
+ Hits        3947    4967   +1020     
- Misses      1612    2243    +631     
- Partials     285     287      +2     
Files with missing lines Coverage Δ
controllers/mover/restic/builder.go 90.5% <100.0%> (-0.8%) :arrow_down:
controllers/mover/restic/mover.go 79.9% <44.4%> (-2.7%) :arrow_down:

... and 53 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Oct 17 '24 15:10 codecov[bot]

@JohnStrunk is this what you had in mind from our discussion from awhile ago in https://github.com/backube/volsync/pull/321?

onedr0p avatar Oct 21 '24 13:10 onedr0p

We haven't forgotten about this one... Things have been busy. We'll take a look when we get a chance.

JohnStrunk avatar Nov 05 '24 16:11 JohnStrunk

No worries, I am actually using a kyverno policy to mutate the job to add this support in the meantime.

onedr0p avatar Nov 05 '24 17:11 onedr0p

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 05 '25 05:01 github-actions[bot]

Not stale, @tesshuflower or @JohnStrunk any plans to review this soon or can you turn off the stale bot for this PR?

Let me know and I'll rebase my changes when you're ready.

onedr0p avatar Jan 05 '25 12:01 onedr0p

Maybe there's another way you want to handle volume mounts, like brought up in https://github.com/backube/volsync/issues/1424 ? That would be better as it gives more controls to the user for the volumes.

onedr0p avatar Jan 23 '25 16:01 onedr0p

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 25 '25 05:03 github-actions[bot]

I'm going to go ahead and close this issue before stalebot does. Over the last 6 months there doesn't seem to be any interests from the maintainers which is sad due to the amount of likes it's received.

onedr0p avatar Mar 25 '25 10:03 onedr0p