
1 lusin 2013-04-22 12:06:13 +08:00 我是想知道如何将本地的数据同步到LINUX服务器 网站本地更新频繁,数据如何自动同步到服务器:) |
2 feiandxs 2013-04-22 12:11:16 +08:00 在key设置好的情况下 rsync -avz user@linode_ip:/dir/data/* ~/backup/ 加入cron执行 windows下安装cwrsync的客户端用计划任务执行 or seafile/aerofs/dropbox 1L的话反过来就行。 |
4 feiandxs 2013-04-22 12:59:13 +08:00 对了楼主,这种问题下次问之前可以多搜索搜索。真的。 尤其不要在cpyug的邮件列表里问这么初级的问题,以及就算你实在憋不住要问,请加[OT]标签。谢谢。 |
5 c4tn 2013-04-22 13:34:58 +08:00 最简单的下载一个winscp |
7 cnxh 2013-04-22 13:48:28 +08:00 dropbox + cron |
8 wangkangluo1 2013-04-22 15:30:15 +08:00 集成软件:http://wangkangle.com/pub/tools/MobaXterm_Personal_4.0.exe rsync -avP -e ssh [email protected]:/root/paths/test.tar.gz ./ |
9 kenneth OP @wangkangluo1 想问下如果本地是windows的如何写路径呢?能否用rsync? |
10 feiandxs 2013-04-22 18:06:59 +08:00 |
12 shierji 2013-04-22 19:03:57 +08:00 我都是用github中转这边push那边pull= = 主要是不想自己搭git服务器 |
13 wangkangluo1 2013-04-22 21:03:59 +08:00 @kenneth 本地目录ls :Drivers 可直接使用rsync通过ssh 与远程同步 rsync -avP -e ssh [email protected]:/root/paths/test.tar.gz /root /paths |
14 kenneth OP cygwin中的rsync为什么同步不下来?大家遇到过? |
15 kenneth OP @feiandxs @wangkangluo1 还是同步不下来啊?哪里错了? rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender= 3.0.9] rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(610) [Receive r=3.0.8] |
16 wangkangluo1 2013-04-24 18:14:06 +08:00 @kenneth 你用的指令? |
18 feiandxs 2013-04-25 08:12:00 +08:00 |
19 ftao 2013-04-25 10:09:06 +08:00 或者考虑新出的 BitTorrent Sync , 挺合适的。 http://labs.bittorrent.com/experiments/sync.html |
20 jint 2013-04-25 10:32:17 +08:00 via Android BitTorrent Sync +1 |