Skip to content

Instantly share code, notes, and snippets.

@bistaray
Created December 23, 2016 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bistaray/0d8a95cb06719c4b9d8e883e0fae4487 to your computer and use it in GitHub Desktop.
Save bistaray/0d8a95cb06719c4b9d8e883e0fae4487 to your computer and use it in GitHub Desktop.
SQL to run after database duplication for testing:
TURN OFF:
update ir_mail_server set active = 'f';
update fetchmail_server set active = 'f';
update ir_cron set active = 'f' where function = 'schedule_backup';
TURN ON:
update ir_mail_server set active = 't';
update fetchmail_server set active = 't';
update ir_cron set active = 't' where function = 'schedule_backup';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment