Re: [BackupPC-users] Backup won't complete (problem solved)

2007-06-07 Thread Nils Breunese (Lemonbit Internet)
Thomas Nygreen wrote:

 Carl Wilhelm Soderstrom skrev:
 Have you tried debugging by running BackupPC_dump by hand?

 [EMAIL PROTECTED]:$ /usr/share/backuppc/bin/BackupPC_dump -f -v 
 host.domain.tld

 
 Now I have, and by doing so found the problem. It looked like it did 
 it's job just fine until:
 
[some tens of thousands of lines removed]
Sending empty csums for sys/block/sdb/uevent
Sending empty csums for sys/bus/ide/drivers/ide-cdrom/bind
Sending empty csums for sys/bus/ide/drivers/ide-cdrom/unbind
Segmentation fault
 
 and the same old processes were hanging:
 
/usr/bin/perl /usr/share/backuppc/bin/BackupPC_dump -f host2
/usr/bin/ssh -q -x -l root host2 /usr/bin/rsync --server --sender 
 --numeric-ids --perms --owner --group --devices --links --times 
 --block-size=2048 --recursive -D lots of excludes --ignore-times . /
 
 After experimenting a lot with excluding parts of the /sys tree, I 
 located the problem to /sys/bus/pci_express. I don't see why. So I 
 excluded '/sys/bus/pci_express' and now it works just fine.
 
 Thanks for leading me to the right track!

/sys is something you'll probably want to exclude entirely.

Nils Breunese.



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] HOWTO or RPM for Red Hat Enterprise Linux 4?

2007-05-25 Thread Nils Breunese (Lemonbit Internet)
James Pulver wrote:

 I tried following the source directions, but many of the dependencies
 are not available for RHEL4 via yum... Has anyone build an RPM for this
 install? Does anyone happen to have step by step install instructions
 for RHEL4?

I run BackupPC 3 on CentOS 4 (practically identical to RHEL 4) and I
installed the dependencies from Dag's rpmforge yum repository. I only
needed to install three perl modules from Dag's repository:

yum install perl-Compress-Zlib perl-Archive-Zip perl-File-RsyncP

Could have done that through CPAN, but it's nice to have them
automatically updated through yum, so I recommend Dag's yum channel:
http://dag.wieers.com/rpm/

All other dependencies are available from the default repositories, most
of which are probably already installed by default.

After installing those perl modules the BackupPC docs walked me right
through the install.

Nils Breunese.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] permission to host to access its backup

2007-05-17 Thread Nils Breunese (Lemonbit Internet)
Murtuza Dholkawala wrote:

  I was just wandering how would i give access to particular host to
 restore its contents by itself.

See the last part of
http://backuppc.sourceforge.net/faq/BackupPC.html#step_4__setting_up_the_hosts_file.

Nils Breunese.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Webinterface on different host

2007-05-16 Thread Nils Breunese (Lemonbit Internet)
Maikel Punie schreef:

 i'm running backuppc for around 7 servers, this is all working perfectly
 but the webinterface is verry slow, it sometimes takes up to 5 minuts to
 open up the webinterface.
  
 So now i was thinking, maybe it would be good to host the webinterface
 on a different host inside the network, this has a couple off extra
 advantages
 - first off all a apache server less to maintain
 - second the webinterface could be much faster
 - third, the backuppc server has all the memory and cpu to use for
 backing up only.
  
 So now my question, is this possible or do you guys have another idea on
 how we can solve our problem?

Yes, it is possible. See
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_serverport_.
I don't know if it'll be much faster though. What is the typical load on
your BackupPC server? Large pool? How many hosts are you backing up?
I've found that the web interface is not such a heavyweight, but all the
dumping, compressing, pooling, linking, etc. can be a heavy load for a
system.

Nils Breunese.



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Webinterface on different host

2007-05-16 Thread Nils Breunese (Lemonbit Internet)
Maikel Punie wrote:

 I don't know if it'll be much faster though. What is the typical load on
 your BackupPC server?
 Well almost 24/24 its between 4 and 8

That's pretty high. Is this server only doing backups? What transfer
method are you using?

Nils Breunese.



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] botched move of cpool directory

2007-05-11 Thread Nils Breunese (Lemonbit Internet)
Matthew Washburn wrote:

 I have a situation here.  I installed and upgraded BackupPC 7 and 3
 months ago, repectively, and have since rarely touched the thing.  I
 know when I did the upgrade I did something with the pool
 directories.  If my memory serves me correctly I believe I moved them
 from /home/backuppc/pc to /home/backuppc, although i could have done
 the reverse (apologies for the spacyness), and did some string
 replacement on /usr/share/backuppc/bin replacing all instances of 'pc/
 cpool' with '/cpool'.  In any event, my current situation is that I
 currently have both directories /home/backuppc/cpool and /home/
 backuppc/pc/pool (no more pool?) in existence, $TopDir is set to /
 home/backuppc in /etc/config.pl, the current size of /home/backuppc/
 cpool is 0, and despite having everything that I can see in the
 config  scripts/perl files referencing /home/backuppc/cppool nothing
 is backing up there.  Everything is still going to /home/backuppc/pc/
 cpool.  This has caused me to recently go into /usr/share/backuppc/
 bin/BackupPC_nightly and change $TopDir to /home/backuppc/pc/cpool in
 order to clean some old backups out.  I didn't look at this thing for
 a while and my disk all filled up.

 I would like to tidy up this install and have both cpool and trash
 residing in /home/backuppc.  Does anyone have any idea why data is
 not currently being placed in /home/backuppc/cpool and still going
 into /home/backuppc/pc/cpool?I have even tried backing up brand new
 boxes and have had the same results

I believe there are more files that have the path hardcoded. I believe
they were once discussed on this list.

Nils Breunese.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Allow web access to clients to make backups?

2007-05-09 Thread Nils Breunese (Lemonbit Internet)
B Wooster wrote:

 Still struggling to get permissions and usernames sorted out, so
 hoping someone already using BackupPC can help out.
 
 Is this tool appropriate to build a private remote-backup service
 that can be offered to friends and family?
 
 So, on my Linux server, I would like to run BackupPC server.
 
 Then, would like any remote user, anywhere in the world, to go to a
 web site, log in using their username/password, and be able to backup
 their machine specifying folders they want backed up. And restore
 files as needed.
 
 I am not sure yet if this is doable - can anyone shed light on this?

No, this is not exactly how it works. The BackupPC administrator (i.e.
you) create a list of hosts (hostnames, IP addresses, NetBIOS names)
that are backed up by BackupPC. You can give people logins to their
backups, but the users don't specify what is backed up. The normal
scenario is also that hosts are backed up automatically (say, daily),
but I believe that can be changed to an on-demand scenario (no automatic
backups). BackupPC can certainly be used as a private remote backup
service, but mainly the problem is your 'anywhere in the world', as the
hostname/IP address/NetBIOS name is a constant in this system.

Nils Breunese.



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Which version to use for new install

2006-10-10 Thread Nils Breunese (Lemonbit Internet)
ck wrote:

 Thanks a lot for the advice.  I'll check out CentOS for sure.  I've  
 heard
 it mentioned a lot, but never looked into it for my purposes.

There's even a K12LTSP version that's based on CentOS instead of  
Fedora. Check the 'EL' directories at ftp://k12linux.mesd.k12.or.us/ 
pub/K12LTSP. K12LTSP 5.0 is currently not yet available in the EL  
flavor though

Nils Breunese.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Per-PC configuration file

2006-10-01 Thread Nils Breunese (Lemonbit Internet)
Hello all,

I have a BackupPC 2.1.2pl2 server (installed from the .tar.gz on the  
site) backing up a number of of other servers to a second drive,  
which has been working just fine for a while now. Now I want to also  
backup the backup server itself, but of course I have to exclude the  
backuppc data directory or I will start a recursive backup (backing  
up the backup data). I wanted to create a 'per-pc configuration' file  
for this host to exclude /mnt/backup for localhost.

http://backuppc.sourceforge.net/faq/BackupPC.html#configuration_file  
says:

The BackupPC configuration file resides in __TOPDIR__/conf/ 
config.pl. Optional
per-PC configuration files reside in __TOPDIR__/pc/$host/config.pl.  
This file can
be used to override settings just for a particular PC.

If I just add it to the hosts file when I do when adding a 'normal'  
host the pc/hostname directory will be automatically created, but  
then it will also start the recursive backup, so I thought I'd better  
not do that. I think I have also read about using hostname.pl config  
files on the list, but see nothing about that in the docs. Should I  
just manually create the __TOPDIR__/pc/hostname/ directory (which  
does not exist yet of course), create a config.pl inside it and then  
add the host to the /mnt/backup/backu/conf/hosts file?

Thanks in advance,

Nils.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Per-PC configuration file

2006-10-01 Thread Nils Breunese (Lemonbit Internet)
Casper Thomsen wrote:

 On Sun, 1 Oct 2006, Nils Breunese (Lemonbit Internet) wrote:

 Should I just manually create the __TOPDIR__/pc/hostname/  
 directory (which does not exist yet of course), create a config.pl  
 inside it and then add the host to the /mnt/backup/backuppc/conf/ 
 hosts file?

 That works fine for me.

Ok, I just went and did just that. It's being backed up right now.  
Thanks for confirming I was on the right track.

Nils Breunese.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Cannot access the Web Interface (Response.pm not found)

2006-09-10 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote:

 When I access the cgi interface this appears in the log of apache:

 [Sat Sep 09 15:09:13 2006] [error] Can't locate Apache/Response.pm  
 in @INC

 Does gentoo have another package containing that?

On my CentOS machines Apache/Response.pm is part of the mod_perl  
package (/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ 
Apache/Response.pm). Can locate Apache/Response.pm on your system?  
Maybe on Gentoo you need to add the path to @INC manually somehow?

Nils Breunese.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Cannot access the Web Interface(Response.pm not found)

2006-09-10 Thread Nils Breunese (Lemonbit Internet)
Hendrik Friedel wrote:

 On my CentOS machines Apache/Response.pm is part of the mod_perl
 package (/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/
 Apache/Response.pm). Can locate Apache/Response.pm on your system?
 Maybe on Gentoo you need to add the path to @INC manually somehow?

 The Thing is, that no File 'Apache/Response.pm' exists (i.e. a file
 Response.pm within a Directory Apache, if I understand correctly).

 vdr01 VDR # locate Apache/Response.pm
 vdr01 VDR # locate Response.pm
 /usr/lib/perl5/site_perl/5.8.5/Net/Amazon/Response.pm
 /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/Apache2/ 
 Response.pm
 /usr/lib/perl5/vendor_perl/5.8.8/HTTP/Response.pm
 /root/.cpan/build/Net-Amazon-0.35/lib/Net/Amazon/Response.pm
 /root/.cpan/build/Net-Amazon-0.35/blib/lib/Net/Amazon/Response.pm

 Mod_perl is installed. (emerge)

Looks like BackupPC should be looking for Apache2/Response.pm on a  
Gentoo system...

Nils Breunese.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Cannot access the Web Interface(Response.pmnot found)

2006-09-10 Thread Nils Breunese (Lemonbit Internet)
Hendrik Friedel wrote:

 I emerged backuppc, Apache, perl and mod_perl.

You might want to file a bug against the backuppc emerge package then...

Nils Breunese.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Cannot access the Web Interface(Response.pmnot found)

2006-09-10 Thread Nils Breunese (Lemonbit Internet)
Hendrik Friedel wrote:

 Obviously, it is also possible to use backuppc withoud mod_perl.  
 Fine with
 me, but that also does not work, as setuid is not installed on this  
 machine.

Just install perl-setuid (I don't know the exact Gentoo name).

 Thus, something must be messed up with the ebuilds requirements.

setuid is not required for just plain perl, so it's not a dependency.

Nils Breunese.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup of off-site-computers.

2006-08-26 Thread Nils Breunese (Lemonbit Internet)

Op 26-aug-2006, om 16:47 heeft Jonas Stare het volgende geschreven:

The problem I have (had) is that the wlan nat's the clients and you  
can

not get any connection to them. But a friend of mine poited out that I
could make them connect via vpn (pptp) to the network and set up the
firewall to allow connections that way.

I'll try that later this week and see if it will work. :) Sometimes it
seems like you have to work very hard to keep files safe from their
owners.


Well yes, you have to be able to reach machines in order to be able  
to back them up...


Nils Breunese.


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Q: BackupPC problems with Samba 3.0.22+ ? A: blacklist samba

2006-07-30 Thread Nils Breunese (Lemonbit Internet)
Bill Hudacek wrote:

 Fedora Core and Yum is a great system for automatically updating your
 system.  but only when you can trust it.   This is the first time it's
 really and truly failed me - and it's been a disaster.  No software
 distributed - and installed
 - globally, via automatic 'push' methods, should be allowed to  
 change in
 such significant aspects without giving its users the chance to  
 prepare.
   It's a huge disservice to the community, and shows a level of  
 conceit
 I have trouble understanding to allow this to happen.

Have you filed a bug (http://bugzilla.redhat.com/)?

Nils Breunese.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems with File-RsyncP-0.62

2006-07-30 Thread Nils Breunese (Lemonbit Internet)
Ken wrote:

 Anyone having problems with File-RsyncP-0.62?  It won't install  
 with cpan.
 Linux: 2.6.17-1.2142_FC4
 Perl: perl-5.8.6-24

I use Dag's yum repository (http://dag.wieers.com/home-made/apt/) and  
then just use 'yum install perl-File-RsyncP'. Dag has a lot (if not  
all) perl modules ready to install via yum.

Nils Breunese.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] xFer Error

2006-07-22 Thread Nils Breunese (Lemonbit Internet)
Arlequín wrote:

 On 17/07/2006 19:50, Nils Breunese (Lemonbit Internet) wrote:
 Gabriel Menini wrote:

 The fix is probably to use -D instead of --devices. This was changed
  in 2.1.2pl2 and has been mentioned on this list quite a lot of
 times.

 Nils Breunese.



 Thanks, Nils

 Should have browsed the list archives before asking, sorry.
 I'm running Ubuntu based BackupPC version 2.1.1-2ubuntu3

 How can I upgrade to 2.1.2pl2?
 Perhaps using another repository?

I don't know if anyone has packaged 2.1.2pl2 for Debian/Ubuntu yet. I  
use BackupPC on CentOS myself and installed it from source.

Nils Breunese.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] xFer Error

2006-07-22 Thread Nils Breunese (Lemonbit Internet)
Arlequín wrote:

 On 17/07/2006 19:50, Nils Breunese (Lemonbit Internet) wrote:
 Gabriel Menini wrote:

 The fix is probably to use -D instead of --devices. This was changed
  in 2.1.2pl2 and has been mentioned on this list quite a lot of
 times.

 Nils Breunese.



 Thanks, Nils

 Should have browsed the list archives before asking, sorry.
 I'm running Ubuntu based BackupPC version 2.1.1-2ubuntu3

 How can I upgrade to 2.1.2pl2?
 Perhaps using another repository?

By the way, you don't need to upgrade tot 2.1.2pl2 to fix this. Just  
change --devices to -D for $Conf{RsyncArgs} and $Conf 
{RsyncRestoreArgs} in your config.pl file. There are other fixes in  
the new version of course (check the release notes).

Nils Breunese.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] xFer Error

2006-07-18 Thread Nils Breunese (Lemonbit Internet)
Vikram Ambrose wrote:

 there is a famous jazz musician called Nils, any relation?

I don't think so. Nils is a pretty common name in Scandinavia  
(although I'm not from Scandinavia).

Nils Breunese.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] xFer Error

2006-07-17 Thread Nils Breunese (Lemonbit Internet)
Gabriel Menini wrote:

The fix is probably to use -D instead of --devices. This was changed  
in 2.1.2pl2 and has been mentioned on this list quite a lot of times.

Nils Breunese.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Got fatal error during xfer (aborted by signal=PIPE)

2006-07-12 Thread Nils Breunese (Lemonbit Internet)
I wrote:

 I wrote:

 I'm getting this error for one of my hosts. I found the nightly run
 hadn't succesfully backed up this host but when I ran the incremental
 again I got the error again:

 Got fatal error during xfer (aborted by signal=PIPE)

 Any idea what could be wrong?

 I started the incremental another time and this time it worked.

I still get a daily e-mail telling me that some of my hosts  
(sometimes only one, not always the same hosts) have had errors:

The following hosts had an error that is probably caused by a
misconfiguration.  Please fix these hosts:
  - hostname (aborted by signal=PIPE)

What is the cause of signal=PIPE? What configuration options should I  
be looking at?

Nils Breunese.




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread Nils Breunese (Lemonbit Internet)
Ken Gregoire wrote:

 Is there a way to setup backuppc to use a different MTA (email  
 system)
 where it has to provide a url, username and password to send email
 notifications.  I don't have sendmail on the backuppc system and  
 would
 like backuppc to send email notifications via a standard email  
 system.

 what MTA do you have installed?
 btw, sendmail *is* the standard for mail systems. :)

 if you mean that you don't have an MTA installed at all; look into  
 one of
 the send-only MTAs out there, like nullmailer(+debian patches), or  
 similar
 ones (can't think of the names right now; they all suck compared to
 nullmailer once the debian patches have been added to it). do a  
 freshmeat
 search, you'll find many.

 I use qmail on fedora.  I would like to be able to use a username/ 
 password
 to send mail and I cannot find where you would enter the password in
 backuppc, or if it is possible.  Any ideas?

I use qmail on CentOS and I have no problems using the default setup.  
Qmail has a sendmail interface, so it should just work.

Nils Breunese.




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Email Notifications - Via another MTA rather than sendmail

2006-07-11 Thread Nils Breunese (Lemonbit Internet)
Ken Gregoire wrote:

 I use qmail on CentOS and I have no problems using the default setup.
 Qmail has a sendmail interface, so it should just work.

 Where do you enter the password for the email account in backuppc?

You don't. BackupPC just calls the sendmail binary directly. The  
default config.pl has:

$Conf{SendmailPath} = '/usr/sbin/sendmail';

You might have to alter this if your sendmail binary is in another  
location.

Nils Breunese.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] archive error

2006-06-26 Thread Nils Breunese (Lemonbit Internet)
Mark Coetser wrote:

 es this sorted out my problem too, I have one last question about the
 archive host. Is it possible to schedule the archives? I would like  
 to do a
 daily archive, so someone will change the tapes daily and I just  
 need the
 system to run the archive host automatically at a certain time.

I think a good ol' cron job would do just fine.

Nils Breunese.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup a single file

2006-06-26 Thread Nils Breunese (Lemonbit Internet)
Mark Wass wrote:

 What are the setting in the config.pl file I need to set if I want  
 to backup a single file.

 I'm using Rsync and I only want to backup the /etc/temp.ini file

You want to use BackupPC to backup a single file? Wow.

Nils.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Got fatal error during xfer (aborted by signal=PIPE)

2006-06-19 Thread Nils Breunese (Lemonbit Internet)
Hi,

I'm getting this error for one of my hosts. I found the nightly run  
hadn't succesfully backed up this host but when I ran the incremental  
again I got the error again:

Got fatal error during xfer (aborted by signal=PIPE)

Any idea what could be wrong?

Nils.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC CGI interface and Plesk

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
I wrote earlier:

 Les Mikesell wrote:

 I'm guessing here, but I'd expect re-installing
 backuppc with the user plesk wants to force (or carefully changing
 ownership and the startup scripts) and removing the setuid mode
 would work.

 I'll try messing with it some more. Maybe I should indeed just use
 the user Plesk created instead of the backuppc user.

Today I went ahead and reinstalled using the user I created through  
Plesk for the vhost. I chmodded BackupPC_Admin 750 as setuid is not  
needed (since Plesk uses suexec by default) and behold: it works! I  
could have recreated the vhost in Plesk and named the user backuppc,  
but oh well.

Off to configure my hosts... :o)

Thanks,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Randall Barlow wrote:

 Sorry for the post - as fate would have it I resolved the issue just
 minutes after posting it.  It turns out that I had only attempted to
 connect to remotehost.remotedomain as I was testing how well the  
 ssh key
 pair worked, but backuppc was just trying to connect to remotehost
 (thus, the name remotehost hadn't been added to the known_hosts and it
 was asking the yes/no question which backuppc wasn't expecting/ 
 shouldn't
 expect :))

I have the same problem (fileListReceive failed):

Running: /usr/bin/ssh -q -x -l root full-hostname /usr/bin/rsync -- 
server --sender --numeric-ids --perms --owner --group --devices -- 
links --times --block-size=2048 --recursive --exclude=/proc --ignore- 
times . /
Xfer PIDs are now 12189
Got remote protocol 29
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)

I'm using the rsync transfer method. However, when I do 'su -  
backuppc' I can run 'ssh root@full-hostname' just fine and I end up  
at the prompt of the client machine. Where else do I check what's wrong?

Nils Breunese.

 Randall Barlow wrote:
 OK,

So I have the system backing up my localhost OK, and two other
 windows machines, but I'm having trouble getting it to work with  
 rsync
 over ssh for a remote host.  I am running backuppc as user apache,  
 and
 so I've created a public/private key pair and stored it in
 ~apache/.ssh/id_rsa on the local server, and have added it to the  
 root
 user's authorized keys for the remote server.  Now if I su apache,  
 I am
 allowed to ssh to the remote host without being asked for a password.
 However, when I try to backup the remote machine via the CGI, I  
 get the
 error: fileListReceive failed.  Inspecting the logs:

 Fatal error (bad version): Xlib: connection to :0.0 refused by  
 server
 Xlib: Read EOF: Tried again: got 0 bytes
 fileListReceive() failed
 Done: 0 files, 0 bytes
 Got fatal error during xfer (fileListReceive failed)
 Backup aborted (fileListReceive failed)

 Has anybody seen this problem before?  It seems like it's trying  
 to open
 up an X window for some reason, any ideas?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Travis Fraser wrote:

 What version of rsync are you using? Later versions need --devices
 changed to -D in $Conf{RsyncArgs}.

My test client has rsync 2.6.8. I changed that and it seems my first  
backup is finally rolling in. Where would I have missed that in the  
documentation?

Thanks a lot,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC CGI interface and Plesk

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Hello Peter,

 Hey, It may be too late for this because it looks like
 you already got things working using Plesk. Not sure
 if you ran across this in your search, but a while
 back I wrote some docs for setting up backuppc using
 suexec *instead* of sperl, which allows you to avoid
 all those workarounds like running apache as backuppc
 user, etc.

 http://moderndoorbells.com/backuppc
 (skip ahead to step 3 for suexec stuff)

I read your post on the list today and took a look at it. At that  
moment I nearly had everything working, so I didn't really use it. My  
final setup is not that hard actually. Plesk uses suexec for Perl on  
every vhost by default, I just had to install backuppc to run as the  
user I created for the vhost. Then you also don't need the setuid bit  
on BackupPC_Admin anymore.

 I think the BackupPC documentation should promote the
 use of suexec instead of sperl. I have heard that
 suexec is more secure anyway. But for some reason
 everyone seems to be stuck on sperl.

Why would it be more secure? I do agree that on a vanilla system the  
setuid way seems the easiest to setup.

 Please let me know if my soluton is similar to what
 you came up with. Possibly we should get together and
 create a more platform independent doc for using
 suexec with backuppc.

Well, I guess my solution is not very platform independent. Plesk  
even uses a patched version of suexec I believe and I installed  
backuppc on a CentOS 4 system, with all dependencies installed using  
rpms. Only backuppc itself was not an rpm.

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Travis Fraser wrote:

 What version of rsync are you using? Later versions need --devices
 changed to -D in $Conf{RsyncArgs}.

I guess I need to change this for $Conf{RsyncRestoreArgs}  as well?

Nils Breunese.



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-08 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote:

 Does the running httpd retain the apache group?  Maybe you
 need to change the group to psaserv.  If you aren't in the right
 group you can't execute this.

I added user backuppc to the psaserv group:

$ groups backuppc
backuppc : backuppc psaserv

I chowned BackupPC_Admin to backupc:psaserv and removed write  
permissions:

-r-sr-x---  1 backuppc psaserv 3912 Jun  7 11:48 BackupPC_Admin

I can execute this as user backuppc, apache and root, but still it's  
not working when I access it through a browser. I'm slowly starting  
to go nuts from this...

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-08 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote:

 -r-sr-x---  1 backuppc psaserv 3912 Jun  7 11:48 BackupPC_Admin

 I can execute this as user backuppc, apache and root, but still it's
 not working when I access it through a browser. I'm slowly starting
 to go nuts from this...

 Is there a more informative error in the httpd error_log now?

No. I get this in my browser window:


500 Internal Server Error

The server encountered an internal error or misconfiguration and was  
unable to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform  
them of the time the error occurred, and anything you might have done  
that may have caused the error.

More information about this error may be available in the server  
error log.


And in error_log I find:


[Thu Jun 08 15:30:17 2006] [error] [client xxx.xxx.xxx.xxx] Premature  
end of script headers: BackupPC_Admin


That's all. When I reload the page I just get another one of those.

 A brute-force way to debug is to 'strace -p ' one of the httpd
 process id's, then hit the page until that process handles it,
 then look for failed systems calls where you might be able
 to see what file it is trying to access.

I didn't find anything this way. I only keep hitting traces of the  
404 error served for the favicon.ico. However, I thought of one more  
thing. I believe Plesk uses suexec for perl scripts. In the  
httpd.include for the vhost (generated by Plesk) I find:

SuexecUserGroup lemonbitbackup psacln

Could this maybe override the setuid on BackupPC_Admin? In /var/log/ 
httpd/suexec_log I find:

[2006-06-08 15:57:52]: uid: (10011/lemonbitbackup) gid: (10001/10001)  
cmd: BackupPC_Admin
[2006-06-08 15:57:52]: file is either setuid or setgid: (/var/www/ 
vhosts/backup.lemonbit.nl/cgi-bin/BackupPC_Admin)

Could it be that that SuexecUserGroup directive somehow overrides the  
setuid bit on BackupPC_Admin?

Thanks for the great help so far,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC CGI interface and Plesk

2006-06-08 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote:

 Maybe the Plesk way of doing things would be to change the backuppc  
 user (and ownership of everything related) to match the  
 lemonbitbackup user that Plesk created.  Is this supposed to be  
 something that saves you time...?

Security software, like suexec, is almost never supposed to be  
something that saves you time, right? Well, in the long run, yes,  
because when setup properly it will save you a lot of time fixing  
stuff. Shared hosting environments are jungles and I actually think  
things like suexec are great. I've never had any problems with CGI  
scripts and suexec. It always just worked out of the box. Installing  
BackupPC was the first time I had to setuid a CGI script for a  
parcticular user that is not the site user and now I can't seem to  
get it to work. Which would be a pity, because BackupPC seems like it  
would be perfect for my needs.

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC CGI interface and Plesk

2006-06-08 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote:

 I'm guessing here, but I'd expect re-installing
 backuppc with the user plesk wants to force (or carefully changing
 ownership and the startup scripts) and removing the setuid mode
 would work.

I'll try messing with it some more. Maybe I should indeed just use  
the user Plesk created instead of the backuppc user.

 Otherwise, fire up a separate instance of httpd on
 a different port so you don't have to fight with the other one.

I heard a lot people give that suggestion, but I haven't been able to  
find out how to do actually do that. Any pointers (this is a CentOS  
4.3 system with apache2)?

Thanks again,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Hello all,

I have spent all day trying to get BackupPC's web interface to work,  
but have not succeeded. I have completed all of the installation  
instructions and I have installed BackupPC 2.1.2pl1 on a CentOS 4.3  
machine. However this machine is also running the Plesk 8 control  
panel. When it came to installing the CGI interface (a single file!)  
this is were I got stuck.

As I understand, I can either run the CGI interface setuid backuppc  
or run a separate apache instance running as user backuppc using  
mod_perl. I thought the setuid way would be the easiest to get  
working, but I think Plesk may be getting in the way to much.

I have set up a vhost backup.lemonbit.nl through Plesk and this  
automatically creates a /var/www/vhosts/backup.lemonbit.nl/cgi-bin/  
directory as this domain's cgi-bin directory. This is also the  
location I entered when running perl configure.pl and afterwards I  
indeed found BackupPC_Admin there:

-r-sr-xr--  1 backuppc backuppc 3912 Jun  7 11:48 BackupPC_Admin

However, these are the permissions on the /var/www/vhosts/ 
backup.lemonbit.nl/cgi-bin directory:

drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin

So: the backuppc user is not able to execute BackupPC_Admin as it  
cannot get to the script. All I get is 500 Internal Server Errors and  
my logs keep saying: Premature end of script headers: BackupPC_Admin

I believe however that if I change the ownership on the cgi-bin  
directory I can't execute any scripts at all.



I then tried looking into setting things up through mod_perl, but  
noticed you have to set user backuppc and group backuppc in the  
webserver configuration for this to work. Alas, you can't use the  
user and group directives in a vhosts configuration.

Does anyone have an idea what I can do to get the admin interface to  
work in a vhost environment (especially Plesk 8)? Any pointers to  
setting up a separate instance of apache running as backuppc?  
Everywhere I go I read people saying just use vhosts, separate  
apache instances are useless.

 From what I read and see about it, I'm really liking this system, so  
I would really like to get this to work. But after spending a whole  
day on this I think I need some fresh insights.

Thanks in advance,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Etaoin Shrdlu wrote:

 Mine are (as stated in the docs):

 -rwsr-x--- 2 backuppc apache  3894 Apr 20 15:29 BackupPC_Admin

 By the way, the docs list the permissions as

 -swxr-x---1 __BACKUPPCUSER__   web  82406 Jun 17 22:58
 __CGIDIR__/BackupPC_Admin

 I think that should be

 -rwsr-x---1 __BACKUPPCUSER__   web  82406 Jun 17 22:58
 __CGIDIR__/BackupPC_Admin

 with the s for the execute flag (not for the read), to mean setuid.

I did the following:

# chown backuppc:apache BackupPC_Admin
# chmod 4750 BackupPC_Admin

And now have:

-rwsr-x---  1 backuppc apache 3912 Jun  7 11:48 BackupPC_Admin

However, the interface is still not working for me. Any more ideas?

Nils.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Re PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Ed Pascoe wrote:

 Firstly stay away from mod_perl where possible because its VERY  
 painful to get setup. Next make sure you get some kind of useful  
 response (ie. no perl errors) if you run the cgi command by hand. Eg.:
 ./BackupPC_Admin.cgi

I do when as user root or apache. However, when I try as user  
backuppc it doesn't work as that user doesn't have enough permissions  
to enter the cgi-bin directory which is chmodded 750 and is not owned  
by backuppc:

drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin

Any idea what I should change to get this working (without opening  
all kinds of security holes)?

Thanks,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/