Posted 2013-05-08 00:08 by Joe
Transfer a file between two systems
This command copies a file between two systems managed by Cloudmin,
using a direct copy with
scp where possible.
The source system is specified with the
and the target with
The file or directory to copy is set with
By default it will be copied to the same path on the target,
--destfile parameter followed by a new filename is given.
To double-check that the file was transferred correctly,
This will trigger an md5 checksum on the source and destination files.
If the file being copied is actually a device (such as a partition or LVM logical volume),
--device flag to have Cloudmin transfer it in the correct way.
By default Cloudmin will transfer the file directly from the source system to the destination.
you can force the transfer to go via the master system instead with the
cloudmin transfer-file --source xencentos.home --dest xensendmail.home --file /etc/hosts --destfile /tmp/hosts Copying /etc/hosts on xencentos.home to /tmp/hosts on xensendmail.home .. .. done
Command Line Help
Copies a file from one managed system to another. cloudmin transfer-file --source hostname --dest hostname --file path [--destfile path] [--device-file] [--checksum [--checksum-size bytes]] [--via-master]