X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=examples%2Fexample.mysql;fp=examples%2Fexample.mysql;h=00298451b003961e01809ef351b25652c7fe044a;hb=621fceac78bf23d32fd0ac8b728059fbc0362f1e;hp=a16a9d068b4313000863d12405a764a5b807742a;hpb=1f3891846c79f57c458e6848958f4f5c5cd08898;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/examples/example.mysql b/examples/example.mysql index a16a9d0..0029845 100644 --- a/examples/example.mysql +++ b/examples/example.mysql @@ -70,6 +70,10 @@ compress = yes # # hotcopy = < yes | no > (default = no) # make a backup of the actual database binary files using mysqlhotcopy. +# When using hotcopy, backupdir must be a dir inside each vserver! You can use +# the interpolation feature to do this for multiple vservers by starting +# backupdir with %v (not /%v), which will be replaced by the current +# vserver root. # # sqldump = < yes | no > (default = no) # make a backup using mysqldump. this creates text files with sql commands @@ -87,5 +91,11 @@ compress = yes # in /etc/backupninja.conf), if you do not specify vsnames the # host will be operated on. # +# Note that backupninja 0.9.6 and before used "vsname" to run in a single +# vserver. It also automatically prepended the vserver root directory to +# backupdir. Newer versions still do this if you're using the deprecated (but +# still supported) "vsname" variable. To achieve the same effect while using +# the vsnames variable, prepend backupdir with %v +# # NB: databases = all doesn't seem to work with hotcopy = yes # when vsname is specified, I would like to know how to fix this.