RT::Extension::ExternalStorage::Disk - On-disk storage of attachments
Set(%ExternalStorage, Type => 'Disk', Path => '/opt/rt4/var/attachments', );
This storage option places attachments on disk under the given Path, uncompressed. The files are de-duplicated when they are saved; as such, if the same file appears in multiple transactions, only one copy will be stored on disk.
Path
The Path must be readable by the webserver, and writable by the bin/extract-attachments script. Because the majority of the attachments are in the filesystem, a simple database backup is thus incomplete. It is extremely important that backups include the on-disk attachments directory.
bin/extract-attachments
Files also must not be modified or removed; doing so may cause internal inconsistency.
must not be modified or removed
To install RT::Extension::ExternalStorage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::ExternalStorage
CPAN shell
perl -MCPAN -e shell install RT::Extension::ExternalStorage
For more information on module installation, please visit the detailed CPAN module installation guide.