Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. [14:37:23]: BEGIN EXECUTE REMOTE ACTION: {"appUniqueName":"7ddd96af-1112-4434-92a4-6c49bcebf08c","envAppid":"5d3c357be825f5f7665cf9002ef0a89e","action":"backup"}
  2. [14:37:25]: script: {"executeBackup":[{"cmd[proc]":"/usr/bin/lftp -u jelastic-ftp,47Yg83dFn8 -e \"set ftp:ssl-force true; mkdir jahia; mkdir jahia/${this}; quit\" 193.70.28.87\nwget --http-user=${MANAGER_USER} --http-password=${MANAGER_PASSWORD} -O - http://192.168.2.208/modules/tools/maintenance.jsp?fullReadOnlyMode=true\ntar -zcf data.tar.gz /data\nmysqldump --user=${DB_USER} --password=${DB_PASSWORD} -h mysqldb --single-transaction --quote-names --opt --databases --compress jahia > jahia.sql\nwget --http-user=${MANAGER_USER} --http-password=${MANAGER_PASSWORD} -O - http://192.168.2.208/modules/tools/maintenance.jsp?fullReadOnlyMode=false\n/usr/bin/lftp -u jelastic-ftp,47Yg83dFn8 -e \"set ftp:ssl-force true; cd /data/jahia/${this}; put data.tar.gz; put jahia.sql; quit\" 193.70.28.87"},{"cmd[es]":"/usr/bin/lftp -u jelastic-ftp,47Yg83dFn8 -e \"set ftp:ssl-force true; mkdir jahia; mkdir jahia/${this}; quit\" 193.70.28.87\nCT='Content-Type:application/json'\ncurl -H $CT -X PUT -d '{\"type\":\"fs\",\"settings\":{\"location\":\"all\"}}' http://192.168.2.167:9200/_snapshot/all\ncurl -H $CT -X DELETE http://192.168.2.167:9200/_snapshot/all/snapshot\ncurl -H $CT -X PUT http://192.168.2.167:9200/_snapshot/all/snapshot?wait_for_completion=true\ntar -zcf es.tar.gz /var/lib/elasticsearch/backup/*\n/usr/bin/lftp -u jelastic-ftp,47Yg83dFn8 -e \"set ftp:ssl-force true; cd /data/jahia/${this}; put es.tar.gz; quit\" 193.70.28.87"}],"body":"function f(v) { return (v < 10 ? '0':'') + v }\ndate = new Date(); d = date.getDate(); mo = date.getMonth() + 1; y = date.getFullYear()\nh = date.getHours(); mi = date.getMinutes(); s = date.getSeconds()\ndir = y + '-' + f(mo) + '-' + f(d) + 'T' + f(h) + ':' + f(mi) + ':' + f(s)\nreturn {result:0, onAfterReturn:{executeBackup:dir}}\n"}
  3. [14:37:26]: ERROR: action [get] not found!
  4. [14:37:26]: ERROR: [script] {"result":11019,"source":"marketplace","error":"action [get] not found!"}
  5. [14:37:26]: END EXECUTE REMOTE ACTION: {"result":11019,"action":"backup.script","source":"marketplace","error":"action [get] not found!"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement