Linux Rsync恢复部分文件传输

Rsync is very useful tool used by Linux system administrators to sync between systems. We have all ready looked different features of the rsync where you can find them below.

Rsync是Linux系统管理员用于在系统之间进行同步的非常有用的工具。 我们已经准备好了rsync不同功能,您可以在下面找到它们。

Rsync Command Tutorial With Examples

Rsync命令教程与示例

How To Use Rsync Over Ssh In A Secure Manner?

如何以安全的方式在Ssh上使用Rsync?

In this tutorial we will look how to resume partial file transfers with rsync . This is very useful if we are transferring 8GB file but the transfer ended in the middle.

在本教程中,我们将研究如何使用rsync恢复部分文件传输。 如果我们正在传输8GB文件,但传输在中间结束,这将非常有用。

使用部分选项启用恢复 (Enable Resume with Partionally Option)

We will use -P options which will enable to resume interrupted file transfer. This option provides ability to resume even the interrupted transfer is done scp or ftp it simply look files in byte manner and resume where it left. In this example we will resume file named Ubuntu.iso to transfer from remote to local

我们将使用-P选项,这些选项将使恢复中断的文件传输成为可能。 此选项提供了即使在中断传输完成后仍可恢复的功能,例如scpftpscp字节方式查找文件并在其离开的位置恢复。 在此示例中,我们将恢复名为Ubuntu.iso文件以从远程传输到本地

$ rsync - P [email protected]:/home/ismail/Ubuntu.iso Downloads/

使用部分选项启用恢复 (Enable Resume with Partionally Option)

We can made things more secure by using ssh tunnels. In this example we will resume parted transfer over ssh tunnel. In this example we will resume file named Ubuntu.iso to transfer from remote to local using ssh

通过使用ssh隧道,我们可以使事情更加安全。 在此示例中,我们将继续通过ssh隧道进行部分传输。 在此示例中,我们将恢复名为Ubuntu.iso文件,以使用ssh从远程传输到本地

$ rsync -e ssh -P [email protected]:/home/ismail/Ubuntu.iso Downloads/
LEARN MORE  Error: Permission denied (publickey) and Solution
了解更多错误:权限被拒绝(公钥)和解决方案

翻译自: https://www.poftut.com/linux-rsync-resume-partial-file-transfers/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值