Sample Archive Configuration File

Sample archive.xml file configuration.

<PlatformArchive
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="file:///install/etc/esp_iqloader.xsd" >
	<SybaseIQ id="Warehouse" dsn="ArchiveDsn">
		<Option name="FORMAT" value="BINARY"/>
		<Option name="ESCAPES" value="ON"/>
		<Option name="BLOCK SIZE" value="100000"/>
	</SybaseIQ>
	
<Streams id="MyArchive">
		<Stream sourceName="Titles" targetName="Titles" \
			timestampLocation="last" controlStreamName="Titles_truncate"
			logStreamName="Titles_log"/>
		<Stream sourceName="Books" targetName="Books_Archive" \
			controlStreamName="Books_truncate" logStreamName="Books_log"/>
		<Stream sourceName="Sales" targetName="Sales" \
			timestampLocation="last" controlStreamName="Sales_truncate"
			logStreamName="Sales_log"/>
	</Streams>

	<Archive target="Warehouse" archiveStreams="MyArchive" \
		tempDir="/tmp/workdir" timestampName="ArchiveTime" \
		logDir="/tmp/logDir/"/>
</PlatformArchive>