]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wiki/templates/default/cron_wiki_dump.erb
Enable regular dumps of the main wiki
[chef.git] / cookbooks / wiki / templates / default / cron_wiki_dump.erb
index a84d2c58ddcee80c8324e5f1dbda74aef25c4d2e..4ed8c8a682df76e91eaea6f7a1e2582bd1e7419d 100644 (file)
@@ -1,3 +1,5 @@
 #!/bin/bash
 # DO NOT EDIT - This file is being maintained by Chef
 
+cd <%= @basepath %>/maintenance
+php dumpBackup.php --full > "<%= @dumppath %>/dump.xml"