X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6accbe964d9196c8f5b3e8685b10f38b990da6b7..6270f0b685e414b82dd311ad99fe4df0c3e2bfd6:/cookbooks/forum/templates/default/backup.cron.erb diff --git a/cookbooks/forum/templates/default/backup.cron.erb b/cookbooks/forum/templates/default/backup.cron.erb index db4f0b412..517f71634 100644 --- a/cookbooks/forum/templates/default/backup.cron.erb +++ b/cookbooks/forum/templates/default/backup.cron.erb @@ -10,7 +10,7 @@ mkdir $T/forum-$D echo '[mysqldump]' > $T/mysqldump.opts echo 'user=forum' >> $T/mysqldump.opts echo 'password=<%= @passwords["database"] %>' >> $T/mysqldump.opts -mysqldump --defaults-file=$T/mysqldump.opts --opt forum > $T/forum-$D/forum.sql +mysqldump --defaults-file=$T/mysqldump.opts --opt --no-tablespaces forum > $T/forum-$D/forum.sql ln -s /srv/forum.openstreetmap.org $T/forum-$D/www export RSYNC_RSH="ssh -ax"