Migration - DigitalExcellence/dex-backend GitHub Wiki
Migration
Back-up Database
To set the cronjob for the file you need to take the following steps:
- Edit the crontab file for the logged-in user
crontab -e
If you are using crontab for the first time choose your preferred editor
- Add the following line to the file:
0 */12 * * * /home/ubuntu/docker_compose/backup.sh
- Check if it is saved correctly with
crontab -l