BackupPC-users

Re: [BackupPC-users] Backup failing with tar error 512

2012-04-27 08:56:15
Subject: Re: [BackupPC-users] Backup failing with tar error 512
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: dwilliams AT dtw-consulting DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 27 Apr 2012 07:54:49 -0500
On Thu, Apr 26, 2012 at 9:38 PM, David Williams
<dwilliams AT dtw-consulting DOT com> 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
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/