Discussion Locked

Copy files to remote server

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I copy files and folders from one server to another server every night.
I have to sync data between two servers every night as these servers are spread across WAN.

Are there any free tools I can use, Can i use simple Copy command?

Thanks
Nikhil

3 replies

by bfilmfan

Use a DOS batch job assuming the servers will accept DOS commands.

With Unix, you might wish to use PERL or shell script.

by tbragsda

.
Arcserve and others can do a nice job with this sort of task. Do you need two-way sync, or just copy?

If you need some help with a batch, post back. Should be easy enough.

by tonythetiger

Using Robocopy from the resource kit. We have a backup server in another building. We robocopy the files from two other servers to this one every night, just after backing up that server. This speeds up restores, 90+% of which are from the day before (just copy it back), plus, since robocopy can copy security information too, if we have a file server crash all I have to do is change one line in the login script and the users are pointed to the backup server (with yesterday's data, of course).

Robocopy has another advantage over copy or xcopy in that it can also remove files on the target, to make a true mirror image.

I think once we go to active directory that there will be better/easier solutions for this, but for now it works great.

This discussion is closed to new replies.