Windows / Linux – File Migration Tools
In Windows i use robocopy…
This is the syntax to move from one location to another… (i like how robocopy uses UNC paths)
robocopy \\192.168.9.70\videos \\192.168.9.101\videos /move /e /r:2 /w:10
robocopy \\192.168.9.70\software \\192.168.9.101\software /move /e /r:2 /w:10
Note: if you are in a production environment execute the above without the /move for the first run!, if all goes well then run again with the /move switch (this reduces the downtime if you are swapping out servers). i.e. run the first pass before the change window.
/e moves all directories including empty ones.
In Linux i use rsync…
i typically mount a smb share on a windows host…. (you must have cifs client on linux first)
mount -t cifs -n //192.168.9.70/backup /mnt/backup -o username=user,password=mypassword
then use rsync for the copy work…
rsync -rcav /etc/ /mnt/backup/etc/
if your after linux to linux copying then rsync is also the best way to do it (via ssh), logon to your destination box via ssh and run this from your distination diretory..
rsync -ave ssh 192.168.9.10:/var/lib/mysql .
Related posts:
- Windows Cluster – removing orphaned .dll file Recently i uninstalled scanmail off an exchange 2007 cluster environment...
- fedora 11 – LAMP install Setting up LAMP on fedora 11… First install the required...
- windows 2000 – ITMU / Windows Update Issues Get this when doing a windows update – Error number:...
- Diskpart – resizing virtual machine system volumes (windows) Diskpart works quite well extending disk sizes – …unless its...
Related posts brought to you by Yet Another Related Posts Plugin.