$ scp filename*.dmp remotehost:/Backups/
For the most part that will work fine but if you have a limited network pipe between your source and target server and if you have multiple large files then this serial or single-threaded method may not be the optimal solution especially if time is of the essence because you would end up waiting for each file to be fully copied before the next file would be copied.
I have come up with a cool innovative method I have been using for many years to copy a list of multiple files in parallel from your source server to the target server. Please note this method can be used for just about anything such as multiple export dump files, RMAN backup files, logfiles files and so on. I would highly recommend this method when copying files to the Cloud or any remote host.
Hope these steps help you to save time and copy your files to the remote server that could be in your own Datacenter, a remote Datacenter or even in the Cloud!
1. First create a file that will contain a list of all of the files to be copied.
2. Review the list of the contents of the files.
$ cat copy_dump_files
scp /Backup/export_01.dmp remotest:/Backups/
4. Next we split the copy_dump_files file into smaller pieces as follows with only 2 lines per resulting file. Note you could change the number from 2 to anything. The higher the number the more files will be in each split file.
$ split -l 2 copy_dump_files copy_dump_files_1
5. Please note the resulting files will each contain 2 lines as specified in the previous step with the split command.
$ wc -l copy_dump_files_1*
$ ls -1 copy_dump_files_1* > copy_script.sh
$ nohup ./copy_script.sh &