Template:LocalStorage

From WHMCS Documentation

Revision as of 20:51, 18 February 2019 by PeterB (talk | contribs) (Create template for local storage creation for use in multiple pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

  1. Click "Configuration" tab
  2. In "Add New Configuration" tile, choose "Local Storage" or and click "Add".
  3. Enter path to the new storage location. The directory must exist and be writable. Click "Save".
  4. Switch to "Settings" tab.
  5. Select the new storage location for the file type that you wish to migrate to the new location.
  6. Most file types can be migrated automatically, and you will be prompted to start migration by clicking "Migrate" button.
    • For smaller scale deployments, migration will take less than a minute, and your files will then be stored at the new location.
    • If the migration cannot be completed immediately, it will be scheduled to run in the background. Until it is completed, the former location will continue to be used. Once all files are migrated to the new location, the setting will automatically switch to the new selection and begin using the new location.
    • Former location will not be automatically cleaned - you may want to clean it manually once you validate that the migration was successful.
  7. You may choose to cancel an ongoing migration. The present location will then continue to be used. Files migrated to the new location until this point will not be deleted.
  8. Instead of using automated migration, you may opt to migrate your files manually and switch the relevant file types storage setting at once. This will skip automatic migration and assumes your responsibility for moving the files to the new location.
    • If you elect this path, please note that certain file types may be stored by WHMCS in the same folder (for example, client files, email and ticket attachments as well as project management files will be stored in "attachments" folder). If you decide to move all the files away from that folder, all relevant file types must be switched to the new location.
  9. If you made a change by mistake, click "Revert Changes" to cancel any changes.