Reduce storage footprint when using GPG encryption
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
-
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)
- Linguagem predominante
- Go
- Estrelas
- 4.1k
- Forks
- 157
- Merge médio
- 4h 35min
- PRs com merge (30d)
- 15
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de offen/docker-volume-backup
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
offen/docker-volume-backup#910 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Backup aborts when a file disappears during archiving (ENOENT from os.Lstat in writeTarball)Talvez já em andamento @ciltocruz assumiu há 2 dias. Abertaenhancement pr welcome
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
offen/docker-volume-backup#908 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
offen/docker-volume-backup#879 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
Migrate away from `minio-go`Abertamaintenance pr welcome
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
offen/docker-volume-backup#869 ·
Mantenedores costumam responder em até 1 dia
-
documentation pr welcome
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
offen/docker-volume-backup#796 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de offen/docker-volume-backup
Issues semelhantes
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
area/ui-schema good first issue type/bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 4 dias
-
A vessel you are not flying should draw dim grey, orbit and arrow (ADR 0041), not in its own colourAbertaready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
jasonfen/terminal-space-program#1020 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
router-for-me/CLIProxyAPI#8573 ·
Mantenedores costumam responder em até 9 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
sipeed/picoclaw#3477 · 1 comentário ·
Mantenedores costumam responder em até 1 dia