BackupPC-users

Re: [BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)

2009-04-11 02:58:51
Subject: Re: [BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 11 Apr 2009 08:53:01 +0200
Les Mikesell wrote:

> Thomas von Eyben wrote:
>> Hi list,
>>
>> Does anyone have a nice guide describing how to set up a Mac OS X's
>> Apache  (Server or Client) to host BackupPC?
>>
>> I am now facing the problem:
>>
>> "Error: Wrong user: my userid is 70, instead of 502(backuppc)" when
>> communicating with the CGI.
>>
>> As I understand it I need (for performance) a seperate instance of
>> Apache running as user "backuppc" in order to be able to use the
>> "mod_perl" method (that also gives me the highest performance), as
>> opposed to (much slower) setuid method…
>>
>> I have searched the archives and google, but not found adequate help.
>
> First note that the performance difference only affect using the web
> browser to view/restore backups, something you probably don't do that
> often, not the performance of the backups operations which happen
> separately.  Also, if you don't have any other web sites on the same
> server, you could simply set up backuppc to run with the same id as  
> the
> web server.  I can't help with setting up another apache instance but
> usually it involves duplicating whatever the stock configuration does
> but using a different port number to avoid conflicts.

I'd first try the simple CGI setup and see how performance is. I've  
never felt the need to change the setup into a more complicated  
mod_perl setup to speed up the web interface, as performance is just  
fine for us using the plain CGI version. It doesn't feel slow at all.  
Sure, if I'd go and measure performance, mod_perl will probably be  
better, but backups won't complete any faster. As Les said: it's just  
the web interface.

Nils Breunese.



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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/