[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Mysql restaurar ficheros fisicos de un backup lvmsnapshot + rsync



El Tue, 02 Feb 2016 18:51:12 +0100, Maykel Franco escribió:

> Buenas, trato de restaurar una determinada BBDD de la que hice un
> backup. La forma de realizar el backup es usando la utilidad
> mylvmbackup, que básicamente lo que hace es bloquear las tablas a modo
> read only y posteriormente hacer el snapshots de /var/lib/mysql,
> desbloquear las tablas, hacer el backup con rsync y cuando acaba remover
> el snapshots.

(...)

> Pero recibo estos errores:
> 
> Error    : Incorrect information in file: './BBDD/list.frm'

(...)

> note     : The storage engine for the table doesn't support repair
> 
> Además de estos:
> 
> 160202 12:15:51 [Note] Plugin 'FEDERATED' is disabled.
> 160202 12:15:51 InnoDB: The InnoDB memory heap is disabled 
> 160202 12:15:51 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
> 160202 12:15:51 InnoDB: Compressed tables use zlib 1.2.8 
> 160202 12:15:51 InnoDB: Using Linux native AIO 
> 160202 12:15:51 InnoDB: Initializing buffer pool, size = 128.0M 
> 160202 12:15:51 InnoDB: Completed initialization of buffer pool InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes InnoDB: than specified in the .cnf file 0 5242880 bytes!
> 160202 12:15:51 [ERROR] Plugin 'InnoDB' init function returned error.
> 160202 12:15:51 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
> 160202 12:15:51 [ERROR] Unknown/unsupported storage engine: InnoDB
> 160202 12:15:51 [ERROR] Aborting

(...)

Hum... así a bote pronto te diría que el servidor mysql que acabas de 
iniciar y donde quieres restaurar la copia de respaldo no tiene 
activado el complemento de innodb, de ahí los errores. Comprueba, en 
primer lugar, que esté activado ya que ese es el motor que usas en 
la bdd antigua.

Saludos,

-- 
Camaleón


Reply to: