Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Export tar files, usually from a server #5

Merged
merged 11 commits into from
Nov 9, 2023
Merged

Export tar files, usually from a server #5

merged 11 commits into from
Nov 9, 2023

Conversation

richfitz
Copy link
Member

This PR adds support for converting volumes into tar files, tar files into volumes, and extracting server-held copies of volumes into tar files.

Once this is sorted we can, alongside some thinning, export point-in-time snapshots from a server. This would also be useful for more manual backup and recovery.

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8b3793c) 100.00% compared to head (6abaa4e) 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##              main        #5    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           28        30     +2     
  Lines         1810      2060   +250     
  Branches       211       237    +26     
==========================================
+ Hits          1810      2060   +250     
Files Coverage Δ
src/privateer2/cli.py 100.00% <100.00%> (ø)
src/privateer2/config.py 100.00% <100.00%> (ø)
src/privateer2/tar.py 100.00% <100.00%> (ø)
src/privateer2/util.py 100.00% <ø> (ø)
tests/test_cli.py 100.00% <100.00%> (ø)
tests/test_config.py 100.00% <100.00%> (ø)
tests/test_tar.py 100.00% <100.00%> (ø)
tests/test_util.py 100.00% <ø> (ø)

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

@richfitz richfitz marked this pull request as ready for review November 8, 2023 15:24
Copy link
Member

@r-ash r-ash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great

@richfitz richfitz merged commit de0d727 into main Nov 9, 2023
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants