X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/6d6deb249e37d4eb3ec7d9b6f51d33009f5778d0..143160f8b3b63f5a43f02c41ec07e782b71f23b4:/cookbooks/prometheus/recipes/server.rb diff --git a/cookbooks/prometheus/recipes/server.rb b/cookbooks/prometheus/recipes/server.rb index e4689dbf1..7e4f4b2bf 100644 --- a/cookbooks/prometheus/recipes/server.rb +++ b/cookbooks/prometheus/recipes/server.rb @@ -257,3 +257,10 @@ end apache_site "prometheus.openstreetmap.org" do template "apache.erb" end + +template "/etc/cron.daily/prometheus-backup" do + source "backup.cron.erb" + owner "root" + group "root" + mode "750" +end