Caddy(8)

πŸ’– NAME πŸ’–

caddy-storage β€” the commands for messing with Caddy's storage, bestie ✨ (and yes, it's EXPERIMENTAL, we'll get to that)


🌸 SYNOPSIS 🌸

caddy storage  [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this is your little toolkit for exporting and importing the contents of Caddy's storage. And the truly iconic part? You can pipe the two commands together to move stuff straight from one storage to another, no middleman, no drama πŸ’…

$ caddy storage export --config Caddyfile.old --output - | > caddy
storage import --config Caddyfile.new --input -

That - argument is doing the absolute most, ngl β€” it means stdout for the first one and stdin for the second one, respectively. It's giving "the hyphen is the pipeline" 😌

NOTE: When you're importing to, or exporting from, file_system storage (which is the default, just so you know), you should run the command as the user that owns the associated root path. Like, actually. It's not a suggestion, bestie 🫢
EXPERIMENTAL: May be changed or removed. 😭 So don't build your whole personality around it.

✨ OPTIONS ✨

  • -h, --help[=false] β€” help for storage πŸŽ€ (it's the little guy that tells you about... itself)

πŸ‘‘ SEE ALSO πŸ‘‘


🌈 HISTORY 🌈

  • 1-Jan-0001 β€” Auto generated by spf13/cobra

And that's a wrap, bestie πŸ’œ This was Caddy(8) in the Auto generated by spf13/cobra edition, dated Jan 0001 β€” yeah, the date is a whole bit, we know πŸ’€ She's iconic, she's automated, she ate and left no crumbs ⭐

πŸ“¦ where this page comes from