Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
Description
Document the use of propertyfiles parameter when restoring a backup. See Nils' comment on the Backup module page.
This is the list of default locations where the initializer will try to find a magnolia.properties configuration file:
- WEB-INF/config/${servername}/${webapp}/magnolia.properties
- WEB-INF/config/${servername}/magnolia.properties
- WEB-INF/config/${webapp}/magnolia.properties
- WEB-INF/config/default/magnolia.properties
- WEB-INF/config/magnolia.properties
The default location can be overridden using the magnolia.initialization.file context parameter in web.xml. So AbstractBasicExecutable will look for the location of your properties in web.xml next.
If you put the properties file in a custom location and didn't say so in web.xml, you need to pass the location with propertyfiles parameter or the restore script won't find it.
Checklists
Acceptance criteria