General discussion


Copy files to remote server

By ntambe ·
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?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

batch job

by BFilmFan In reply to Copy files to remote serv ...

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

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

Collapse -

That, or what you using for backup software.

by tbragsda In reply to batch job

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.

Collapse -

We are doing exactly that.

by TonytheTiger In reply to Copy files to remote serv ...

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.

Related Discussions

Related Forums