Rsync问题从远程服务器拉到本地服务器

时间:2013-12-22 03:50:10

标签: ssh rsync

我一直在用这个打墙,我不完全确定问题是什么。我将发布两个例子,说明我正在尝试做一个有效的,一个没有,不幸的是我需要后者才能工作。

错误:

  

意外的本地arg:/ data /   如果arg是远程文件/目录,则在其前面加上冒号(:)。   rsync错误:main.c上的语法或用法错误(代码1)(1215)[receiver = 3.0.6]

此命令执行没有问题,但似乎它没有完全rsync我的/ data目录。

  

rsync -e“ssh -e'no'” - force -azPxvIh --delete-after --exclude-from =“/ tmp / exclude.txt”root @ myserver:/ /> “/tmp/wetrun.txt”

这是我一直试图用来rsync我的/ data目录的命令,似乎失败了。

  

rsync -e“ssh -e'no'” - force -azPxvIh --delete-after --exclude-from =“/ tmp / exclude.txt”root @ myserver:/ data / / data / > “/tmp/wetrun.txt”

0 个答案:

没有答案