Reduce storage footprint when using GPG encryption
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read the backup command implementation and its tests to find where the tar archive and GPG-encrypted file are written under /tmp. The issue suggests piping tar output directly to GPG; first check how those commands are assembled and tested. Done means GPG backups avoid storing both full-sized files while existing backup behavior remains covered by tests.
索引モデルが issue の本文から書いたものです。
説明
-
I'm submitting a ...
- bug report
- feature request
- support request
-
What is the current behavior?
When using GPG_PASSPHRASE this tool will create two files in the /tmp directory:
- The
backup-*.tar.gzfile - An decrypted
backup-*.tar.gz.gpg
- If the current behavior is a bug, please provide the configuration and steps to reproduce and if possible a minimal demo of the problem.
It's not a bug, but it will lead to a high storage usage. This is problematic on restricted servers for example, where storage space is expensive.
Example: On one of my servers I've got 90 GiB storage. With the current implementation the server application itself must not exceed 30 GiB or the server would encounter an out of space error when executing the backup.
- What is the expected behavior?
Not expected but an idea: When using GPG_PASSPHRASE the result of the tar command could (probably) directly be piped to gpg. This way only the *.gpg file would be saved to the storage.
-
What is the motivation / use case for changing the behavior?
-
Please tell us about your environment:
- Image version: v2.15.2
- Docker version:
- docker-compose version:
-
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
- 主要言語
- Go
- スター
- 4.1k
- フォーク
- 157
- 平均マージ
- 4時間 35分
- マージ済み PR(30日)
- 15
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
offen/docker-volume-backup のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
offen/docker-volume-backup#910 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Backup aborts when a file disappears during archiving (ENOENT from os.Lstat in writeTarball)対応中かも @ciltocruz が 2 日前に担当しました。 オープンenhancement pr welcome
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
offen/docker-volume-backup#908 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
offen/docker-volume-backup#879 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
maintenance pr welcome
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
offen/docker-volume-backup#869 ·
メンテナーはふだん 1 日以内に返信
-
documentation pr welcome
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
offen/docker-volume-backup#796 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
offen/docker-volume-backup の issue をすべて見る
似ている issue
-
area/ui-schema good first issue type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
router-for-me/CLIProxyAPI#8573 ·
メンテナーはふだん 9 日以内に返信
-
bug: minute-granularity sync timestamp makes e2e tests asserting "Already in sync" fail sporadicallyオープンbug package:cmd priority:3-low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
docToolchain/Bausteinsicht#761 ·
メンテナーはふだん 1 日以内に返信
-
Flaky test: kb TestUnknownLabelValuesAreFoldedNotExported fails when the start epoch contains 799オープンarea/knowledge kind/bug priority/p1 status/accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openagentix/openagentix#253 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
quii/learn-go-with-tests#934 · コメント 1 件 ·