Hello Docker Community,
I’m evaluating DocHker Desktop’s “Quick export” feature to preserve an existing PostgreSQL 18 data volume before attempting database recovery.
Environment:
-
Docker Desktop 4.95.0 (Windows / WSL 2)
-
Docker Engine 29.8.2, API 1.56
-
Named volume using the
localdriver -
PostgreSQL container currently stopped (
Exited 255) -
Volume remains attached to the stopped container
-
Intended destination: local NTFS file
My priority is to preserve the original volume without starting PostgreSQL, modifying its data or affecting unrelated Docker workloads.
I would appreciate clarification on four questions:
- Source identity and replacement risk
When Quick export is initiated, does Docker Desktop retain a reference to the selected existing volume, or does it resolve the volume again by name?
If that volume disappears or is replaced during the operation, could Quick export implicitly create or use a replacement volume?
Is there a documented existing-volume-only or atomic source-binding guarantee?
- Temporary resources
Does Quick export create temporary containers, mounts or volumes internally? If so, how are they handled if the export fails or is interrupted?
- Container lifecycle
If the container using the volume is already stopped, does Quick export leave it stopped?
Could exporting one volume stop, restart or otherwise affect unrelated containers?
- Export fidelity
Does Quick export preserve ownership, permissions, symbolic links and other filesystem metadata?
Does it preserve symlinks without following targets outside the selected volume?
Does it provide any integrity verification or consistency guarantees for an offline PostgreSQL filesystem capture?
I’m looking for documentation, implementation references or version-specific behavior rather than general backup advice.
No export has been performed. I am evaluating the safety of the operation before authorizing it.