Pouvez-vous m'aider à faire une restaure à partir d'un fichier ibdata1 ?
Merci d'avance.
A+
Version imprimable
Pouvez-vous m'aider à faire une restaure à partir d'un fichier ibdata1 ?
Merci d'avance.
A+
Le tablespace ne suffit pas, il faut aussi les fichiers frm de description des tables (ou recréer les tables en question). Ensuite normalement il suffit de relancer le serveur.
Comme tu ne donnes pas vraiment de détails c'est tout ce qu'on peut dire pour l'instant...
J'ai lancé une cde : ibbackup --restore mybak.ini
J'ai trois log qui sont créés.Mais après je fais quoi ? :?Citation:
Contents of mybak.ini:
innodb_data_home_dir got value F:/myBak/ibdata
innodb_data_file_path got value ibdata1:250M:autoextend
datadir got value F:/myBak/data
innodb_log_group_home_dir got value F:/myBak/ibdata
innodb_log_files_in_group got value 3
innodb_log_file_size got value 8388608
060410 16:58:06 ibbackup: ibbackup_logfile's creation parameters:
ibbackup: start lsn 0 563675648, end lsn 0 563685814,
ibbackup: start checkpoint 0 563675751
InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 Setting log file size to 0 8388608
Setting log file size to 0 8388608
Setting log file size to 0 8388608
ibbackup: We were able to parse ibbackup_logfile up to
ibbackup: lsn 0 563685814
ibbackup: The first data file is 'F:\myBak\ibdata\ibdata1'
ibbackup: and the new created log files are at 'F:\myBak\ibdata\'
060410 16:58:08 ibbackup: Full backup prepared for recovery successfully!