[转载] 远程备份的问题# Unix - 噫吁兮,危乎高哉
c*t
1 楼
【 以下文字转载自 Linux 讨论区 】
【 原文由 coldstart 所发表 】
有两台机器,机器A上有tape driver(设ip为a.a.a.a)。
想从这台机器A上使用ssh和tar命令,将另外一台机器B
(设ip为b.b.b.b)上的文件备份到这台有tape driver的机器A上。
我用的命令是:
ssh b.b.b.b "tar cvf - /aa" > /dev/st0
此过程好象能顺利完成。但当我在机器A上使用
tar tvf /dev/st0
或
tar xvf /dev/st0
命令时,都会出现
tar: Unaligned block (6523 bytes) in archive
tar: Error is not recoverable: exiting now
或者
tar: /dev/nst0: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
的错误信息。
不知
【 原文由 coldstart 所发表 】
有两台机器,机器A上有tape driver(设ip为a.a.a.a)。
想从这台机器A上使用ssh和tar命令,将另外一台机器B
(设ip为b.b.b.b)上的文件备份到这台有tape driver的机器A上。
我用的命令是:
ssh b.b.b.b "tar cvf - /aa" > /dev/st0
此过程好象能顺利完成。但当我在机器A上使用
tar tvf /dev/st0
或
tar xvf /dev/st0
命令时,都会出现
tar: Unaligned block (6523 bytes) in archive
tar: Error is not recoverable: exiting now
或者
tar: /dev/nst0: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
的错误信息。
不知