# Proper way to secure/backup Discourse on self-hosted server?

**URL:** <https://meta.discourse.org/t/proper-way-to-secure-backup-discourse-on-self-hosted-server/148624>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [20 april 2020 om 14:36 UTC](https://meta.discourse.org/t/proper-way-to-secure-backup-discourse-on-self-hosted-server/148624 "2020-04-20T14:36:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [20 april 2020 om 14:46 UTC](https://meta.discourse.org/t/proper-way-to-secure-backup-discourse-on-self-hosted-server/148624/3 "2020-04-20T14:46:12Z")

</div>

> [@Canapin](#):
>
> On my forum, I use [rclone](https://meta.discourse.org/t/how-to-sync-your-backups-to-cloud-storage-alternative-method/97294) and sync my local backup folders with a google drive folder.

If you remotely synce `/var/discourse/containers` and /var/discourse/shared/standalone/backups`you'll be good. If your server goes away, you'll need only the container`yml` file(s) and the most recent backup. I recommend daily backups. If you’re especially clever and devoted, you could have some trimming process on your rsync destination that keeps weekly, monthly, yearly, backups.

---

_[View the full topic](https://meta.discourse.org/t/proper-way-to-secure-backup-discourse-on-self-hosted-server/148624)._
