# Launcher run app gives error when trying backup

**URL:** https://meta.discourse.org/t/launcher-run-app-gives-error-when-trying-backup/346553
**Category:** Self-hosting
**Tags:** backups
**Created:** [January 10, 2025, 6:39pm UTC](https://meta.discourse.org/t/launcher-run-app-gives-error-when-trying-backup/346553 "2025-01-10T18:39:36Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [January 10, 2025, 9:31pm UTC](https://meta.discourse.org/t/launcher-run-app-gives-error-when-trying-backup/346553/5 "2025-01-10T21:31:58Z")

</div>

> [@Jagster](#):
>
> I don`t how to time it

You have a scheduler _outside_ of the container available, right?

You can schedule it there, e.g.:

```plaintext
# put in host crontab
# run backup once every 4 hours on the hour
0 */4 * * * docker exec app discourse backup --sql-only

```

---

_[View the full topic](https://meta.discourse.org/t/launcher-run-app-gives-error-when-trying-backup/346553)._
