diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-06-26 17:53:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-26 17:53:30 -0700 |
commit | cf10622c6f4459561e313af98593b550f77a0ec2 (patch) | |
tree | 5837f3a3ae1c767f8985374f9f77914f9e869a32 /docs/src | |
parent | e2aeabb21ffae9446d13e43a2feed0002241bb1d (diff) | |
parent | 98ffc3406f2b3cb7c9e7d1e42c81cb91bf167d9e (diff) |
Merge pull request #173 from ponzu-cms/ponzu-dev
[docs] add search index backup
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/Running-Backups/Backups.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/src/Running-Backups/Backups.md b/docs/src/Running-Backups/Backups.md index 15632a0..fde0cab 100644 --- a/docs/src/Running-Backups/Backups.md +++ b/docs/src/Running-Backups/Backups.md @@ -16,11 +16,21 @@ $ curl --user user:pass "https://example.com/admin/backup?source=system" > syste ``` ## Uploads -The `/uploads` directory is gzip compressed and archived as a tar file, stored in the temporary directory (typically `/tmp` on Linux) on your origin server with a timestamp in the file name. +The `uploads` directory is gzip compressed and archived as a tar file, stored in the temporary directory (typically `/tmp` on Linux) on your origin server with a timestamp in the file name. It is removed after the HTTP response for the backup has been written. An example backup request for the `/uploads` directory would look like: ```bash $ curl --user user:pass "https://example.com/admin/backup?source=uploads" > uploads.tar.gz # unarchive the tarball with gzip $ tar xzf uploads.tar.gz +``` + +## Search Indexes +The `search` directory, which is created to store the various search indexes for your content types (only if they implement `search.Searchable`), is backed up in the same fashion as [Uploads](/Running-Backups/Backups/#uploads). + +An example backup request for the `/search` directory would look like: +```bash +$ curl --user user:pass "https://example.com/admin/backup?source=search" > search.tar.gz +# unarchive the tarball with gzip +$ tar xzf search.tar.gz ```
\ No newline at end of file |