BackupPC-users

[BackupPC-users] Achiving localhost using tar

2012-01-13 20:10:52
Subject: [BackupPC-users] Achiving localhost using tar
From: "Kenneth L. Owen" <tx836519 AT bellsouth DOT net>
To: users BackupPC <BackupPC-users AT lists.sourceforge DOT net>
Date: Fri, 13 Jan 2012 20:09:05 -0500
Hi All,

I have been using BackupPC for a while now, starting with it running on
Fedora in 2007 before switching to Ubuntu LTS.  I am using the sudoers
method of allow backuppc to access my systems.  I'm using rsync
transfers from all remote machines and use tar to backup /home on
localhost of the archiver.  For some unknown reason, it hasn't backed
up /home on this machine since 17 Nov.  The system seems to be working
fine in all other respects.

I have had two remote machines fail and had to replace them entirely
with new hardware.  The first was a workstation in October, and a server
on 31 Dec.  I had to regenerate keys for the new machines, but I don't
see how that should have impacted the backup of localhost.  But the
localhost backup stopped at about the time that I was putting the first
of the failures back into the system.

The system starts the backup and then quits:
2012-01-07 01:00:16 full backup started for directory /home 
2012-01-07 01:00:18 Got fatal error during xfer (No files dumped for share 
/home)

My sudoers file is:
==================================================================
# /etc/sudoers  -- smbsrvr2 (backuppc server)
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL

# Host alias specification
Host_Alias LOCAL = smbsrvr2 

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# ---------------- BackupPC Command Authorizations -----------------
# To restore files, uncomment restore cmd and comment backup cmd lines.
# Switch them back after restore complete.
#
# backuppc LOCAL=NOPASSWD: /bin/tar -c *, /bin/tar -x *
# ^^^^^^^^^^^^^^^^^^^^^^^^ restore command ^^^^^^^^^^^^^^^^^^^^^^^^^
#
backuppc LOCAL=NOPASSWD: /bin/tar -c *       
# ^^^^^^^^^^^^^^^^^^^^^^^^ backup command ^^^^^^^^^^^^^^^^^^^^^^^^^^
# --------------------- End BackupPC Authorizations ----------------

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
====================================================================

My TarClientCmd is:
/usr/bin/env LC_ALL=C sudo /bin/tar -c -v -f - -C $shareName --totals

and my TarClientRestoreCMD is:
/usr/bin/env LC_ALL=C sudo /bin/tar -x -v -f - -C $shareName --totals

I'm generally computer literate, but don't claim to be fluent in Linux.
I was able to get this running with quite a bit of help and am not sure
where I need to start looking to find the problem.

Any suggestions will be gladly received and appreciated.  -- ken 


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
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/