# Backup scheduling

**URL:** https://meta.discourse.org/t/backup-scheduling/50324
**Category:** Support
**Created:** [September 19, 2016, 11:51am UTC](https://meta.discourse.org/t/backup-scheduling/50324 "2016-09-19T11:51:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kuyashi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuyashi/32/82068_2.png) [@kuyashi](https://meta.discourse.org/u/kuyashi)
#### Post date: [September 19, 2016, 11:51am UTC](https://meta.discourse.org/t/backup-scheduling/50324/1 "2016-09-19T11:51:21Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [September 19, 2016, 12:13pm UTC](https://meta.discourse.org/t/backup-scheduling/50324/2 "2016-09-19T12:13:09Z")

</div>

There is a setting:

```
backup time of day

```

The shortest interval however is 24h, I beleive.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 19, 2016, 1:28pm UTC](https://meta.discourse.org/t/backup-scheduling/50324/3 "2016-09-19T13:28:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ryanerwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanerwin/32/94589_2.png) [@ryanerwin](https://meta.discourse.org/u/ryanerwin)
#### Post date: [October 15, 2018, 4:05pm UTC](https://meta.discourse.org/t/backup-scheduling/50324/4 "2018-10-15T16:05:17Z")

</div>

> [@pfaffman](#):
>
> One could force more frequent backups via the API

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…)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 8, 2021, 7:54am UTC](https://meta.discourse.org/t/backup-scheduling/50324/5 "2021-07-08T07:54:58Z")

</div>


