tar: Exiting with failure status due to previous errors

忘世麒麟 2014-08-01 04:47:37
/tmp/VMwareDnD/
/tmp/VMwareDnD/803f9e13/
/tmp/VMwareDnD/803f9e13/thread_cond.c
/tmp/VMwareDnD/823698ad/
/tmp/VMwareDnD/823698ad/thread_sem.c
/tmp/.X0-lock
/tmp/indicator-china-weather-1000.pid
/tmp/qtsingleapp-chines-1a7c-3e8-lockfile
/opt/
tar: Exiting with failure status due to previous errors
如上图所示:我使用这条命令备份我的linux系统:
tar cvpzf /home/app/backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/home/app/backup.tgz --exclude=/mnt --exclude=/sys /
我在根目录下使用root 用户的身份,从根目录进行打包。打包的文件放在“/home/普通用户名/”这个路径下,为何打包到一半就出现这个问题?应该如何解决?求大神赐教!!!

...全文
6558 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
Parle 2016-05-16
  • 打赏
  • 举报
回复
Note: At the end of the process you might get a message along the lines of 'tar: Error exit delayed from previous errors' or something, but in most cases you can just ignore that.
zhxianbin 2014-08-05
  • 打赏
  • 举报
回复
我的理解也是在命令行中执行,在恢复之后。 没做过,不一定正确
忘世麒麟 2014-08-05
  • 打赏
  • 举报
回复
引用 2 楼 colddown 的回复:
tmp下的还是别备份了。
引用 3 楼 zhxianbin 的回复:
这个没做过,看看这 2 篇文章: https://help.ubuntu.com/community/BackupYourSystem BackupYourSystem https://help.ubuntu.com/community/BackupYourSystem/TAR BackupYourSystem/TAR
通过第二个链接的方法,我确实将我虚拟机的系统完整的拷贝到了实际系统上。但是,在我重启的时候进入不了系统了,我感觉是我没有做这一步骤“ =================================Restoring GRUB For the system to boot, you will need to restore grub. To do this, you will need to reconfigure it in a chroot: sudo -s for f in dev dev/pts proc ; do mount --bind /$f /media/whatever/$f ; done chroot /media/whatever dpkg-reconfigure grub-pc You will get a menu asking you what drive(s) grub should be installed on. Choose whatever drive(s) the computer will be booting from. For more information on repairing grub, see GrubHowto ===================================== 但是上面的到底应该如何做啊?可以再请教一下吗?
忘世麒麟 2014-08-04
  • 打赏
  • 举报
回复
引用 6 楼 eziowayne 的回复:
是不是少加了一杠。。
加了一杠也是这样
eziowayne 2014-08-04
  • 打赏
  • 举报
回复
是不是少加了一杠。。
忘世麒麟 2014-08-01
  • 打赏
  • 举报
回复
引用 3 楼 zhxianbin 的回复:
这个没做过,看看这 2 篇文章: https://help.ubuntu.com/community/BackupYourSystem BackupYourSystem https://help.ubuntu.com/community/BackupYourSystem/TAR BackupYourSystem/TAR
谢谢!我仔细看看先。
忘世麒麟 2014-08-01
  • 打赏
  • 举报
回复
引用 2 楼 colddown 的回复:
tmp下的还是别备份了。
确实,这个目录备份实在浪费。多谢您的回复。
zhxianbin 2014-08-01
  • 打赏
  • 举报
回复
这个没做过,看看这 2 篇文章: https://help.ubuntu.com/community/BackupYourSystem BackupYourSystem https://help.ubuntu.com/community/BackupYourSystem/TAR BackupYourSystem/TAR
colddown 2014-08-01
  • 打赏
  • 举报
回复
tmp下的还是别备份了。
忘世麒麟 2014-08-01
  • 打赏
  • 举报
回复
参考这个链接给出的解法:http://www.360doc.com/content/13/0119/09/1317564_261143499.shtml 我目前使用了root身份,通过ls-ld,系统给出如下信息:drwxr-xr-x 22 root root 4096 Aug 1 16:00 按照该链接给出的方法,我应该chmod 777 root但是发现完全没有任何效果。 这个chmod 777 到底是应用到那个文件夹或者文件下的呢?

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧