We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fb3703 commit 40740ceCopy full SHA for 40740ce
docker/openemr/flex/utilities/devtoolsLibrary.source
@@ -121,7 +121,7 @@ backupOpenemr() {
121
122
# parameter 1 is identifier
123
restoreOpenemr() (
124
- cd /snapshots
+ cd /snapshots || exit
125
tar -C /snapshots -xzf "${1}.tgz"
126
# need to empty the database before the restore database import
127
mariadb-dump --skip-ssl -u "${CUSTOM_ROOT_USER}" --password="${MYSQL_ROOT_PASS}" -h "${MYSQL_HOST}" -P "${CUSTOM_PORT}" --add-drop-table --no-data "${CUSTOM_DATABASE}" |
0 commit comments