Skip to content

Commit

Permalink
Fixes #486 - Added command for moving files with delay parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ralf401 committed Jun 4, 2024
1 parent bc09370 commit 9ced693
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions admin/console/zammad-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,18 @@ Use the following command

.. code-block:: ruby
>> Setting.get('storage_provider') # get the current Attachment-Storage
>> Setting.set('storage_provider', 'DB') # Change Attachment-Storage to database
>> Setting.get('storage_provider') # get the current Attachment-Storage
>> Setting.set('storage_provider', 'DB') # Change Attachment-Storage to database
If you have already stored files and want to move them, you can use the
following example. Please be aware that this operation should only be executed
in non-productive environments. In case you have to perform it in production
environments, you should specify a sleep delay - otherwise your Zammad can be
unresponsive.

.. code-block:: ruby
>> Store::File.move('DB', 'File', delay_in_sec) # Move files from DB to File with a specified delay after each file in seconds, e.g. 1
The following settings are available in a default installation:

Expand Down

0 comments on commit 9ced693

Please sign in to comment.