Move blog backup script to the right cookbook
[chef.git] / cookbooks / blog / templates / default / backup.cron.erb
similarity index 75%
rename from cookbooks/foundation/templates/default/backup.cron.erb
rename to cookbooks/blog/templates/default/backup.cron.erb
index 6ab8a63e275940c74f42fecfd2b8876a49b355ef..b64c4f072cd3e9be9ff70807f3a76cffba95c54a 100644 (file)
@@ -7,7 +7,7 @@ D=$(date +%Y-%m-%d)
 B=osm-blog-$D.tar.gz
 
 mkdir $T/osm-blog-$D
-mysqldump --user=osm-blog-user --password=<%= @passwords["osmf-blog-user"] %> --opt osm-blog > $T/osm-blog-$D/osm-blog.sql
+mysqldump --user=osm-blog-user --password=<%= @passwords["osm-blog-user"] %> --opt osm-blog > $T/osm-blog-$D/osm-blog.sql
 ln -s /srv/blog.openstreetmap.org $T/osm-blog-$D/www
 
 export GZIP="--rsyncable -9"