Template:LocalStorage

From WHMCS Documentation

  1. Go to Configuration () > System Settings > Storage Settings or, prior to WHMCS 8.0, Setup > Storage Settings.
  2. Choose the Configuration tab.
  3. Under Add New Configuration, choose Local Storage and click Add.
  4. Enter path to the new storage location and click Save. The directory must exist and be writable.
  5. Choose the Settings tab.
  6. Select the new storage location for the file type that you wish to migrate to the new location.
  7. Click Migrate when the system prompts you to migrate the files automatically.
    • 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.
    • Instead of using automated migration, you may opt to migrate your files manually and switch the relevant file type's storage setting immediately.
      • This will skip automatic migration and assumes your responsibility for moving the files to the new location.
      • Some 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.
  8. After the automatic migration finishes, validate whether the migration was successful.
  9. Delete the files in the prior location. The system will not automatically delete these files.

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.

If you make a change by mistake, click Revert Changes to cancel any changes.