The Retrieval Tool is a utility which is used to transfer (or "retrieve") digital content from DuraCloud to your local file system.
Download the retrieval tool here.
java -version |
java -jar retrievaltool-[version]-driver.jar |
Short Option |
Long Option |
Argument Expected |
Required |
Description |
Default Value (if optional) |
---|---|---|---|---|---|
-h |
--host |
Yes |
Yes |
The host address of the DuraCloud DuraStore application |
|
-r |
--port |
Yes |
No |
The port of the DuraCloud DuraStore application |
443 |
-u |
--username |
Yes |
Yes |
The username necessary to perform writes to DuraStore |
|
-p |
--password |
Yes |
Yes |
The password necessary to perform writes to DuraStore |
|
-i |
--store-id |
Yes |
No |
The Store ID for the DuraCloud storage provider |
The default store is used |
-s |
--spaces |
Yes |
No |
The space or spaces from which content will be retrieved. Either this option or -a must be included |
|
-a |
--all-spaces |
No |
No |
Indicates that all spaces should be retrieved; if this option is included the -s option is ignored |
Not set |
-c |
--content-dir |
Yes |
Yes |
Retrieved content is stored in this local directory |
|
-w |
--work-dir |
Yes |
Yes |
Logs and output files will be stored in the work directory |
|
-o |
--overwrite |
No |
No |
Indicates that existing local files which differ from files in DuraCloud under the same path and name sould be overwritten rather than copied |
Not set |
-t |
--threads |
Yes |
No |
The number of threads in the pool used to manage file transfers |
3 |
java -jar retrievaltool-0.8.0-driver.jar -c content -h test.duracloud.org -u myname -p mypassword -w work -s space1 space1 -o |