You are not logged in.
While doing a tar backup on my servers, I get this error:
/bin/tar: /usr/local/bin/sendEmail: Cannot utime: Read-only file system
The error happens on all files in /usr that I'm trying to backup. I know why the error is happening -- I deliberately mount /usr as read-only.
I'd like to know why tar is trying to "utime" my files and how I can stop that behaviour if possible?
This is my tar command:
tar cjf /mnt/backup/backup.tar.bz2 --label='backup_090116' --atime-preserve --no-wildcards-match-slash --files-from=/root/backup.include --exclude-from=/root/backup.exclude
TIA
Last edited by fukawi2 (2009-01-17 07:53:02)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Isn't it quite pointless to preserve timestamps on files from a filesystem on which timestamps aren't modified? Maybe tar tries to update the timestaps prior to archiving the file and is that giving troubles.
Offline
Answer here:
http://www.linuxquestions.org/questions … ost3410758
Marking as Solved.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline