This module does two things:
- Moves all attachments from the database to the file system, clearing the binary data out of the db as it goes.
- Removes unneeded attachment history.
All you need to do is install this module in a Kentico 8.2 instance, then a single click will accomplish either of those two things.
In the Kentico Admin interface:
-
Go to the
Modules
module. -
Click
New Module
. -
Fill out the following values:
- Module Display Name: Spring Cleaning
- Module Code Name: SpringCleaning
-
Click
Save
. -
On the side menu that appears, go to
Sites
and assign the module to any sites you want it to appear in the admin interface for. It needs to be assigned to at least one site or it will be inaccessible. -
Go to
User Interface
. On theCMS
tree navigator on the side, expandAdministration
>Custom
. -
Select
Custom
and hit the+
button. Fill out the following values:- Display name: Spring Cleaning
- Code name: SpringCleaning
- Element Content Type: URL
- Element Target URL: ~\CMSModules\SpringCleaning\Default.aspx
-
Click Save.
-
In File Explorer, copy the
App_Code
,CMSModules
, andCMSScripts
folders from this repo to theCMS
folder in you Kentico instance. -
Go to the
System
module and restart the site, then do a full page refresh.
After all that, the Spring Cleaning
module should appear in the Kentico Admin menu for the sites you assigned it to.
Couldn't be simpler. For each of the tasks, just hit Start
. To stop, Hit
stop. I would however, recommend reloading page in between running either task.