X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=examples%2Fexample.mysql;h=d7ab8b6ff0c144cb51590ba464de2c611ebb29f7;hb=ca12e5617b1c7a600324e2c6437444627720c62c;hp=51c2247717f53a800274b8df780331fce6f00e77;hpb=c4785ba5edb9738f7e9da8c4086a4b6984515dd2;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/examples/example.mysql b/examples/example.mysql index 51c2247..d7ab8b6 100644 --- a/examples/example.mysql +++ b/examples/example.mysql @@ -53,9 +53,16 @@ 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' +# where to dump the backups. hotcopy backups will be in a subdirectory +# 'hotcopy' and sqldump backups will be in a subdirectory 'sqldump' # # hotcopy = < yes | no > (default = no) # make a backup of the actual database binary files using mysqlhotcopy. @@ -68,8 +75,9 @@ compress = yes # if yes, compress the sqldump output. # # vsname = (no default) -# what vserver to operate on, only used if vserver = yes in /etc/backupninja.conf -# if you do not specify a vsname the host will be operated on +# what vserver to operate on (only used if vserver = yes +# in /etc/backupninja.conf), if you do not specify a vsname the +# host will be operated on # -# NB: databases = all doesn't seem to work with hotcopy = yes when vsname is specified -# I would like to know how to fix this. +# NB: databases = all doesn't seem to work with hotcopy = yes +# when vsname is specified, I would like to know how to fix this.