BackupPC-users

Re: [BackupPC-users] Achiving localhost using tar

2012-01-16 17:32:38
Subject: Re: [BackupPC-users] Achiving localhost using tar
From: "Kenneth L. Owen" <tx836519 AT bellsouth DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 16 Jan 2012 17:31:36 -0500
On Mon, 2012-01-16 at 15:52 -0500, Kenneth L. Owen wrote:
> On Mon, 2012-01-16 at 13:25 -0500, Carl Wilhelm Soderstrom wrote: 
> > On 01/16 11:38 , Kenneth L. Owen wrote:
> > > Before this problem started, it was backing up with no problem.  Then I
> > > started getting errors:
> > 
> > If you do a 'ls -al /home' using a command shell (command line) on the
> > machine in question does it show files, or just the usual '.' and '..'
> > directory entries?
> > 
> > Do you have exclude patterns set up for this backup, which might be
> > excluding all the files actually there?
> > 
> > What happens if you run the BackupPC dump by hand?
> > You'll need to run as the backuppc user for this; possibly by su'ing from
> > root with a command like 'su -s /bin/bash - backuppc'. It will allow you to
> > watch the backup take place in more detail:
> > /usr/share/backuppc/bin/BackupPC_dump -f -v localhost
> > 
> > You may have to modify that to fit your environment, based on the path to
> > BackupPC_dump and whatever you call 'localhost' in your /etc/backuppc/hosts
> > file.
> > 
> > 
> Hi Carl,
> 
> Thanks for taking a look at this!
> 
> I'm running this remotely via ssh...
> 
> As ken:
> -----------------------------------------------------------------------------
> ken@archiver:/home$ ls -al
> total 24
> drwxr-xr-x  6 root     root 4096 2010-04-03 16:13 .
> drwxr-xr-x 23 root     root 4096 2011-12-20 14:20 ..
> drwxr-xr-x 31 backuppc root 4096 2012-01-15 16:28 backuppc
> drwxr-xr-x 23 jo       root 4096 2010-04-03 14:27 jo
> drwxr-xr-x 49 ken      root 4096 2012-01-15 16:45 ken
> drwx------  2 root     root 4096 2010-03-10 12:06 lost+found
> 
> ken@archiver:~$ ls -al
> total 804
> drwxr-xr-x 49 ken  root   4096 2012-01-15 16:45 .
> drwxr-xr-x  6 root root   4096 2010-04-03 16:13 ..
> -rw-r--r--  1 ken  root   8650 2010-03-08 22:21
> 20100308.backuppc_install.txt
> ...
> drwxr-xr-x  2 ken  root   4096 2011-10-23 18:53 Desktop
> 
> AS BACKUPPC:
> ----------------------------------------------------------------------------
> backuppc@archiver:/home/ken$ /usr/share/backuppc/bin/BackupPC_dump -f
> -v localhost
> cmdSystemOrEval: about to system /bin/ping -c 1 localhost
> cmdSystemOrEval: finished: got output PING localhost (127.0.0.1)
> 56(84) bytes of data.
> 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.027 ms
> 
> --- localhost ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.027/0.027/0.027/0.000 ms
> 
> cmdSystemOrEval: about to system /bin/ping -c 1 localhost
> cmdSystemOrEval: finished: got output PING localhost (127.0.0.1)
> 56(84) bytes of data.
> 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.031 ms
> 
> --- localhost ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.031/0.031/0.031/0.000 ms
> 
> CheckHostAlive: returning 0.031
> Running: /usr/bin/env LC_ALL=C sudo /bin/tar -c -v -f - -C /home
> --totals .
> full backup started for directory /home
> started full dump, share=/home
> Xfer PIDs are now 5836,5835
> xferPids 5836,5835
> cmdExecOrEval: about to exec /usr/bin/env LC_ALL=C sudo /bin/tar -c -v
> -f - -C /home --totals .
> ...
> 
> AND IN LOG FILE:
> 2012-01-16 15:28:10 full backup started for directory /home
> 
> In the terminal session it appears the job is running...
> 
> I'm going to the workshop to physically observe activity...
> 
> The machine is showing disk activity approximately every one or two
> seconds as if comparing files.
> 
> I'll post again when I can get a final status.
> 
> -- ken
> 
Hi Carl,

Reviewing my logs, a full backup of localhost usually takes about one
and a half hours with the maximum being close to 2 hours and this is
when this job is running concurrently with the rsync backups on the
remote machines.  It has been approximately two hours now with this job
running exclusively.  I have checked on the machine periodically and it
does not look like a tar create is in progress.  My terminal session has
given NO errors.  I'm going to abort the command to see if it get any
additional information.

I got the following:
----------------------------------------------------------------
exiting after signal ALRM
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)
dump failed: received signal=ALRM
----------------------------------------------------------------

So, I still in the dark!

-- ken


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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/