Skip to content

prune/delete --checkpoint-interval=1800 and ctrl-c/SIGINT support#6913

Merged
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
ThomasWaldmann:prune-checkpointing-master
Jul 30, 2022
Merged

prune/delete --checkpoint-interval=1800 and ctrl-c/SIGINT support#6913
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
ThomasWaldmann:prune-checkpointing-master

Conversation

@ThomasWaldmann
Copy link
Member

fixes #6284

manifest, repo and cache are committed every checkpoint interval.

also, when ctrl-c is pressed, finish deleting the current archive, commit and then terminate.

 borgbackup#6284

manifest, repo and cache are committed every checkpoint interval.

also, when ctrl-c is pressed, finish deleting the current archive, commit and then terminate.
@ThomasWaldmann ThomasWaldmann force-pushed the prune-checkpointing-master branch from 0ffd479 to 0deb435 Compare July 30, 2022 15:24
@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2022

Codecov Report

Merging #6913 (0deb435) into master (762581a) will decrease coverage by 0.13%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master    #6913      +/-   ##
==========================================
- Coverage   82.46%   82.32%   -0.14%     
==========================================
  Files          65       65              
  Lines       11050    11083      +33     
  Branches     2233     2240       +7     
==========================================
+ Hits         9112     9124      +12     
- Misses       1426     1442      +16     
- Partials      512      517       +5     
Impacted Files Coverage Δ
src/borg/archiver/__init__.py 86.20% <40.00%> (-2.53%) ⬇️
src/borg/archiver/delete.py 71.91% <66.66%> (-2.17%) ⬇️
src/borg/archiver/prune.py 87.50% <73.33%> (-3.20%) ⬇️
src/borg/platform/base.py 79.38% <0.00%> (-1.53%) ⬇️
src/borg/repository.py 82.15% <0.00%> (-0.18%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 762581a...0deb435. Read the comment docs.

@ThomasWaldmann ThomasWaldmann merged commit c5a5946 into borgbackup:master Jul 30, 2022
@ThomasWaldmann ThomasWaldmann deleted the prune-checkpointing-master branch July 30, 2022 15:51
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.

Interrupted borg delete / prune

2 participants