aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-11-02 00:52:55 +0000
committerMicah Anderson <micah@riseup.net>2007-11-02 00:52:55 +0000
commit3cf6de437495495ea400ade55f7b13d4077b8cb3 (patch)
tree15ef61d8b9468520173bc9528f41e793bcebd1a5 /examples
parent02a7436b7c606efd82e215ffc238aac3d5e21f7f (diff)
downloadbackupninja-3cf6de437495495ea400ade55f7b13d4077b8cb3.tar.gz
backupninja-3cf6de437495495ea400ade55f7b13d4077b8cb3.tar.bz2
added nodata option to mysql handler, thanks to Daniel Bonniot (Closes: 408829)
Diffstat (limited to 'examples')
-rw-r--r--examples/example.mysql7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/example.mysql b/examples/example.mysql
index 25750ad..d7ab8b6 100644
--- a/examples/example.mysql
+++ b/examples/example.mysql
@@ -53,6 +53,13 @@ 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)
+# 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 cache stored in tables that
+# isn't necessary to backup, but you still need the structure to exist
+# on a restore
+#
# backupdir = < path/to/destination > (default = /var/backups/mysql)
# where to dump the backups. hotcopy backups will be in a subdirectory
# 'hotcopy' and sqldump backups will be in a subdirectory 'sqldump'