mysqlhotcopy

aqui pongo una pequeña tabla de comandos de mysqlhotcopy.

Mysqlhotcopy nos ayuda a copiar de manera eficiente la base de datos un poco mas rapido

se usa de esta manera mysqlhotcopy -u usuario -p password regexp.

Format Option File Description
–addtodest addtodest Do not rename target directory (if it exists); merely add files to it
–allowold allowold Do not abort if a target exists; rename it by adding an _old suffix
–checkpoint=db_name.tbl_name checkpoint Insert checkpoint entries
–chroot=path chroot Base directory of the chroot jail in which mysqld operates
–debug debug Write a debugging log
–dryrun dryrun Report actions without performing them
–flushlog flushlog Flush logs after all tables are locked
–help Display help message and exit
–host=host_name host Connect to the MySQL server on the given host
–keepold keepold Do not delete previous (renamed) target when done
–method method The method for copying files
–noindices noindices Do not include full index files in the backup
–old_server old_server Connect to server that does not support FLUSH TABLES tbl_list WITH READ LOCK
–password[=password] password The password to use when connecting to the server
–port=port_num port The TCP/IP port number to use for the connection
–quiet quiet Be silent except for errors
–regexp regexp Copy all databases with names that match the given regular expression
–resetmaster resetmaster Reset the binary log after locking all the tables
–resetslave resetslave Reset the master.info file after locking all the tables
–socket=path socket For connections to localhost
–tmpdir=path tmpdir The temporary directory
–user=user_name, user MySQL user name to use when connecting to server
Anuncios
Publicado en mysql

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: