Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# Se utilizo https://www.percona.com/doc/percona-toolkit/LATEST/pt-table-sync.html para sincronizar la tablas
# En el hosting destino ejecutar las lineas
# Sincronizar tabla wp_posts
pt-table-sync --execute h=host_source,D=database_source,u=username_source,p="pass_source",t=wp_posts h=127.0.0.1,D=database_end,u=user_end,p=password_end --function MD5
# Replicar lo mismo para wp_posts, wp_postmeta, wp_termmeta, wp_terms, wp_term_relationships, wp_term_taxonomy
@marcofbb
Copy link
Author

marcofbb commented Jul 5, 2020

Ideal para tener sitios webs espejos pero separados en servidor, en theme wordpress y en usuarios (comentarios)

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