Caddy(8) Caddy(8)

# [NAME](#NAME)

caddy-storage - Commands for working with Caddy's storage (EXPERIMENTAL)

# [SYNOPSIS](#SYNOPSIS)

**caddy storage \[flags]**

# [DESCRIPTION](#DESCRIPTION)

Allows exporting and importing Caddy's storage contents. The two commands can be combined in a pipeline to transfer directly from one storage to another:

$ caddy storage export --config Caddyfile.old --output - | &gt; caddy storage import --config Caddyfile.new --input -

The - argument refers to stdout and stdin, respectively.

NOTE: When importing to or exporting from file\_system storage (the default), the command should be run as the user that owns the associated root path.

EXPERIMENTAL: May be changed or removed.

# [OPTIONS](#OPTIONS)

**-h**, **--help**\[=false] help for storage

# [SEE ALSO](#SEE_ALSO)

[**caddy(8)**](/man/enterprise-packages/caddy/caddy.8), [**caddy-storage-export(8)**](/man/enterprise-packages/caddy/caddy-storage-export.8), [**caddy-storage-import(8)**](/man/enterprise-packages/caddy/caddy-storage-import.8)

# [HISTORY](#HISTORY)

7-Oct-2026 Auto generated by spf13/cobra

Oct 2026 Auto generated by spf13/cobra

---

Document: caddy-storage(8) from caddy 2.11.7-r1 (Chainguard OS)
Source: https://github.com/caddyserver/caddy
