Skip to content

masipcat/caddy-storage-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy Storage Migrator

Pipeline Coverage

This is a simple command line application to import/export storage data from Caddy v2 (or Certmagic).

Right now supports the following modules:

Build

First we need to build the command:

cd cmd/migrator
go build

Usage

Now we can import existing data with the following command:

./migrator import /path/to/existing/caddypath <module-name>

...or export the redis data to the filesystem:

./migrator export <module-name> ./any/folder

Optionally the command accepts the flag -config path/to/file.json. The JSON file should contain at least the storage configuration:

{
    "storage": {
        "..."
    }
}

About

Import/Export TLS data from filesystem to another storage and viceversa

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages