This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ideal para tener sitios webs espejos pero separados en servidor, en theme wordpress y en usuarios (comentarios)