Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-170

propertyfiles parameter in restoring a backup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • content
    • 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

        Attachments

          Activity

            People

              ahietala Antti Hietala
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR