Hello,
Has anyone ever tried to run the "java -jar metabase.jar dump " command in a docker instance (or better yet in a docker instance running on an ec2 instance that was created by elastic beanstalk)?
I am currently running it inside of the running docker image (because docker has the matching java version as metabase) using the following command:
sudo docker exec docker_image_name java -jar /app/metabase.jar dump metabase_20190906
The output includes the following:
09-06 20:29:39 DEBUG plugins.classloader :: Using NEWLY CREATED classloader as shared context classloader: clojure.lang.DynamicClassLoader@173a6728
09-06 20:29:39 DEBUG plugins.classloader :: Setting current thread context classloader to shared classloader clojure.lang.DynamicClassLoader@173a6728…
09-06 20:29:40 INFO metabase.util :: Loading Metabase…
09-06 20:29:40 INFO metabase.util :: Maximum memory available to JVM: 483.4 MB
09-06 20:29:46 INFO util.encryption :: Saved credentials encryption is DISABLED for this Metabase instance.
For more information, see https://metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html
09-06 20:29:53 INFO metabase.driver :: Registered abstract driver :sql
Unrecognized command: dump
The final line says that “dump” is an unrecognized command. Am I pointing to the wrong metabase.jar file? Does the newest version of metabase no longer recognize the command? Can anyone help me with pinpointing my issue?
Thanks in advance.