Browse Source

adds timestamps to migration process

test
Jean-Christophe Vanhalle 2 years ago
parent
commit
297df423c7
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      migrate-db-paths.sh

+ 2
- 0
migrate-db-paths.sh View File

. "${PWD}/env_files/migrate-db.env" . "${PWD}/env_files/migrate-db.env"
set +a set +a


+date +%H-%M-%S
docker exec --user www-data "${PREFIX}-app" /bin/sh -c ' docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
wp plugin install wp-migrate-db && \ wp plugin install wp-migrate-db && \
wp plugin activate wp-migrate-db && \ wp plugin activate wp-migrate-db && \
--exclude-post-revisions \ --exclude-post-revisions \
--exclude-spam --exclude-spam
' '
+date +%H-%M-%S

Loading…
Cancel
Save