templates/graphite/config/rubber/role/graphite_web/crontab in rubber-2.12.2 vs templates/graphite/config/rubber/role/graphite_web/crontab in rubber-2.13.0
- old
+ new
@@ -3,6 +3,6 @@
@write_cmd = 'crontab -'
@additive = ['# start-graphite_web-crontab', '# end-graphite_web-crontab']
%>
# Backup graphite web UI db every day
-0 1 * * * <%= Rubber.root %>/script/rubber cron --task util:backup --directory /mnt/graphite_backups --name graphite --command "nice zip \%dir\%/\%name\%_<%= rubber_env.host %>_\%time_stamp\%.zip /opt/graphite/storage/*.db"
+0 1 * * * <%= Rubber.root %>/script/rubber cron --task util:backup --directory /mnt/graphite_backups --name graphite --command "nice zip #{dir}/#{name}_<%= rubber_env.host %>_#{time_stamp}.zip <%= rubber_env.graphite_storage_dir %>/*.db"