Import data sources
To get a list of supported filessystems and options:
-l|--listfsList supported filesystems and options
Local filesystem
This is the default source, and the easiest to configure, since it has no configuration options.
$ intorods '/home/user/mydata' '/demoZone/home/user/'
SMB filesystem
-s|--source_fsTo use the SMB/CIFS filesystem use the smb source_fs option.
-o|--source_optionThe smb source_fs needs the source_options for the SMB share:
server=<server>,
share=<sharename>,
nbserver=<netbios servername>,
username=<user>,
domain=<domain>,
password=<password>
and a source_path, the path in the SMB share.
example:
$ intorods -s smb -o server='server1.localdomain',share='data',username='smbuser',password='secret' '/data/mydata' '/demoZone/home/user/'
FTP filesystem
-s|--source_fsTo use the SFTP filesystem use the ftp source_fs option.
-o|--source_optionThe ftp source_fs needs the source_options for the FTP share:
Mandatory option:
hostname=<hostname>
Optional options:
username=<user>,
password=<password>
If you do not provide credentials, anonymous login will be attempted
example:
$ intorods -s ftp -o hostname='server2.localdomain' '/home/ftpusers/data' '/demoZone/home/user/'
SFTP filesystem
-s|--source_fsTo use the SFTP filesystem use the sftp source_fs option.
-o|--source_optionThe sftp source_fs needs the source_options for the SFTP share:
hostname=<hostname>,
username=<user>,
password=<password>
and a source_path, the path in the SFTP share.
example:
$ intorods -s sftp -o hostname='server2.localdomain',user='sftpuser',password='secret' '/home/sftpusers/data' '/demoZone/home/user/'
SCP filesystem
-s|--source_fsTo use the SCP filesystem use the scp source_fs option.
-o|--source_optionThe scp source_fs needs the source_options for the SCP share:
hostname=<hostname>,
username=<username>
SCP uses the secure ssh key to get acces to the share.
and a source_path, the path in the SCP share.
example:
$ intorods -s scp -o hostname='server3.localdomain',user='sftpuser' '/home/user/data' '/demoZone/home/user/'
iRODS instance
`-s|-source_fsTo use an iRODS instance use the irods source_fs option.
-o|--source_optionThe irods source_fs needs the source_options for the iRODS instance:
resource=<dest resource>,
use_ssl=<true|false>,
host=<host>,
user=<user>,
password=<passwd>,
zone=<zone>,
timeout=<timeout>
and a source_path, the path in the iRODS instance.
example:
$ intorods -s irods -o resource='storageResc',use_ssl='true',host='server4.localhost',user='irodsuser',password='secret',zone='otherZone',timeout='180' '/otherZone/projects/myProject' '/demoZone/home/user/'