Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Add documentation on hourly backups
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Stoiber authored Jun 7, 2019
1 parent b2af2ed commit 3451b1d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/operations/hourly-backups.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Hourly Off-site Backups

In order to avoid more data loss we implemented hourly off-site backups in [#5150](https://github.com/withspectrum/spectrum/pull/5150). While the implementation is simple, it should cover us well enough.

It works by running two cron jobs:

1. Runs at 30 minutes past every hour and triggers an "on-demand backup" with our database host (Compose)
2. Runs at 0 minutes past every hour, fetches the latest "on-demand backup" from our database host and uploads it to our S3 bucket

To access the latest hourly backup you can either go to the Compose dashboard (app.compose.com), navigate to the RethinkDB deployment and download the newest on-demand backup, or open our S3 bucket and download the latest one from there.

0 comments on commit 3451b1d

Please sign in to comment.