Moving files from one tower to another


Recommended Posts

Yes, there is, but it is a lot of work.  You can mount the shares from tower2 onto tower1, then use midnight commander to move the files.  I don't know the syntax to mount the shares, you will have to look those up.

 

Why not just use Windows + TeraCopy?  Much simpler and safer, albeit slower.

Link to comment

Easier method would be to use your windows machine and a program called teracopy. Then have teracopy do a verify to ensure the files were synced/copied without error. 

 

Faster method definitely is rsync. But harder to do if your not familiar with linux drive mounting.

 

Sent from my SGH-I727R using Tapatalk

Link to comment

Sorry not scripts as automated ones but cmd lines:

 

Now I'm going from memory here as I haven't done this for a while but you have to mount the other folder from the server you want the data from.

 

Create a temp directory

mkdir /mnt/temp

mount the server to copy from into the server to copy to

mount -t nfs //xxx.xxx.xxx.xxx:/your/folder /mnt/temp

run this in screen

screen

rsync the files you want over

rsync -av --stats --progress /mnt/temp /dir you want the files

exit screen ctrl + A and the ctrl + D

 

to return type screen -r

 

I hope that is all correct :P

Josh

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.