~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to man/mysqlhotcopy.1

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120222223355-or06x1euyk8n0ldi
Tags: 5.1.61-0ubuntu0.10.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496
* Dropped patches unnecessary with 5.1.61:
  - debian/patches/90_mysql_safer_strmov.dpatch
  - debian/patches/51_ssl_test_certs.dpatch
  - debian/patches/52_CVE-2009-4030.dpatch
  - debian/patches/53_CVE-2009-4484.dpatch
  - debian/patches/54_CVE-2008-7247.dpatch
  - debian/patches/55_CVE-2010-1621.dpatch
  - debian/patches/56_CVE-2010-1850.dpatch
  - debian/patches/57_CVE-2010-1849.dpatch
  - debian/patches/58_CVE-2010-1848.dpatch
  - debian/patches/59_CVE-2010-1626.dpatch
  - debian/patches/60_CVE-2010-2008.dpatch
  - debian/patches/60_CVE-2010-3677.dpatch
  - debian/patches/60_CVE-2010-3678.dpatch
  - debian/patches/60_CVE-2010-3679.dpatch
  - debian/patches/60_CVE-2010-3680.dpatch
  - debian/patches/60_CVE-2010-3681.dpatch
  - debian/patches/60_CVE-2010-3682.dpatch
  - debian/patches/60_CVE-2010-3683.dpatch
  - debian/patches/60_CVE-2010-3833.dpatch
  - debian/patches/60_CVE-2010-3834.dpatch
  - debian/patches/60_CVE-2010-3835.dpatch
  - debian/patches/60_CVE-2010-3836.dpatch
  - debian/patches/60_CVE-2010-3837.dpatch
  - debian/patches/60_CVE-2010-3838.dpatch
  - debian/patches/60_CVE-2010-3839.dpatch
  - debian/patches/60_CVE-2010-3840.dpatch
  - debian/patches/61_disable_longfilename_test.dpatch
  - debian/patches/62_alter_table_fix.dpatch
  - debian/patches/63_cherrypick-upstream-49479.dpatch
  - debian/patches/10_readline_build_fix.dpatch
* debian/mysql-client-5.1.docs: removed EXCEPTIONS-CLIENT file
* debian/mysql-server-5.1.docs,debian/libmysqlclient16.docs,
  debian/libmysqlclient-dev.docs: removed, no longer necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBmysqlhotcopy\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: 11/04/2009
 
5
.\"      Date: 12/16/2011
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBMYSQLHOTCOPY\FR" "1" "11/04/2009" "MySQL 5\&.1" "MySQL Database System"
 
10
.TH "\FBMYSQLHOTCOPY\FR" "1" "12/16/2011" "MySQL 5\&.1" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
32
32
.PP
33
33
\fBmysqlhotcopy\fR
34
34
is a Perl script that was originally written and contributed by Tim Bunce\&. It uses
35
 
LOCK TABLES,
36
 
FLUSH TABLES, and
 
35
FLUSH TABLES,
 
36
LOCK TABLES, and
37
37
cp
38
38
or
39
39
scp
40
 
to make a database backup quickly\&. It is the fastest way to make a backup of the database or single tables, but it can be run only on the same machine where the database directories are located\&.
 
40
to make a database backup\&. It is a fast way to make a backup of the database or single tables, but it can be run only on the same machine where the database directories are located\&.
41
41
\fBmysqlhotcopy\fR
42
42
works only for backing up
43
43
MyISAM
44
44
and
45
45
ARCHIVE
46
46
tables\&. It runs on Unix and NetWare\&.
 
47
.PP
 
48
To use
 
49
\fBmysqlhotcopy\fR, you must have read access to the files for the tables that you are backing up, the
 
50
SELECT
 
51
privilege for those tables, the
 
52
RELOAD
 
53
privilege (to be able to execute
 
54
FLUSH TABLES), and the
 
55
LOCK TABLES
 
56
privilege (to be able to lock the tables)\&.
47
57
.sp
48
58
.if n \{\
49
59
.RS 4
90
100
.\}
91
101
.PP
92
102
\fBmysqlhotcopy\fR
93
 
supports the following options:
 
103
supports the following options, which can be specified on the command line or in the
 
104
[mysqlhotcopy]
 
105
and
 
106
[client]
 
107
groups of an option file\&. For information about option files, see
 
108
Section\ \&4.2.3.3, \(lqUsing Option Files\(rq\&.
94
109
.sp
95
110
.RS 4
96
111
.ie n \{\
275
290
.sp
276
291
The method for copying files (cp
277
292
or
278
 
scp)\&.
 
293
scp)\&. The default is
 
294
cp\&.
279
295
.RE
280
296
.sp
281
297
.RS 4
290
306
.\" noindices option: mysqlhotcopy
291
307
\fB\-\-noindices\fR
292
308
.sp
293
 
Do not include full index files in the backup\&. This makes the backup smaller and faster\&. The indexes for reloaded tables can be reconstructed later with
 
309
Do not include full index files for
 
310
MyISAM
 
311
tables in the backup\&. This makes the backup smaller and faster\&. The indexes for reloaded tables can be reconstructed later with
294
312
\fBmyisamchk \-rq\fR\&.
295
313
.RE
296
314
.sp
307
325
\fB\-\-password=\fR\fB\fIpassword\fR\fR,
308
326
\fB\-p\fR\fB\fIpassword\fR\fR
309
327
.sp
310
 
The password to use when connecting to the server\&. Note that the password value is not optional for this option, unlike for other MySQL programs\&. You can use an option file to avoid giving the password on the command line\&.
 
328
The password to use when connecting to the server\&. The password value is not optional for this option, unlike for other MySQL programs\&.
311
329
.sp
312
330
Specifying a password on the command line should be considered insecure\&. See
313
 
Section\ \&5.5.6.2, \(lqEnd-User Guidelines for Password Security\(rq\&.
 
331
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
314
332
.RE
315
333
.sp
316
334
.RS 4
423
441
\fB\-\-socket=\fR\fB\fIpath\fR\fR,
424
442
\fB\-S \fR\fB\fIpath\fR\fR
425
443
.sp
426
 
The Unix socket file to use for the connection\&.
 
444
The Unix socket file to use for connections to
 
445
localhost\&.
427
446
.RE
428
447
.sp
429
448
.RS 4
438
457
.\" suffix option: mysqlhotcopy
439
458
\fB\-\-suffix=\fR\fB\fIstr\fR\fR
440
459
.sp
441
 
The suffix for names of copied databases\&.
 
460
The suffix to use for names of copied databases\&.
442
461
.RE
443
462
.sp
444
463
.RS 4
473
492
The MySQL user name to use when connecting to the server\&.
474
493
.RE
475
494
.PP
476
 
\fBmysqlhotcopy\fR
477
 
reads the
478
 
[client]
479
 
and
480
 
[mysqlhotcopy]
481
 
option groups from option files\&.
482
 
.PP
483
 
To execute
484
 
\fBmysqlhotcopy\fR, you must have access to the files for the tables that you are backing up, the
485
 
SELECT
486
 
privilege for those tables, the
487
 
RELOAD
488
 
privilege (to be able to execute
489
 
FLUSH TABLES), and the
490
 
LOCK TABLES
491
 
privilege (to be able to lock the tables)\&.
492
 
.PP
493
495
Use
494
496
perldoc
495
497
for additional
512
514
.SH "COPYRIGHT"
513
515
.br
514
516
.PP
515
 
Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
 
517
Copyright \(co 1997, 2011, Oracle and/or its affiliates. All rights reserved.
516
518
.PP
517
519
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
518
520
.PP
525
527
which may already be installed locally and which is also available
526
528
online at http://dev.mysql.com/doc/.
527
529
.SH AUTHOR
528
 
Sun Microsystems, Inc. (http://www.mysql.com/).
 
530
Oracle Corporation (http://dev.mysql.com/).