After the export directories have been created, the task folders can be copied from the source system to the target system. Depending on the amount of data involved, different methods can be used for the transfer.
If an external hard disk is to be used for the transfer, the cp
command can be used to copy from the source system to the hard disk and later back from the hard disk to the target system.
Example call for the copy operation from the source system to the external hard disk:
Example call for the copy operation from the external hard disk to the target system:
If a network connection can be established between the source system and the target system, data transfer is possible using the commands scp
or rsync
. The advantage of transferring data using rsync
is that any interruption of the connection can be resumed without having to start the entire transfer again from the beginning.
An example of such a call is as follows:
If the call should only transfer certain directories, use a maximum bandwidth and also exclude other data, such a call could also become a bit more extensive:
To export to an S3 Bucket to AWS you can use the script s3sync.py
.