2018-07-05 12:40:36 -05:00
|
|
|
# -*- mode: conf; -*-
|
|
|
|
|
|
|
|
# backup everything of importance at ${pretty_time}
|
2019-09-07 19:40:10 -05:00
|
|
|
% if hasattr(env, 'machine_is_live'):
|
|
|
|
${'' if env.machine_is_live else '# '}${cron_time} * * * root /usr/local/bin/backup-everything
|
|
|
|
## TODO: should somehow deprecate / remove this?
|
|
|
|
% elif hasattr(env, 'server_is_live'):
|
2018-07-05 12:40:36 -05:00
|
|
|
${'' if env.server_is_live else '# '}${cron_time} * * * root /usr/local/bin/backup-everything
|
2019-09-07 19:40:10 -05:00
|
|
|
% else:
|
|
|
|
# ${cron_time} * * * root /usr/local/bin/backup-everything
|
|
|
|
% endif
|