Files
docker-volume-backup/docs/how-tos/print-configuration.md
Lennard 3d8960a351 Add "print-config" subcommand (#698)
* Add "show-config" subcommand

* Add integration tests

* Handle wrong additional args

* Support "BackupFilenameExpand" option

* Rename to print-config

* Remove config nil check as it will never be nil

* Rework print config to work with config.resolve()

* Use defer unset()

* Add warning about feature not being stable yet
2026-01-15 12:29:09 +01:00

684 B

title, layout, parent, nav_order
title layout parent nav_order
Show loaded configuration default How Tos 8

Print loaded configuration

You can print the configuration that docker-volume-backup has picked up without running a backup:

docker exec <container_ref> backup print-config

If configuration sourcing fails, the error is printed to stdout to aid debugging.

If you want to test a one-off value, pass it directly:

docker exec -e BACKUP_SOURCES=/backup -e NOTIFICATION_URLS=stdout:// <container_ref> backup print-config

{: .note } Output includes secrets exactly as loaded.

{: .warning } This feature is still in development and might change in future releases.