20
20
# 2. If you remove the variable, mysqldump-secure will error
21
21
# to stderr and abort.
22
22
#
23
- # The above described behavior is a security mechanism for critical
24
- # configurations. For example if you have removed the directive that
23
+ # The above- described behavior is a security mechanism for critical
24
+ # configurations. For example, if you have removed the directive that
25
25
# sets whether or not to encrypt the backups, then it is not sure
26
26
# whether or not you are paranoid about your data and mysqldump-secure
27
27
# will abort immediately until you have told it correctly whether or
@@ -78,7 +78,7 @@ DUMP_FILE_PRE="$(date '+%Y-%m-%d')_$(date '+%H-%M')__"
78
78
#
79
79
# NOTE: The file is directly written with this permission (via umask)
80
80
# instead of applying chmod afterwards. This makes sure that there are no
81
- # race-conditions during the dump that someone can view the contens before the
81
+ # race-conditions during the dump that someone can view the contents before the
82
82
# chmod changes.
83
83
#
84
84
# Default value: "0400"
@@ -105,7 +105,7 @@ DUMP_FILE_CHMOD="0400"
105
105
# Instead use a *.cnf file with a host, user and password combination.
106
106
#
107
107
# NOTE: No other default *.cnf files will be included for connections/dumping.
108
- # This is the only file that will be read my mysqldump-secure.
108
+ # This is the only file that will be read by mysqldump-secure.
109
109
#
110
110
# NOTE: Only host, user, pass, port and socket directives are allowed.
111
111
# All other options are specified in this configuration file.
@@ -126,7 +126,7 @@ MYSQL_CNF_FILE="/etc/mysqldump-secure.cnf"
126
126
############################################################
127
127
128
128
# If this is set to true, an SSL connection is required and
129
- # the program will abort, if the connection is not secured.
129
+ # the program will abort if the connection is not secured.
130
130
#
131
131
# Turn it on to force SSL and die for plain connections.
132
132
# Turn it off, to do plain-text connection (e.g.: from localhost)
@@ -177,7 +177,7 @@ MYSQL_SSL_CA_PEM="/path/to/ca.pem"
177
177
178
178
#
179
179
# By default, all existing mysql databases will be backed up
180
- # without having to explicitly specifying them.
180
+ # without having to explicitly specify them.
181
181
#
182
182
# You can however fine-adjust it by ignoring certain databases
183
183
# from the backup procedure below.
@@ -194,7 +194,7 @@ MYSQL_SSL_CA_PEM="/path/to/ca.pem"
194
194
# You can ignore all databases here and explicitly only require
195
195
# the ones you actually want to dump.
196
196
# If you ignore 'mysql' and require 'mysql',
197
- # it wil be back-upped.
197
+ # it will be back-upped.
198
198
#
199
199
# Note:
200
200
# -----
@@ -214,23 +214,23 @@ IGNORE="information_schema performance_schema"
214
214
215
215
216
216
217
- # Opt-in check (Require )
217
+ # Opt-in check (require )
218
218
#
219
219
# A space-separated list of databases that are explicitly required.
220
220
#
221
221
# If any of the specified required databases is not existent
222
222
# the script will generate an error after finishing (stderr, exit code and inside the logfile).
223
223
#
224
224
# Additionally, this information is also used by the nagios plugin and will automatically
225
- # throw an error in nagios when any of the below specified databases were not found and/or not dumped.
225
+ # throw an error in nagios when any of the below- specified databases were not found and/or not dumped.
226
226
#
227
227
# NOTE: The here specified databases are not guaranteed to be dumped,
228
228
# because they might not even exist, it is rather
229
229
# a method of letting you know, that they could not be dumped.
230
230
#
231
231
# NOTE: Use this to overwrite any ignored databases.
232
232
# You could for example ignore all databases and only
233
- # require the once you desire here.
233
+ # require the ones you desire here.
234
234
#
235
235
# Default value: "" <-- do not require anything
236
236
REQUIRE="mysql"
@@ -325,14 +325,14 @@ MYSQL_OPTS_QUICK_MIN_SIZE=200
325
325
326
326
327
327
#
328
- # Case 1: Only InnoDB tables inside current DB
328
+ # Case 1: Only InnoDB tables inside the current DB
329
329
#
330
330
# If the current dumped database only contains InnoDB tables,
331
331
# this database is then dumped with the '--single-transaction' option.
332
332
#
333
333
# With this option turned on, all tables inside this database will be dumped consistently.
334
334
# If there was any INSERT, ALTER (or other changes on the tables during the period of backup
335
- # by another program/process), these changes will not go into dump and you will end up
335
+ # by another program/process), these changes will not go into the dump and you will end up
336
336
# with a fully consistent dump from the time it was started doing the backup.
337
337
#
338
338
# If however the current database contains at least one table which is not using the InnoDB
@@ -343,7 +343,7 @@ MYSQL_OPTS_QUICK_MIN_SIZE=200
343
343
# It is safe and recommended to leave this option turned on!
344
344
#
345
345
# Note:
346
- # Again, this applies only to databases which only have InnoDB tables.
346
+ # Again, this applies only to databases that only have InnoDB tables.
347
347
#
348
348
# Values:
349
349
# -------
@@ -368,13 +368,13 @@ CONSISTENT_DUMP_ONLY_INNODB=1
368
368
# However, every INSERT, ALTER (or other changing sql function) to tables inside this database
369
369
# will be blocked (and queued) for the time of the dump.
370
370
# So if you have a web application for example that is receiving lots of INSERTs, choose a time
371
- # with least visitors, because the application will be blocked during the backup time.
371
+ # with the least visitors, because the application will be blocked during the backup time.
372
372
#
373
373
#
374
- # Solution 1: Convert all your databases to InnoDB
374
+ # Solution 1: Convert all your databases to InnoDB.
375
375
# --> and ignore this option
376
376
#
377
- # Solution 2: Choose a time where less or no changes to that database are expected
377
+ # Solution 2: Choose a time when less or no changes to that database are expected.
378
378
# --> and set CONSISTENT_DUMP_OTHERS=1
379
379
#
380
380
# Solution 3: Turn off this feature and live without consistent dumps.
@@ -412,13 +412,13 @@ CONSISTENT_DUMP_NO_INNODB=1
412
412
# However, every INSERT, ALTER (or other changing sql function) to tables inside this database
413
413
# will be blocked (and queued) for the time of the dump.
414
414
# So if you have a web application for example that is receiving lots of INSERTs, choose a time
415
- # with least visitors, because the current dumped database will be read-only
415
+ # with the least visitors, because the current dumped database will be read-only
416
416
# (but all queries are queued) during the backup time.
417
417
#
418
- # Solution 1: Convert all your tables in your databases to InnoDB
418
+ # Solution 1: Convert all your tables in your databases to InnoDB.
419
419
# --> and ignore this option
420
420
#
421
- # Solution 2: Choose a time where less or no changes to that database are expected
421
+ # Solution 2: Choose a time where less or no changes to that database are expected.
422
422
# --> and set CONSISTENT_DUMP_OTHERS=1
423
423
#
424
424
# Solution 3: Use a Master/Slave setup and always backup from slave
@@ -509,14 +509,14 @@ COMPRESS=1
509
509
# NOTE: No default values can be provided and the program will simply
510
510
# disable compression if those variables are not set.
511
511
# If you set them wrongly dumps might now be written to disk correctly.
512
- # Nevertheless, every error on writing or the compression process will
512
+ # Nevertheless, every error during writing or the compression process will
513
513
# be outputted.
514
514
515
515
516
516
#
517
517
# Choose a compression preset below.
518
518
#
519
- # NOTE: Last turned on preset will be effective.
519
+ # NOTE: Last turned- on preset will be effective.
520
520
# (It is a shell script and variables will be overwritten
521
521
# by the last specified value)
522
522
#
@@ -580,7 +580,7 @@ COMPRESS_EXT="gz"
580
580
# * Create public/private key pair
581
581
# openssl req -x509 -nodes -newkey rsa:2048 -keyout mysqldump-secure.priv.pem -out mysqldump-secure.pub.pem
582
582
#
583
- # * How to enccrypt ? (pubkey)
583
+ # * How to encrypt ? (pubkey)
584
584
# openssl smime -encrypt -binary -text -aes256 -in file.txt -out file.txt.enc" -outform DER mysqldump-secure.pub.pem
585
585
#
586
586
# * How to decrypt? (privkey)
@@ -629,7 +629,7 @@ OPENSSL_PUBKEY_PEM="/etc/mysqldump-secure.pub.pem"
629
629
#
630
630
# NOTE: Only applicable if ENCRYPT = 1
631
631
#
632
- # Must be valid openssl encryption algorithm
632
+ # Must be a valid openssl encryption algorithm
633
633
#
634
634
# Default value: "-aes256"
635
635
OPENSSL_ALGO_ARG="-aes256"
@@ -685,7 +685,7 @@ DELETE_METHOD="tmpwatch"
685
685
# tmpwatch/tmpreader will not be able to delete those files, unless you
686
686
# specify to force it via -f (--force)
687
687
#
688
- # From manpage:
688
+ # From its manpage:
689
689
# Remove files even if EUID doesn’t have write access.
690
690
# Normally, files owned by the current EUID, with no write bit set are not removed.
691
691
DELETE_FORCE=0
@@ -798,7 +798,7 @@ DUMP_FILE_INFO=1
798
798
# This should normally not be changed as /tmp
799
799
# is the default on most systems.
800
800
#
801
- # The tmp folder is used to store files which hold stderr as well as
801
+ # The tmp folder is used to store files that hold stderr as well as
802
802
# stdout of mysqldump, openssl and the used compression tool.
803
803
#
804
804
# All tmp files will be deleted at the end of every run.
0 commit comments