diff options
Diffstat (limited to 'docs/build/Running-Backups/Backups/index.html')
-rw-r--r-- | docs/build/Running-Backups/Backups/index.html | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/build/Running-Backups/Backups/index.html b/docs/build/Running-Backups/Backups/index.html index aabe029..04d1ffe 100644 --- a/docs/build/Running-Backups/Backups/index.html +++ b/docs/build/Running-Backups/Backups/index.html @@ -655,6 +655,13 @@ </li> + <li class="md-nav__item"> + <a href="#search-indexes" title="Search Indexes" class="md-nav__link"> + Search Indexes + </a> + +</li> + </ul> @@ -785,6 +792,13 @@ </li> + <li class="md-nav__item"> + <a href="#search-indexes" title="Search Indexes" class="md-nav__link"> + Search Indexes + </a> + +</li> + </ul> @@ -814,12 +828,21 @@ <h2 id="uploads">Uploads<a class="headerlink" href="#uploads" title="Permanent link">¶</a></h2> -<p>The <code>/uploads</code> directory is gzip compressed and archived as a tar file, stored in the temporary directory (typically <code>/tmp</code> on Linux) on your origin server with a timestamp in the file name. </p> +<p>The <code>uploads</code> directory is gzip compressed and archived as a tar file, stored in the temporary directory (typically <code>/tmp</code> 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.</p> <p>An example backup request for the <code>/uploads</code> directory would look like:</p> <div class="codehilite"><pre><span></span>$ curl --user user:pass <span class="s2">"https://example.com/admin/backup?source=uploads"</span> > uploads.tar.gz <span class="c1"># unarchive the tarball with gzip </span> $ tar xzf uploads.tar.gz </pre></div> + + +<h2 id="search-indexes">Search Indexes<a class="headerlink" href="#search-indexes" title="Permanent link">¶</a></h2> +<p>The <code>search</code> directory, which is created to store the various search indexes for your content types (only if they implement <code>search.Searchable</code>), is backed up in the same fashion as <a href="../../Running-Backups/Backups/#uploads">Uploads</a>. </p> +<p>An example backup request for the <code>/search</code> directory would look like:</p> +<div class="codehilite"><pre><span></span>$ curl --user user:pass <span class="s2">"https://example.com/admin/backup?source=search"</span> > search.tar.gz +<span class="c1"># unarchive the tarball with gzip </span> +$ tar xzf search.tar.gz +</pre></div> |