Skip to main content

Disable automated backups

You can stop automated backups of the Contrast MySQL database. Scheduled backups run through schtasks on Windows and crontab on Linux.

To disable automated backups:

For Windows, use Task Scheduler to disable or delete ContrastBackup.

For Linux:

  1. Switch to the user under which you installed Contrast and run crontab -l.

  2. This lists the scheduled job. You will see:

    0 2 * * * /usr/local/contrast/bin/backup-db.sh
  3. Run  crontab -e to delete a single backup. Run crontab -r to delete all backups.

Caution

The -e option allows edits with Vim to delete selected backups. The -r option deletes everything: be careful when you use it.