# Quelqu'un a-t-il écrit un script de restauration automatique hebdomadaire

**URL:** <https://meta.discourse.org/t/anybody-wrote-a-weekly-auto-restore-script/376877>\
**Category:** Product Support\
**Tags:** backups\
**Created:** [Août 1, 2025, 2:42 UTC](https://meta.discourse.org/t/anybody-wrote-a-weekly-auto-restore-script/376877 "2025-08-01T14:42:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [Août 1, 2025, 4:10 UTC](https://meta.discourse.org/t/anybody-wrote-a-weekly-auto-restore-script/376877/5 "2025-08-01T16:10:26Z")

</div>

Ceci

```plaintext
docker exec app bash -c '$(discourse restore | grep discourse|head -1)'

```

restaurera la dernière sauvegarde. Ensuite, il suffira de faire exécuter chron quand vous le souhaitez.

---

_[View the full topic](https://meta.discourse.org/t/anybody-wrote-a-weekly-auto-restore-script/376877)._
