Enhancement #1666

Feature #1660: Migrate NethService to NethServer

Migrate MySQL database

Added by Davide Principi over 8 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:02/21/2013
Priority:NormalDue date:02/28/2013
Assignee:-% Done:

100%

Category:nethserver-mysql
Target version:v6.4-alpha2
Resolution: NEEDINFO:

Description

Import mysql users and data from a complete NethService backup set, implementing a migration-import event action.

Associated revisions

Revision 6b7dd76e
Added by Giacomo Sanchietti over 8 years ago

my.cnf template: add max_packet_allowed option to avoid errors when importing dump from old SME release. Refs #1666

Revision 108983d4
Added by Giacomo Sanchietti over 8 years ago

nethserver-mysql-migrate: add nethserver-mysql-migrate action. Refs #1666

Revision 62e28df0
Added by Giacomo Sanchietti over 8 years ago

createlinks: execute mysql-delete-dumped-tables in post-restore-data event. Refs #1666

Revision 27682bea
Added by Giacomo Sanchietti over 8 years ago

dump actions: fix backup_dir path. Refs #1666

Revision d2446e44
Added by Giacomo Sanchietti over 8 years ago

createlinks: add migration-import event. Refs #1666

Revision 64f40a47
Added by Giacomo Sanchietti over 8 years ago

nethserver-mysql-migrate: use mysqlPassFile variable. Refs #1666

Revision 2d9208f0
Added by Giacomo Sanchietti over 8 years ago

MaxAllowedPacket db default: change default value to 16M as in SME Server. Refs #1666

History

#1 Updated by Giacomo Sanchietti over 8 years ago

  • Assignee set to Giacomo Sanchietti

#2 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from NEW to ON_DEV
nethserver-mysql-migrate does:
  • restore all dumps including mysql database for grants
  • invoke mysql_upgrade command to update privileges tables
  • restore original mysql root password reading it from old /root/.my.cnf file

#3 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from ON_DEV to MODIFIED

Added nethserver-mysql-migrate action to migration-import event.

#4 Updated by Davide Principi over 8 years ago

  • % Done changed from 0 to 100

#5 Updated by Davide Principi over 8 years ago

  • Status changed from MODIFIED to CLOSED

#6 Updated by Davide Principi over 8 years ago

State set to closed on NethServer 6.4 alpha2 release

Also available in: Atom PDF