nginx php perf twiks

This commit is contained in:
2019-11-13 17:14:07 +01:00
parent 1238177d1d
commit 7c2ca44660
8 changed files with 41 additions and 6 deletions
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
DATE=`date '+%Y-%m-%d %H:%M:%S'`
#SCRIPT_D=dirname $0
#export $(cat ${SCRIPT_D}/../.env | grep -v ^# | xargs)
sudo docker exec edlpd8_mysql_1 sh -c 'exec mysqldump -uroot -p"$MYSQL_ROOT_PASSWORD" edlp_d8' > "./edlp_d8-${DATE}.sql"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
rsync --delete -ruv CT-edlp-deb9:www/encyclopediedelaparole.org/public_html/sites/default/files/ ./public_html/sites/default/files/ --exclude=js/* --exclude=php/* --exclude=styles/* --exclude=css/*