China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 03:29
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Copying data over the network View 648 Replies 2
Original Poster Posted 2009-06-30 08:48 ·  中国 广东 东莞 电信
新手上路
Credits 2
Posts 2
Joined 2009-05-10 12:25
17-year member
UID 144788
Gender Male
Status Offline
I often need to back up data from a host on the LAN to another host, and the total copy time is about 12 hours or more. Usually I copy at night so it doesn't take up resources. But the network often disconnects unexpectedly, causing the copy job to be interrupted.
Now I'm looking for some code to copy automatically and monitor the network at all times, so that if there is a disconnect, it can continue copying after the network reconnects.
Hope an expert can give some advice. Thanks!
Floor 2 Posted 2009-06-30 14:49 ·  中国 吉林 延边朝鲜族自治州 电信
银牌会员
★★★
正在学习中的菜鸟...
Credits 1,039
Posts 897
Joined 2009-03-01 15:34
17-year member
UID 140302
Gender Male
From 在地狱中仰望天堂
Status Offline
Try to copy the folder as much as possible, and use the /z parameter during the copy process
Floor 3 Posted 2009-06-30 23:20 ·  中国 北京 联通
初级用户
Credits 78
Posts 34
Joined 2006-12-09 05:10
19-year member
UID 73001
Gender Male
Status Offline
Try recopy~~~ as for checking whether the network is working smoothly~~ well, well....... waiting for an expert~~~~ should it check during the copying process, then sleep for a while... and then start copying again?
Try using a script like AU3, it should be easier to implement that way。。。。。。。。。。。
Forum Jump: