From: Les M. <les...@gm...> - 2012-04-27 12:54:59
|
On Thu, Apr 26, 2012 at 9:38 PM, David Williams <dwi...@dt...> wrote: > >>> Localhost that is set up to use sudo. The backup runs through /var and >>> /home as best I can tell, or it is failing at the very end of /home, not >>> sure. >>> >> Are you sure it is really running as root? Maybe it can't read any of /home. >> > How do I check that? I can see lot's of entries for /home/dwilliam and > other users in the log file before it exits with the tar error. If you > can point me in the right direction to determine if it is really running > as root I can confirm. I don't use sudo much but it should have a log file somewhere - probably /var/log/sudo. Also, maybe you really have a corrupt file system or a hardware error causing the tar error exit. You could try running 'tar -cvf - /target_dir |cat >/dev/null' to see if it completes without errors. Don't omit the pipe - if gnu tar outputs directly to /dev/null it will not bother to read the file contents. Also, since this is on the same host, are you sure you aren't recursively backing up the archive filesystem where the contents are being extracted? -- Les Mikesell les...@gm... |