Skip to content

Commit

Permalink
Merge pull request #3 from NethServer/migration
Browse files Browse the repository at this point in the history
Add import module action to restore database NethServer/dev#6804
  • Loading branch information
stephdl authored Jan 2, 2024
2 parents 1b54e34 + bcd6318 commit b610cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions imageroot/actions/import-module/40restoreDB
4 changes: 2 additions & 2 deletions imageroot/actions/restore-module/40restoreDB
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mysql --version
# The script is sourced, override entrypoint args and exit:
set -- true
docker_temp_server_stop
exit 1
exit 0
EOS

# once we exit we remove initdb.d
Expand All @@ -36,6 +36,6 @@ podman run \
--env MARIADB_ROOT_PASSWORD=Nethesis,1234 \
--env MARIADB_DATABASE=sogo \
--env MARIADB_USER=sogo \
--env MARIADB_PASSWORD=sogo \
--env MARIADB_PASSWORD=Nethesis,1234 \
--replace --name=restore_db \
${MARIADB_IMAGE}

0 comments on commit b610cbf

Please sign in to comment.