Rdiff-backup ListError $ RECYCLE.BIN / ... [Errno 13]权限被拒绝:' /media/windows/$RECYCLE.BIN/

时间:2014-08-20 11:28:31

标签: linux windows bash backup

我为我的Windows服务器网络驱动器构建了Rdiff备份解决方案。使用Cifs-utils将Windows驱动器安装到Ubuntu服务器14.04。 / etc / fstab输入自动挂载驱动器:

//192.168.1.102/SMB kataloog /media/windows cifs credentials=/home/documents/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

我使用cronjob运行备份,我为rdiff编写的bash脚本是这样的:

rdiff-backup --force -v9 --print-statistics --no-hard-links  --exclude-globbing-filelist $SCRIPT_PATH/backup.exclude $REMOTE_PATH $LOCAL_PATH/`date +%Y%m%d_backup` >/tmp/last_backup.txt 2>/tmp/last_backup_E.txt

- exclude-globbing-filelist如下所示:

  • / media / windows / * BIN
  • / media / windows / RECYCLER / media / windows / System \ Volume \ Information
  • **。laccdp
  • **。NTX
  • **。CDX

我得到的错误是:

Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-2100480068-2371841968-4251168943-1002 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-2100480068-2371841968-4251168943-1002'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-2100480068-2371841968-4251168943-500 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-2100480068-2371841968-4251168943-500'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1109 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1109'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1110 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1110'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1112 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1112'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1113 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1113'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1114 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1114'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1115 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1115'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1116 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1116'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1117 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1117'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1118 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1118'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1119 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1119'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1120 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1120'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1121 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1121'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1122 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1122'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1123 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1123'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1124 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1124'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1125 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1125'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1126 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1126'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1127 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1127'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1136 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-1136'
Tue Aug 19 23:36:37 2014  ListError $RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-500 [Errno 13] Permission denied: '/media/windows/$RECYCLE.BIN/S-1-5-21-640597885-1395529562-3128210328-500'

0 个答案:

没有答案