diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-06 11:15:03 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-06 11:15:03 +0300 |
commit | ac8848c85bee61cf9c9947dae910c180ed7786de (patch) | |
tree | 51d615f59948cf2a2c009a6da6f61af26c3d9df2 /grot.1 | |
parent | 32dc00e8d4ee1aa0b979c2b7f6b331fd53a70212 (diff) | |
download | grot-ac8848c85bee61cf9c9947dae910c180ed7786de.tar.gz grot-ac8848c85bee61cf9c9947dae910c180ed7786de.tar.bz2 |
Diffstat (limited to 'grot.1')
-rw-r--r-- | grot.1 | 59 |
1 files changed, 27 insertions, 32 deletions
@@ -1,5 +1,5 @@ -.\" This file is part of Grot. -.\" Copyright (C) 2009, 2010 Sergey Poznyakoff +.\" This file is part of Grot. -*- nroff -*- +.\" Copyright (C) 2009, 2010, 2013 Sergey Poznyakoff .\" .\" Grot is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -13,30 +13,19 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with grot. If not, see <http://www.gnu.org/licenses/>. -.TH grot "1" "May 16, 2009" "grot (grot 1.0)" "System Administrator's Manual" +.TH grot "1" "August 6, 2013" "grot (grot 1.0)" "System Administrator's Manual" .SH NAME grot \- Gray's Rotation Tool for MySQL binary logs - .SH SYNOPSIS -\fBgrot\fR -[\fB-vnh\fR] -[\fB-H\fR[NAME]] -[\fB-p\fR[PASS]] -[\fB-P\fR NUMBER] -[\fB-S\fR STRING] -[\fB-u\fR NAME] -[\fB--host\fR=[NAME]] -[\fB--password\fR=[PASS]] -[\fB--port\fR=NUMBER] -[\fB--socket\fR=STRING] -[\fB--user\fR=NAME] -[\fB--verbose\fR] -[\fB--dry-run\fR] -[\fB--no-flush\fR] -[\fB--keep\fR=NUMBER] -[\fB--help\fR] -[\fB--usage\fR] -[\fB--version\fR] +\fBgrot\fR [\fB\-vnh\fR] [\fB\-H\fR[\fINAME\fR]] [\fB\-p\fR[\fIPASS\fR]] [\fB\-P\fR \fINUMBER\fR]\ + [\fB\-S\fR \fIPATH\fR] [\fB\-u\fR \fINAME\fR] + [\fB\-\-host=\fR[\fINAME\fR]] [\fB\-\-password=\fR[\fIPASS\fR]] [\fB\-\-port=\fINUMBER\fR] + [\fB\-\-socket=\fIPATH\fR] [\fB\-\-user=\fINAME\fR] [\fB\-\-verbose\fR]\ + [\fB\-\-dry\-run\fR] + [\fB\-\-no\-flush\fR] [\fB\-\-keep=\fINUMBER\fR] +[\fB\-\-help\fR] +[\fB\-\-usage\fR] +[\fB\-\-version\fR] .SH DESCRIPTION \fBGrot\fR rotates MySQL binary log files on replication master @@ -77,7 +66,7 @@ Do not flush logs after rotating. .TP \fB\-\-keep\fR=NUMBER Keep NUMBER logs before the oldest one. -.SS "" +.PP The following options set the connection and account parameters of the master server. They override the corresponding settings from the configuration files: @@ -109,8 +98,7 @@ Give a short usage message. .TP \fB\-\-version\fR Print program version. - -.SH CONFIGURATION FILES +.SH "CONFIGURATION FILES" \fBGrot\fR reads its configuration from the following files: .TP \fB/etc/my.cnf\fR @@ -118,18 +106,25 @@ Default MySQL configuration file. \fBGrot\fR attempts to read master server configuration from sections \fBgrot\fR and \fBclient\fR. .TP \fB/etc/grot.cnf\fR -Site-wide \fBgrot\fR configuration file. See grot.cfg(5). +Site-wide \fBgrot\fR configuration file. See +.BR grot.cfg (5). .TP \fB~/.grot\fR Per-user configuration file. The tilde (\fB~\fR) here stands for the -user home directory. See grot.cfg(5). - +user home directory. See +.BR grot.cfg (5). .SH "REPORTING BUGS" Report bugs to <gray@gnu.org.ua>. - +.\" The MANCGI variable is set by mansrv script on Ulysses. +.\" The download.inc file contains the default DOWNLOAD section +.\" for man-based doc pages. +.if "\V[MANCGI]"WEBDOC" \{\ +. ds package grot +. ds version 1.0 +. so download.inc +\} .SH "SEE ALSO" -grot.cfg(5) - +.BR grot.cfg (5). .SH COPYRIGHT Copyright \(co 2009 Sergey Poznyakoff License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |