Skip to content

Google Drive backend for remote storage - #2

Open
sergei-maertens wants to merge 10 commits into
developfrom
feature/NEXT-1006-drive-offsite
Open

Google Drive backend for remote storage#2
sergei-maertens wants to merge 10 commits into
developfrom
feature/NEXT-1006-drive-offsite

Conversation

@sergei-maertens

@sergei-maertens sergei-maertens commented Jul 10, 2018

Copy link
Copy Markdown
Contributor
  • Get service accounts working
  • Make backends pluggable/configurable via config file (possibilty for S3, Azure, rsync... as backends)
    • Backend specific config
    • Optional dependencies
  • Figure out if a backup was transferred already or not
  • Upload backups to Drive
  • Backup rotation (too dangerous for now)
  • (Override) flags/options: not MVP
    • Overwrite backup
    • Specify (single) backup to transfer
  • Pipe upload after backup creation (= no separate cronjob needed)

@sergei-maertens sergei-maertens added the enhancement New feature or request label Jul 10, 2018

@Bonemind Bonemind left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Seems to break CI, needs fixing :)

@sergei-maertens
sergei-maertens force-pushed the feature/NEXT-1006-drive-offsite branch from e898ccb to 1a14e26 Compare July 13, 2018 15:22
@codecov-io

codecov-io commented Jul 13, 2018

Copy link
Copy Markdown

Codecov Report

Merging #2 into develop will increase coverage by 1.81%.
The diff coverage is 91.35%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2      +/-   ##
========================================
+ Coverage    89.18%   91%   +1.81%     
========================================
  Files            5    13       +8     
  Lines          379   600     +221     
  Branches        49    77      +28     
========================================
+ Hits           338   546     +208     
- Misses          29    38       +9     
- Partials        12    16       +4
Impacted Files Coverage Δ
ctrl_z/transfer/archive.py 100% <100%> (ø)
ctrl_z/transfer/__init__.py 100% <100%> (ø)
ctrl_z/utils.py 100% <100%> (ø)
ctrl_z/constants.py 100% <100%> (ø)
ctrl_z/backup.py 88.16% <100%> (ø) ⬆️
ctrl_z/retention.py 100% <100%> (ø) ⬆️
ctrl_z/transfer/backends/__init__.py 100% <100%> (ø)
ctrl_z/transfer/transfer.py 100% <100%> (ø)
ctrl_z/config.py 91.66% <66.66%> (ø) ⬆️
ctrl_z/transfer/backends/base.py 83.33% <83.33%> (ø)
... and 11 more

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 05983bc...ef95c48. Read the comment docs.

@sergei-maertens
sergei-maertens dismissed Bonemind’s stale review July 17, 2018 14:57

Travis build fixed but needs tests for new feature(s) ;)

@sergei-maertens
sergei-maertens force-pushed the feature/NEXT-1006-drive-offsite branch 5 times, most recently from b89fec5 to eeb9085 Compare July 20, 2018 12:57
@sergei-maertens
sergei-maertens force-pushed the feature/NEXT-1006-drive-offsite branch from eeb9085 to 54a3203 Compare July 20, 2018 13:00
@sergei-maertens
sergei-maertens force-pushed the feature/NEXT-1006-drive-offsite branch from 66c89ea to bb8ce0c Compare July 20, 2018 14:33
@sergei-maertens

Copy link
Copy Markdown
Contributor Author

The whole integration with team drives is still a bit unclear, but we'll work it out in the coming weeks.

@sergei-maertens sergei-maertens changed the title WIP - Google Drive backend for remote storage Google Drive backend for remote storage Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants