...
Code Block | ||||
---|---|---|---|---|
| ||||
<options> <bufferSize>524288</bufferSize> <!-- <dbConnectString>dbConnectString</dbConnectString> <dbEncPassword>ChangeMe1234</dbEncPassword> --> <dbFile>~/ecs-dbFile</dbFile> <dbTable>ecs-dbTable<_sync_log</dbTable> <deleteSource>false</deleteSource> <estimationEnabled>true</estimationEnabled> <forceSync>false</forceSync> <ignoreInvalidAcls>false</ignoreInvalidAcls> <logLevel>quiet</logLevel> <monitorPerformance>true</monitorPerformance> <recursive>true</recursive> <rememberFailed>false</rememberFailed> <retryAttempts>2</retryAttempts> <!-- <sourceListFile>sourceListFile</sourceListFile> --> <syncAcl>false</syncAcl> <syncData>true</syncData> <syncMetadata>true</syncMetadata> <syncRetentionExpiration>false</syncRetentionExpiration> <threadCount>24</threadCount> <timingWindow>1000</timingWindow> <timingsEnabled>false</timingsEnabled> <verify>false</verify> <verifyOnly>false</verifyOnly> </options> |
...
Option | Description |
---|---|
deleteCheckScript | When the deleteSource global option is true, add this option to execute an external script to check whether a file should be deleted. If the process exits with return code zero, the file is safe to delete. |
deleteOlderThan | When the deleteSource global option is true, add this option to only delete files that have been modified more than <delete-age> milliseconds ago. |
excluded-paths | A list of regular expressions to search against the full file path. If the path matches, the file will be skipped. Since this is a regular expression, take care to escape special characters. For example, to exclude all .snapshot directories, the pattern would be .*/\.snapshot. Specify multiple entries by repeating the option or using multiple lines. |
followLinks | Instead of preserving symbolic links, follow them and sync the actual files. |
includeBaseDir | By default, the base directory is not included as part of the sync (only its children are). enable this to sync the base directory. |
modifiedSince | Only look at files that have been modified since the specifiec date/time. Date/time should be provided in ISO-8601 UTC format (i.e. 2015-01-01T04:30:00Z, which is <yyyy-MM-ddThh:mm:ssZ>). |
path | The directory tree or file that you would like to copy to/from. If the source path points to a single file or object instead of a directory, the destination path must also point to a single file or object. If the source path points to a directory, the directory name will not be included in the destination unless "includeBaseDir" is enabled. |
relativeLinkTargets | By default, any symbolic link targets that point to an absolute path within the primary source directory will be changed to a (more portable) relative path. Set this option false to keep the target path as-is. |
storeMetadata | When used as a target, stores source metadata in a json file, since filesystems have no concept of user metadata. When used as a source, uses the json file to restore the metadata in the target. |
useAbsolutePath | When true, uses the absolute path to the file when storing it instead of the relative path from the source dir. |
...
Code Block | ||
---|---|---|
| ||
<target> <ecsS3Config> <accessKey>accessKey</accessKey> <secretKey>secretKey</secretKey> <port>9020</port> <protocol>http</protocol> <bucketName>bucketName</bucketName> <createBucket>false</createBucket> <enableVHosts>false</enableVHosts> <keyPrefix>keyPrefix</keyPrefix> <apacheClientEnabled>false</apacheClientEnabled> <decodeKeys>false</decodeKeys> <geoPinningEnabled>false</geoPinningEnabled> <!-- <host>host</host> --> <includeVersions>false</includeVersions> <mpuEnabled>true</mpuEnabled> <mpuPartSizeMb>128</mpuPartSizeMb> <mpuThreadCount>4</mpuThreadCount> <mpuThresholdMb>512</mpuThresholdMb> <preserveDirectories>true</preserveDirectories> <remoteCopy>true<<remoteCopy>falsee</remoteCopy> <resetInvalidContentType>true</resetInvalidContentType> <smartClientEnabled>true</smartClientEnabled> <socketConnectTimeoutMs>15000</socketConnectTimeoutMs> <socketReadTimeoutMs>60000</socketReadTimeoutMs> <urlEncodeKeys>false</urlEncodeKeys> <vdcs>uams(ross01.hpc.uams.edu,ross02.hpc.uams.edu,ross03.hpc.uams.edu,ross04.hpc.uams.edu,ross05.hpc.uams.edu,ross06.hpc.uams.edu,ross07.hpc.uams.edu,ross08.hpc.uams.edu,ross09.hpc.uams.edu,ross10.hpc.uams.edu,ross11.hpc.uams.edu,ross12.hpc.uams.edu,ross13.hpc.uams.edu,ross14.hpc.uams.edu,ross15.hpc.uams.edu)</vdcs> </ecsS3Config> </target> |
...