~clint-fewbar/ubuntu/maverick/mysql-5.1/innodb-default-table-type

« back to all changes in this revision

Viewing changes to man/ndb_restore.1

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100621153105-lv81twvjdgzvzrre
Tags: 5.1.48-1ubuntu1
* Merge from debian unstable, remaining changes:
  + debian/control:
     * Update maintainer according to spec.
     * Move section from "misc" to "database".
     * Added libmysqlclient16-dev an empty transitional package. 
     * Added mysql-client-core-5.1 package.
     * Suggest mailx for mysql-server-5.1
     * Add mysql-testsuite package so you can run the testsuite seperately.
  + debian/additions/my.cnf:
    * Remove language options. Error message files are located in a different directory in Mysql
      5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0
      and 5.1 use a different value that works. (LP: #316974)
  + Add apparmor profile:
    + debian/apparmor-profile: apparmor-profile
    + debian/rules, debian/mysql-server-5.1.files: install apparmor profile
    + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain
    + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge.
    + debian/mysql-server-5.1.README.Debian: add apparmor documentation.
    + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799)
    + debian/mysql-server-5.1.postinst: reload apparmor profiles
  * Convert the package from sysvinit to upstart:
    + debian/mysql-server-5.1.mysql.upstart: Add upstart script.
    + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart.
    + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart.
    + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since
      we're not piping anything around logger anymore.
    + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation},
      debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe
    + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped
  * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures.
  * Add Apport hook (LP: #354188):
    + debian/mysql-server-5.1.py: apport package hook
    + debian/rules: Make it installable
  * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before
    running logrotate. (LP: #513135)
  * Make the testsuite installable. (LP: #530752)
    + debian/mysql-server-5.1.files, debian/rules: install apport package hook
  * debian/mysql-server-5.1.preinst: Set mysql user's home directory
    to /nonexistent to protect against having the /var/lib/mysql
    user-writeable. If an attacker can trick mysqld into creating
    dot files in the home directory, he could do .rhost-like attacks
    on the system. (LP: #293258)
  * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1.
    (LP: #590952) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBndb_restore\fR
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 05/06/2010
 
5
.\"      Date: 06/03/2010
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBNDB_RESTORE\FR" "1" "05/06/2010" "MySQL 5\&.1" "MySQL Database System"
 
10
.TH "\FBNDB_RESTORE\FR" "1" "06/03/2010" "MySQL 5\&.1" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
127
127
.PP
128
128
The first time you run the
129
129
\fBndb_restore\fR
130
 
restoration program, you also need to restore the metadata\&. In other words, you must re\-create the database tables \(em this can be done by running it with the
 
130
restoration program, you also need to restore the metadata\&. In other words, you must re\-create the database tables\(emthis can be done by running it with the
131
131
\fB\-m\fR
132
132
option\&. Note that the cluster should have an empty database when starting to restore a backup\&. (In other words, you should start
133
133
\fBndbd\fR
350
350
and
351
351
3, is to be restored to a cluster with four nodes\&. Then
352
352
\fBndb_restore\fR
353
 
must be run twice \(em once for each database node in the cluster where the backup was taken\&. However,
 
353
must be run twice\(emonce for each database node in the cluster where the backup was taken\&. However,
354
354
\fBndb_restore\fR
355
355
cannot always restore backups made from a cluster running one version of MySQL to a cluster running a different MySQL version\&. See
356
356
Section\ \&17.2.6.2, \(lqMySQL Cluster 5.1 and MySQL Cluster NDB 6.x/7.x Upgrade and Downgrade Compatibility\(rq, for more information\&.
426
426
\fB\-T\fR
427
427
.TS
428
428
allbox tab(:);
429
 
l l s
430
 
l l s.
 
429
l l s s
 
430
l l s s.
431
431
T{
432
432
\fBVersion Introduced\fR
433
433
T}:T{
461
461
\fB\-\-fields\-enclosed\-by=\fR\fB\fIstring\fR\fR
462
462
.TS
463
463
allbox tab(:);
464
 
l l s
465
 
l l s
466
 
l l s
467
 
^ l l
468
 
^ l l.
 
464
l l s s
 
465
l l s s
 
466
l l s s
 
467
^ l l s
 
468
^ l l s.
469
469
T{
470
470
\fBVersion Introduced\fR
471
471
T}:T{
508
508
\fB\-\-fields\-optionally\-enclosed\-by=\fR\fB\fIstring\fR\fR
509
509
.TS
510
510
allbox tab(:);
511
 
l l s
512
 
l l s
513
 
l l s
514
 
^ l l
515
 
^ l l.
 
511
l l s s
 
512
l l s s
 
513
l l s s
 
514
^ l l s
 
515
^ l l s.
516
516
T{
517
517
\fBVersion Introduced\fR
518
518
T}:T{
560
560
\fB\-\-fields\-terminated\-by=\fR\fB\fIstring\fR\fR
561
561
.TS
562
562
allbox tab(:);
563
 
l l s
564
 
l l s
565
 
l l s
566
 
^ l l
567
 
^ l l.
 
563
l l s s
 
564
l l s s
 
565
l l s s
 
566
^ l l s
 
567
^ l l s.
568
568
T{
569
569
\fBVersion Introduced\fR
570
570
T}:T{
608
608
\fB\-\-hex\fR
609
609
.TS
610
610
allbox tab(:);
611
 
l l s
612
 
l l s.
 
611
l l s s
 
612
l l s s.
613
613
T{
614
614
\fBVersion Introduced\fR
615
615
T}:T{
638
638
\fB\-\-fields\-terminated\-by=\fR\fB\fIstring\fR\fR
639
639
.TS
640
640
allbox tab(:);
641
 
l l s
642
 
l l s
643
 
l l s
644
 
^ l l
645
 
^ l l.
 
641
l l s s
 
642
l l s s
 
643
l l s s
 
644
^ l l s
 
645
^ l l s.
646
646
T{
647
647
\fBVersion Introduced\fR
648
648
T}:T{
686
686
\fB\-\-append\fR
687
687
.TS
688
688
allbox tab(:);
689
 
l l s
690
 
l l s.
 
689
l l s s
 
690
l l s s.
691
691
T{
692
692
\fBVersion Introduced\fR
693
693
T}:T{
766
766
\fB\-\-include\-databases=\fR\fB\fIdb_name\fR\fR\fB[,\fR\fB\fIdb_name\fR\fR\fB][,\&.\&.\&.]\fR
767
767
.TS
768
768
allbox tab(:);
769
 
l l s
770
 
l l s
771
 
l l s
772
 
^ l l
773
 
^ l l.
 
769
l l s s
 
770
l l s s
 
771
l l s s
 
772
^ l l s
 
773
^ l l s.
774
774
T{
775
775
\fBVersion Introduced\fR
776
776
T}:T{
803
803
\fB\-\-include\-tables=\fR\fB\fIdb_name\&.tbl_name\fR\fR\fB[,\fR\fB\fIdb_name\&.tbl_name\fR\fR\fB][,\&.\&.\&.]\fR
804
804
.TS
805
805
allbox tab(:);
806
 
l l s
807
 
l l s
808
 
l l s
809
 
^ l l
810
 
^ l l.
 
806
l l s s
 
807
l l s s
 
808
l l s s
 
809
^ l l s
 
810
^ l l s.
811
811
T{
812
812
\fBVersion Introduced\fR
813
813
T}:T{
957
957
\fB\-\-exclude\-databases=\fR\fB\fIdb_name\fR\fR\fB[,\fR\fB\fIdb_name\fR\fR\fB][,\&.\&.\&.]\fR
958
958
.TS
959
959
allbox tab(:);
960
 
l l s
961
 
l l s
962
 
l l s
963
 
^ l l
964
 
^ l l.
 
960
l l s s
 
961
l l s s
 
962
l l s s
 
963
^ l l s
 
964
^ l l s.
965
965
T{
966
966
\fBVersion Introduced\fR
967
967
T}:T{
994
994
\fB\-\-exclude\-tables=\fR\fB\fIdb_name\&.tbl_name\fR\fR\fB[,\fR\fB\fIdb_name\&.tbl_name\fR\fR\fB][,\&.\&.\&.]\fR
995
995
.TS
996
996
allbox tab(:);
997
 
l l s
998
 
l l s
999
 
l l s
1000
 
^ l l
1001
 
^ l l.
 
997
l l s s
 
998
l l s s
 
999
l l s s
 
1000
^ l l s
 
1001
^ l l s.
1002
1002
T{
1003
1003
\fBVersion Introduced\fR
1004
1004
T}:T{
1267
1267
\fB\-\-exclude\-missing\-columns\fR
1268
1268
.TS
1269
1269
allbox tab(:);
1270
 
l l s
1271
 
l l s.
 
1270
l l s s
 
1271
l l s s.
1272
1272
T{
1273
1273
\fBVersion Introduced\fR
1274
1274
T}:T{
1293
1293
\fB\-\-disable\-indexes\fR
1294
1294
.TS
1295
1295
allbox tab(:);
1296
 
l l s
1297
 
l l s.
 
1296
l l s s
 
1297
l l s s.
1298
1298
T{
1299
1299
\fBVersion Introduced\fR
1300
1300
T}:T{
1317
1317
\fB\-\-rebuild\-indexes\fR
1318
1318
.TS
1319
1319
allbox tab(:);
1320
 
l l s
1321
 
l l s.
 
1320
l l s s
 
1321
l l s s.
1322
1322
T{
1323
1323
\fBVersion Introduced\fR
1324
1324
T}:T{
1335
1335
Beginning with MySQL Cluster NDB 6\&.3\&.31, MySQL Cluster NDB 7\&.0\&.11, and MySQL CLuster NDB 7\&.1\&.2, you can use this option with
1336
1336
\fBndb_restore\fR
1337
1337
to cause multi\-threaded rebuilding of the ordered indexes found in a backup during the restoration process\&.
 
1338
.PP
 
1339
.\" ndb_restore: --skip-unknown-objects option
 
1340
.\" --skip-unknown-objects option (ndb_restore)
 
1341
\fB\-\-skip\-unknown\-objects\fR
 
1342
.TS
 
1343
allbox tab(:);
 
1344
l l s s
 
1345
l l s s.
 
1346
T{
 
1347
\fBVersion Introduced\fR
 
1348
T}:T{
 
1349
5\&.1\&.41\-ndb\-7\&.1\&.4
 
1350
T}
 
1351
T{
 
1352
\fBCommand\-Line Format\fR
 
1353
T}:T{
 
1354
\-\-skip\-unknown\-objects
 
1355
T}
 
1356
.TE
 
1357
.sp 1
 
1358
.PP
 
1359
This option causes
 
1360
\fBndb_restore\fR
 
1361
to ignore any schema objects it does not recgnize while reading a native
 
1362
NDB
 
1363
backup\&. This can be used for restoring a backup made from a cluster running MySQL Cluster NDB 7\&.0 to a cluster running MySQL Cluster NDB 6\&.3\&.
 
1364
.PP
 
1365
This option was added in MySQL Cluster NDB 6\&.3\&.34, MySQL Cluster NDB 7\&.0\&.15, and MySQL CLuster NDB 7\&.1\&.4\&.
1338
1366
.\" ndb_restore: errors
1339
1367
.PP
1340
1368
\fBError reporting\fR.