aboutsummaryrefslogtreecommitdiff
path: root/examples/example.mysql
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-07-06 17:58:52 +0000
committerMicah Anderson <micah@riseup.net>2008-07-06 17:58:52 +0000
commitcb833ea82cbc59e14fc1f0b71e2cebdf88ff30d0 (patch)
tree4ed80f82d48ca0a1ef5878b4bca260067141afa5 /examples/example.mysql
parent2a6d877e94be1e9c7d1c493d5f74b20554011013 (diff)
downloadbackupninja-cb833ea82cbc59e14fc1f0b71e2cebdf88ff30d0.tar.gz
backupninja-cb833ea82cbc59e14fc1f0b71e2cebdf88ff30d0.tar.bz2
clarify how the nodata option should be specified in the config file for mysql
Diffstat (limited to 'examples/example.mysql')
-rw-r--r--examples/example.mysql6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/example.mysql b/examples/example.mysql
index d22cbcb..bd996e7 100644
--- a/examples/example.mysql
+++ b/examples/example.mysql
@@ -53,12 +53,14 @@ compress = yes
# which databases to backup. should either be the word 'all' or a
# space separated list of database names.
#
-# nodata = < table1 table2 table3 > (no default)
+# nodata = < db.table1 db.table2 db.table3 > (no default)
# only dump the structure for the database tables listed here, this means
# no data contained in these tables will be dumped. This is very useful
# to backup databases that have tables with large amounts of cache data that
# isn't necessary to backup, but you still need the structure to exist
-# on a restore
+# on a restore. You *must* specify the table as part of a database, such
+# as "drupal.cache", where the database name is "drupal" and the table that
+# you do not want to dump the data for is called "cache".
#
# backupdir = < path/to/destination > (default = /var/backups/mysql)
# where to dump the backups. hotcopy backups will be in a subdirectory