]> git.argeo.org Git - gpl/argeo-slc.git/blob - lib/org.argeo.slc.lib.jcr/META-INF/spring/backup.xml
JCR repository backup
[gpl/argeo-slc.git] / lib / org.argeo.slc.lib.jcr / META-INF / spring / backup.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns:flow="http://www.argeo.org/schema/slc-flow" xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4 xsi:schemaLocation="
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
7
8 <flow:flow name="backup">
9 <description>Backups a JCR repository as XML</description>
10 <flow:spec>
11 <flow:primitive name="targetFile" value="file://${user.home}/node.zip" />
12 <flow:primitive name="sourceRepo" value="vm:///node/" />
13 <flow:primitive name="sourceWksp" value="" />
14 <flow:primitive name="sourceUsername" value="${user.name}" />
15 <flow:primitive name="sourcePassword" type="password"
16 value="" />
17 </flow:spec>
18 <bean class="org.argeo.slc.lib.jcr.JcrRepositoryBackup">
19 <flow:variable proxy-target-class="false" />
20 <property name="targetFile" value="@{targetFile}" />
21 <property name="sourceRepo" value="@{sourceRepo}" />
22 <property name="sourceWksp" value="@{sourceWksp}" />
23 <property name="sourceUsername" value="@{sourceUsername}" />
24 <property name="sourcePassword" value="@{sourcePassword}" />
25 <property name="repositoryFactory" ref="repositoryFactory" />
26 <property name="fileSystemManager" ref="fileSystemManager" />
27 </bean>
28 </flow:flow>
29 </beans>