How do you back up ejbca if you're using the Docker image? #31
-
Hello, Backing up EJBCA seems straightforward if you're not using Docker. But I am running EJBCA using the official Docker image. How do I perform backups if using Docker? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Using the quick start will use a H2 database built into WildFly. It is not suitable for production. For production use an external database, like a MariaDB container and connect to that (docs in dockerhub). Then do a nice backup of the MariaDB database. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm planning on setting up a MariaDB database. Is that the only thing I need to back up? I'd also like to back up whatever files are used to configure EJBCA. Thanks :) |
Beta Was this translation helpful? Give feedback.
-
The good thin is that all operational data is i the database. So by backing up the database you can disaster recover the CA system. Especially if using the container, when you can just start a new container pointing to the same database (you can also create a cluster this way). |
Beta Was this translation helpful? Give feedback.
Using the quick start will use a H2 database built into WildFly. It is not suitable for production. For production use an external database, like a MariaDB container and connect to that (docs in dockerhub). Then do a nice backup of the MariaDB database.
Cheers,
Tomas