Reduce storage footprint when using GPG encryption
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
-
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)
- Lingua principale
- Go
- Stelle
- 4.1k
- Fork
- 157
- Merge medio
- 4h 35m
- PR unite (30g)
- 15
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di offen/docker-volume-backup
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
offen/docker-volume-backup#910 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Backup aborts when a file disappears during archiving (ENOENT from os.Lstat in writeTarball)Forse già presa @ciltocruz l’ha presa 2 giorni fa. Apertaenhancement pr welcome
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
offen/docker-volume-backup#908 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
offen/docker-volume-backup#879 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Migrate away from `minio-go`Apertamaintenance pr welcome
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
offen/docker-volume-backup#869 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation pr welcome
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
offen/docker-volume-backup#796 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di offen/docker-volume-backup
Issue simili
-
area/ui-schema good first issue type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
router-for-me/CLIProxyAPI#8573 ·
I maintainer di solito rispondono entro 9 giorni
-
bug: minute-granularity sync timestamp makes e2e tests asserting "Already in sync" fail sporadicallyApertabug package:cmd priority:3-low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
docToolchain/Bausteinsicht#761 ·
I maintainer di solito rispondono entro 1 giorno
-
Flaky test: kb TestUnknownLabelValuesAreFoldedNotExported fails when the start epoch contains 799Apertaarea/knowledge kind/bug priority/p1 status/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openagentix/openagentix#253 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
quii/learn-go-with-tests#934 · 1 commento ·