1Caddy(8) Caddy(8)
2
3
4
6 caddy-storage - Commands for working with Caddy's storage (EXPERIMEN‐
7 TAL)
8
9
10
12 caddy storage [flags]
13
14
15
17 Allows exporting and importing Caddy's storage contents. The two com‐
18 mands can be combined in a pipeline to transfer directly from one stor‐
19 age to another:
20
21
22 $ caddy storage export --config Caddyfile.old --output - | > caddy
23 storage import --config Caddyfile.new --input -
24
25
26 The - argument refers to stdout and stdin, respectively.
27
28
29 NOTE: When importing to or exporting from file_system storage (the de‐
30 fault), the command should be run as the user that owns the associated
31 root path.
32
33
34 EXPERIMENTAL: May be changed or removed.
35
36
37
39 -h, --help[=false] help for storage
40
41
42
44 caddy(8), caddy-storage-export(8), caddy-storage-import(8)
45
46
47
49 30-Oct-2023 Auto generated by spf13/cobra
50
51
52
53Auto generated by spf13/cobra Oct 2023 Caddy(8)