0

I want to implement backup tasks for my docker containers using crontab

Question :

  • Is it a nice way to implement backup task of a docker containers ?
  • How do you add a crontab ? Dockerfile ?
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204

1 Answers1

1

If you want to run cron as a main purpose of the container than fine, look at some older questions:

If you want to run it as side task (as cron usually run), I would reconsider going with first option :)

Community
  • 1
  • 1
Fuxi
  • 5,298
  • 3
  • 25
  • 35