Deployment Manual / Version 2207
Table Of ContentsCreate config.
cat << EOF > capclient.properties cap.client.server.ior.url=http://<host>:<port>/ior EOF cat <<EOF > resetcaefeeder.properties jdbc.driver=com.mysql.cj.jdbc.Driver jdbc.url=jdbc:mysql://<host>:3306/cm_mcaefeeder jdbc.user=cm_mcaefeeder jdbc.password=cm_mcaefeeder EOF cat <<EOF > sql.properties sql.store.driver=com.mysql.cj.jdbc.Driver sql.store.url=jdbc:mysql://localhost:3306/cm_management sql.store.user=cm_management sql.store.password=cm_management EOF
Export content to your host.
docker run --rm \ --entrypoint /coremedia/tools/bin/cm \ --volume \ $PWD/capclient.properties:\ /coremedia/tools/properties/corem/capclient.properties \ --volume \ $PWD/export:/export \ coremedia/management-tools \ serverexport -u admin -p admin \ -r --basedir /export /
Import content to your host.
docker run --rm \ --entrypoint /coremedia/tools/bin/cm \ --volume \ $PWD/capclient.properties:\ /coremedia/tools/properties/corem/capclient.properties \ --volume \ $PWD/import:/import \ coremedia/management-tools \ serverimport -u admin -p admin \ -r /import
Reset the cae-feeder-preview.
docker run --rm \ --entrypoint /coremedia/tools/bin/cm \ --volume \ $PWD/resetcaefeeder.properties:\ /coremedia/tools/properties/corem/resetcaefeeder.properties \ coremedia/management-tools \ resetcaefeeder reset
Unlock the content-management-server.
docker run --rm \ --entrypoint /coremedia/tools/bin/cm \ --volume \ $PWD/sql.properties:\ /coremedia/tools/properties/corem/sql.properties \ coremedia/management-tools \ unlockcontentserver