X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=examples%2Fexample.mysql;h=d22cbcbd392f7ed9843bda3dcd037efe4ff3e23d;hp=25750ad725d06c589dfa42e1b1b3a983307f1db3;hb=2a6d877e94be1e9c7d1c493d5f74b20554011013;hpb=5e2e9196bb1263361b38d3c513ae3c7321a489d8 diff --git a/examples/example.mysql b/examples/example.mysql index 25750ad..d22cbcb 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 large amounts of cache data 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'