X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6accbe964d9196c8f5b3e8685b10f38b990da6b7..0a11a538261d017750924ffa7037ba6e65eb6c5e:/cookbooks/blog/templates/default/backup.cron.erb?ds=sidebyside diff --git a/cookbooks/blog/templates/default/backup.cron.erb b/cookbooks/blog/templates/default/backup.cron.erb index 59e91f752..bc6159666 100644 --- a/cookbooks/blog/templates/default/backup.cron.erb +++ b/cookbooks/blog/templates/default/backup.cron.erb @@ -10,7 +10,7 @@ mkdir $T/osm-blog-$D echo '[mysqldump]' > $T/mysqldump.opts echo 'user=osm-blog-user' >> $T/mysqldump.opts echo 'password=<%= @passwords["osm-blog-user"] %>' >> $T/mysqldump.opts -mysqldump --defaults-file=$T/mysqldump.opts --opt osm-blog > $T/osm-blog-$D/osm-blog.sql +mysqldump --defaults-file=$T/mysqldump.opts --opt --no-tablespaces osm-blog > $T/osm-blog-$D/osm-blog.sql ln -s /srv/blog.openstreetmap.org $T/osm-blog-$D/www export RSYNC_RSH="ssh -ax"