state
Map persistent Docker state before planning backups
A mounted volume is only a location; recovery begins when every important state category has an independent copy and a tested restore path.
Name the state categories
Start with database data, user files, repository storage, attachments, certificates, and service configuration. Each workload has a different combination, so use a state map instead of assuming one volume contains everything important.
Separate rollback from recovery
A host snapshot can help undo a recent change. An independent destination serves a different job: recovering when the primary host or its account boundary is unavailable.
Restore a representative workload
Test enough state to prove that the application can use the restored database and files together. Record missing credentials, paths, and dependency order while the normal system is still available.