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

feat: support full backup #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChanYiLin
Copy link
Contributor

@ChanYiLin ChanYiLin commented Mar 19, 2024

ref: longhorn/longhorn#7070

  • Add BackupCount in BackupVolume, so we can calculate the interval to achieve periodically full backup
  • Add NewlyUploadedDataSize and ReUploadedDataSize to each Backup. So user can know the data transfer size for each Backup to trace the cost.
  • Add Parameters to the Backup Config.
    • If the backup has the parameter backup-mode: full, it will pretend there is no last backup, and backup all the blocks of the current volume.

@ChanYiLin ChanYiLin self-assigned this Mar 19, 2024
@ChanYiLin ChanYiLin marked this pull request as draft March 19, 2024 09:34
@ChanYiLin ChanYiLin force-pushed the LH7070_support_full_backup branch 4 times, most recently from ab6fa5e to 33878b2 Compare March 26, 2024 06:23
@ChanYiLin ChanYiLin marked this pull request as ready for review March 26, 2024 06:23
@ChanYiLin ChanYiLin force-pushed the LH7070_support_full_backup branch 6 times, most recently from cefced1 to 0f58353 Compare April 2, 2024 08:17
@ChanYiLin ChanYiLin marked this pull request as draft April 2, 2024 08:28
@ChanYiLin
Copy link
Contributor Author

Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 18.24%. Comparing base (3bce6e6) to head (251a4c2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #166   +/-   ##
=======================================
  Coverage   18.24%   18.24%           
=======================================
  Files           3        3           
  Lines         433      433           
=======================================
  Hits           79       79           
  Misses        347      347           
  Partials        7        7           
Flag Coverage Δ
unittests 18.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ref: longhorn/longhorn 7070

Signed-off-by: Jack Lin <jack.lin@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant