Skip to content

Instantly share code, notes, and snippets.

@dferrandizmont
Last active January 7, 2019 13:11
Show Gist options
  • Save dferrandizmont/b1e66cd7f48fe9180b091be9c23fb515 to your computer and use it in GitHub Desktop.
Save dferrandizmont/b1e66cd7f48fe9180b091be9c23fb515 to your computer and use it in GitHub Desktop.
[Scripts / Text / Anotacions Adrià] #Other

ENTRAR DENTRO DEL CONTENEDOR

docker exec -it confident_mccarthy bash

REALIZAR COPIA DE SEGURIDAD

mysqldump --user root --password=Set-ting88 lfportal > liferay_2018_07_03.sql

RESTAURAR COPIA DE SEGURIDAD

mysql -u root -p produccio < produccio_2018_07_03.sql

COPIA DE SEGURIDAD ENTRE SERVIDOR Y LOCAL

scp [email protected]:/root/dumpProduccio/liferay_2018_07_03.sql ./liferay_2018_07_03.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment