BackupPC-users

Re: [BackupPC-users] Backup From Web Browser

2010-03-04 10:24:14
Subject: Re: [BackupPC-users] Backup From Web Browser
From: "Summers, James B. II" <jsummers AT ou DOT edu>
To: "Tyler J. Wagner" <tyler AT tolaris DOT com>
Date: Thu, 4 Mar 2010 15:22:34 +0000
On Mar 3, 2010, at 4:21 PM, Tyler J. Wagner wrote:

> On Wednesday 03 March 2010 21:06:46 Summers, James B. II wrote:
>> This is really odd.  I can restore a file from a backup that was done on
>> the command line.  But I still can not initiate a backup from the browser.
> 
> Can the web server user run any of the BackupPC commands?  IE, try running 
> the 
> commands with the privileges of www-data or httpd or whatever.
> 

Might be on to something here.  When at the client I try to initiate an 
incremental backup.  Which according to the docs should happen at any time.  I 
modified some file so I am sure there is something to backup.

The first messages come back as reply from server ok doInc, or something close 
to that.  But then when I go back to the hompage of that client I noticed that 
the "Failed Ping" count keeps increasing.  And the client log file never shows 
that anything was initiated, but the server log file shows the request.

>>From the command line I can ping the client by ip address and from the 
>>command line I can ping the server.

Since the webserver is dedicated to this function I simply set the user and 
group to backuppc to avoid all of the setuid stuff.  Seems to be happy, at 
least no errors in the httpd error log.



Ideas / Suggestions?





> Regards,
> Tyler
> 
> -- 
> "I have long felt that any reviewer who expresses rage and loathing for
> a novel is preposterous. He or she is like a person who has put on full
> armor and attacked a hot fudge sundae or a banana split."
>   -- Kurt Vonnegut



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/