|
@@ -1,17 +1,28 @@
|
|
|
<form class="settings-entry" id="<%= @setting.name %>">
|
|
|
<h2><%- @T(@setting.title) %></h2>
|
|
|
- <p class="help-text"><%- @T('You can switch between the backends for new attachments even on a system that is already in production without any loss of data.') %></p>
|
|
|
+ <p class="help-text"><%- @T('You can switch between the following backends for new attachments even on a system that is already in production without any loss of data.') %></p>
|
|
|
+ <dl class="help-text">
|
|
|
+ <dt><%- @T('Filesystem') %><code>File</code></dt>
|
|
|
+ <dd><%- @T('Attachments are stored in the filesystem.') %></dd>
|
|
|
+ <dt><%- @T('Database') %><code>DB</code></dt>
|
|
|
+ <dd><%- @T('Attachments are stored in the database.') %></dd>
|
|
|
+ <dt><%- @T('Simple Storage (S3)') %><code>S3</code></dt>
|
|
|
+ <dd><%- @T('Attachments are stored in a Simple Storage Service.') %></dd>
|
|
|
+ </dl>
|
|
|
<p class="help-text"><%- @T('If you want to move already stored attachments from one backend to another, you need to execute the following via console.') %></p>
|
|
|
- </p>
|
|
|
+ <code>
|
|
|
+ rails> Store::File.move(SOURCE_STORAGE, TARGET_STORAGE)
|
|
|
+ </code>
|
|
|
+ <p class="help-text"><%- @T('Examples:') %></p>
|
|
|
<p class="help-text"><%- @T('Move all from "%s" to "%s":', 'filesystem', 'database') %></p>
|
|
|
</p>
|
|
|
<code>
|
|
|
rails> Store::File.move('File', 'DB')
|
|
|
</code>
|
|
|
- <p class="help-text"><%- @T('Move all from "%s" to "%s":', 'database', 'filesystem') %></p>
|
|
|
+ <p class="help-text"><%- @T('Move all from "%s" to "%s":', 'database', 'simple storage') %></p>
|
|
|
</p>
|
|
|
<code>
|
|
|
- rails> Store::File.move('DB', 'File')
|
|
|
+ rails> Store::File.move('DB', 'S3')
|
|
|
</code>
|
|
|
<br>
|
|
|
<br>
|