Crontab setup on docker compose installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FilippoLec
    Junior Member
    • Feb 2026
    • 7

    #1

    Crontab setup on docker compose installation

    I recently got into a massive headache because I lost almost 10 months of data for (probably) a stupid mistake of mine. The closest backup I had was from 8 months ago so I decided to add a crontab job to backup all the espocrm data every day.

    I read the documentation at https://docs.espocrm.com/administrat...ing-up-crontab, but I still haven't figured some things:
    1. What is the espocrm instance folder for a docker compose instance? Is it /var/www/..., /espocrm-docker/espocrm or a thing in the docker espocrm container itself?
    2. Do I have to set the crontab on the main machine running docker or in the docker espocrm itself?
    3. Can I make crontab run the backup-docker-container.sh script?
    4. How do I check if it is working before realizing it isn't?

    I've never worked with crontab and I don't want to mess it up (again) so I am asking before doing anything.

    Thanks for any time you put into helping me <3.
    Last edited by FilippoLec; Yesterday, 05:35 PM.
Working...