~percona-dev/percona-xtrabackup/test_766607

« back to all changes in this revision

Viewing changes to BUILD.txt

  • Committer: Vadim Tkachenko
  • Date: 2010-09-09 22:29:30 UTC
  • Revision ID: vadim@percona.com-20100909222930-0pjwnl0u01rbfs4p
fixes to BUILD.txt 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
How to build XtraBackup
2
2
=======================
3
3
 
4
 
!!You should build your MySQL before the building XtraBackup!!
5
 
 
6
 
1. Put this directory to innobase/ directory.
 
4
!!You need to build the MySQL binaries before building XtraBackup!!
 
5
 
 
6
1. Build your version of mysql
 
7
 
 
8
2. copy the xtrabackup  source directory into the mysql.5x/innobase directory
7
9
   (e.g. mysql-5.0.75/innobase/xtrabackup-0.0 )
8
10
 
9
 
2. From the innodbase directory, apply the xtrabackup patch and then re-make.
10
 
   The patch is fix_innodb_for_backup.patch for MySQL 5.0 and
11
 
   fix_innodb_for_backup51.patch for MySQL 5.1.
12
 
   ('make clean' at innobase/ dir may be needed for 5.0, because of the lack of dependency)
13
 
 
14
 
3. Run make in the XtraBackup directory.
15
 
 
16
 
4. enjoy... :)
 
11
3. For 5.1x you need to apply a patch.
 
12
   From the innobase directory, apply the xtrabackup patch. 
 
13
  e.g. #patch -p2 < xtrabackup-0.0/fix_innodb_for_backup51.patch  
 
14
  
 
15
(With 5.0 run 'make clean all' from the innobase directory This is necessary
 
16
for 5.0, because of the lack of dependencies)
 
17
 
 
18
4.Run make [5.0] [5.1] [xtradb] [plugin] in the XtraBackup directory.
 
19
 
 
20
5.  enjoy... :
17
21