[ale] copying data between 2 ubuntu vm's

JD jdp at algoloma.com
Fri Sep 23 20:26:09 EDT 2011


On 09/23/2011 07:31 PM, Narahari 'n' Savitha wrote:
> Friends:
> 
> I have a VM1 which is 23GB with 2GB of swap.
> 
> I have another VM2 which is 21GB with 2GB of swap.
> 
> What is the best and efficient way of copying the data from VM2 to VM1 ?
> 
> Time is not a factor but reliably copy is.


Probably rsync, but scp, rcp, ftp, sftp or any other "copy" tool of your
choice will work.  I'd avoid CIFS.

Treat each VM just like a regular machine. If you've setup a VM-only
switch, using that instead of the public IP would probably be faster,
but if the VM virtual-disks are physically on the same HDD, that will be
the limiting factor.

You could setup NFS between the systems or use iSCSI between them too,
if you like. Probably overkill when rsync is so much easier.


More information about the Ale mailing list