The file that it mentions to copy over to the specified directory does not contain the indexBackupTrigger bean for the command to "Delete each pair of <bean> </bean> tags (excluding the pair containing the indexBackupTrigger bean)."
I'm on 4.2.c community.
My goal is to setup a time for the index to backup so I can do hot backups. Anyone have a sample xml file they are willing to share?
Hi, this file does not contain the indexBackupTrigger bean also in version 4.0.d, but it does in version 3.3.g <blockcode> <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!– Job to scan for expired content in website staging areas –> <bean id="avmExpiredContentTrigger" class="org.alfresco.util.CronTriggerBean"> <property name="jobDetail"> <bean id="avmExpiredContentJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>org.alfresco.repo.avm.AVMExpiredContentJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="expiredContentProcessor"> <ref bean="avmExpiredContentProcessor" /> </entry> </map> </property> </bean> </property> <property name="scheduler"> <ref bean="schedulerFactory" /> </property> <!– trigger at 3:30am each day –> <property name="cronExpression"> <value>0 30 3 * * ?</value> </property> </bean> <!– enable scheduler property to activate –> <bean id="userUsageCollapseJob" class="org.alfresco.util.TriggerBean"> <property name="jobDetail"> <bean id="userUsageTrackingJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>org.alfresco.repo.usage.UserUsageCollapseJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="userUsageTrackingComponent"> <ref bean="userUsageTrackingComponent" /> </entry> </map> </property> </bean> </property> <!– enable this to activate bean –> <property name="scheduler"> <ref bean="schedulerFactory" /> </property> <!– start after 5 minutes and repeat every 5 minutes –> <property name="startDelayMinutes"> <value>5</value> </property> <property name="repeatIntervalMinutes"> <value>5</value> </property> </bean> <!– There is a job available to purge old deploymentattempt nodes –> <!– from the repository. The maximum age of the node can be configured. –> <!– See the wiki (http://wiki.alfresco.com/wikiDeployment) for details –> <!– and the deployment-attempt-cleaner-context.xml.sample file. –>
</blockcode> I really don't know if this bean is still valid or something has been move elsewhere… You can try with this but I can't tell you if it's working.