Reduce storage footprint when using GPG encryption
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
-
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)
- Vorherrschende Sprache
- Go
- Sterne
- 4.1k
- Forks
- 157
- Ø Merge
- 4 Std. 35 Min.
- Gemergte PRs (30 T.)
- 15
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus offen/docker-volume-backup
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
offen/docker-volume-backup#910 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Backup aborts when a file disappears during archiving (ENOENT from os.Lstat in writeTarball)Evtl. vergeben @ciltocruz hat das vor 2 Tagen übernommen. Offenenhancement pr welcome
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
offen/docker-volume-backup#908 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
offen/docker-volume-backup#879 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
maintenance pr welcome
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
offen/docker-volume-backup#869 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation pr welcome
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
offen/docker-volume-backup#796 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in offen/docker-volume-backup
Ähnliche Issues
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/ui-schema good first issue type/bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 4 Tagen
-
A vessel you are not flying should draw dim grey, orbit and arrow (ADR 0041), not in its own colourOffenready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
jasonfen/terminal-space-program#1020 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
router-for-me/CLIProxyAPI#8573 ·
Maintainer antworten meist innerhalb von 9 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
sipeed/picoclaw#3477 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag