Backup scheduling


(David O'Dea) #1

A couple of questions regarding backup schedule:

  1. Is there any way to increase the backup frequency above the current max of once per day ?
  2. Is it possible to set our own time at which the system takes the backup ?

(ljpp) #2

There is a setting:

backup time of day

The shortest interval however is 24h, I beleive.


(Jay Pfaffman) #3

One could force more frequent backups via the API, I would think.


(Ryan Erwin) #4

Just use cron to run the following job at your desired frequency. Current working directory doesn’t matter.

sudo docker exec app discourse backup

(Assuming your container name is app, sudo not required if it’s roots cron…)