Skip to content

Migration

elmiratjee edited this page Nov 5, 2020 · 1 revision

Migration

Back-up Database

To set the cronjob for the file you need to take the following steps:

  1. Edit the crontab file for the logged-in user crontab -e

If you are using crontab for the first time choose your preferred editor

  1. Add the following line to the file: 0 */12 * * * /home/ubuntu/docker_compose/backup.sh
  2. Check if it is saved correctly with crontab -l