Re: [BackupPC-users] Per-PC config problem

2006-12-10 Thread JW Smythe
  Lorentz,

  Sorry, no I didn't.  I went back to the stable release (2.1.2pl2),
which of course worked perfectly. :)


On 12/10/06, Lorentz Hinrichsen [EMAIL PROTECTED] wrote:
 Did you ever solve this JW?

 I also can't seem to make the per-pc configuration work.


 On 12/8/06, JW Smythe  [EMAIL PROTECTED] wrote:
 
G'afternoon everyone.
 
I'm having a stupid problem with BackupPC and it's per-pc
  configuration.  I know I've done it before at another company, but I
  don't have access to their stuff any more to see what stupid thing I'm
  doing.
 
This is a nice fresh installation of 3.0.0beta3

-
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 config problem

2006-12-10 Thread Magnus Larsson
Hi!

Just a thought: I not that there is rsyncd, not rsync, as XferMethod. Is 
this correct, that is, do you have the rsync daemon, not client, running 
in client machine? I wrongly put rsyncd there once when I meant rsync.


Magnus L


Lorentz Hinrichsen skrev:
 Did you ever solve this JW? 

 I also can't seem to make the per-pc configuration work.

 On 12/8/06, *JW Smythe*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

   G'afternoon everyone.

   I'm having a stupid problem with BackupPC and it's per-pc
 configuration.  I know I've done it before at another company, but I
 don't have access to their stuff any more to see what stupid thing I'm
 doing.

   This is a nice fresh installation of 3.0.0beta3

 These are from my main config.pl

 $Conf{TopDir}  = '/host/backuppc_data';
 $Conf{ConfDir} = '/etc/BackupPC';
 $Conf{LogDir}  = '/var/log/BackupPC';
 $Conf{InstallDir}  = '/host/backuppc';
 $Conf{CgiDir}  = '/host/httpd/htdocs';
 $Conf{XferMethod} = smb;

   I'm still trying to get the first (and most important, of course)
 site to back up.   It's per-pc config is at:

 /host/backuppc_data/pc/domain.com/config.pl

 which contains:

 $Conf{XferMethod} = rsyncd;
 $Conf{RsyncdUserName = user;
 $Conf{RsyncdPasswd} = pass;
 $Conf{RsyncShareName} = ['CDrive', 'EDrive'];

   When the backup runs, it's still trying to use the default smb,
 so I
 know it's not reading the config.

 Running: /usr/bin/smbclient domain.com\\C\$ -U  -E -N -d 1 -c
 tarmode\ full -Tc -
 full backup started for share C$
 [SNIP]
 Got fatal error during xfer (No files dumped for share C$)
 Backup aborted (No files dumped for share C$)

 I've made symlinks all over the place, trying to get this to work.
 The real per-pc config is at
 /host/backuppc_data/pc/domain.com/config.pl

 I've symlinked:
 /host/backuppc_data/pc /host/backuppc/pc

 /host/backuppc_etc/pc -- /host/backuppc_data/pc
 /host/backuppc/pc   -- /host/backuppc_data/pc
 /var/lib/backuppc-- /host/backuppc

 That last one, in turn makes /var/lib/backuppc/pc/domain.com link to
 /host/backuppc_data/pc/domain.com

   I can't figure out where these stupid per-pc configs go.  I have
 about 20 machines to get backed up sometime soon (like, this afternoon
 would have been nice, but...)  Of course, each one is owned by a
 different person, which needs it's own custom config, because none of
 them can have the same password as another.  Some will use samba, some
 rsync, blah, blah, blah.

   I know it can be done.  I had this working on a site with about 150
 servers.  I'm at a loss to why it doesn't work this time.  Maybe a bug
 in 3.0.0beta3, or a change that is escaping me, or complete user
 failure?

 -

 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
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 mailto:BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


 

 -
 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/
   


-
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 config problem

2006-12-10 Thread JW Smythe
  My problem was that it wasn't reading the configuration file for
anything, so it was still trying to use smb.

  Right now, I'm trying to back up windows machines (forgive me), so
ya, I got rsyncd up and running on there first.

  With the stable version, I got the expected errors for rsyncd, on
servers that didn't have rsyncd running yet, and good responses on
ones that did.  With the beta, it wasn't reading the per-pc configs,
and went with the settings in the main config, which I had left as smb
to make the failure obvious.  I would have just gone with it, and set
it all in the main config, except that I'm to be backing up for
several different customers, where I can't have the same login
information on each machine.  I guess I *could* use the same info,
since I trust them all, but since they don't know each other (and it's
bad practice), I wasn't willing to go that route.

  I'll also be backing up at least two Linux machines, which I don't
want rsyncd running.  I'm perfectly happy using rsync on those. :)

  The last installation was so much easier.  Over 100 machines, but
they were all Linux boxes, with one company, and one SSH key let the
backup machine access all of them. :)  There were no per-pc
configurations needed there.


On 12/11/06, Magnus Larsson [EMAIL PROTECTED] wrote:
 Hi!

 Just a thought: I not that there is rsyncd, not rsync, as XferMethod. Is
 this correct, that is, do you have the rsync daemon, not client, running
 in client machine? I wrongly put rsyncd there once when I meant rsync.


 Magnus L


 Lorentz Hinrichsen skrev:
  Did you ever solve this JW?
 
  I also can't seem to make the per-pc configuration work.
 
  On 12/8/06, *JW Smythe*  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
G'afternoon everyone.
 
I'm having a stupid problem with BackupPC and it's per-pc
  configuration.  I know I've done it before at another company, but I
  don't have access to their stuff any more to see what stupid thing I'm
  doing.
 
This is a nice fresh installation of 3.0.0beta3
 
  These are from my main config.pl
 
  $Conf{TopDir}  = '/host/backuppc_data';
  $Conf{ConfDir} = '/etc/BackupPC';
  $Conf{LogDir}  = '/var/log/BackupPC';
  $Conf{InstallDir}  = '/host/backuppc';
  $Conf{CgiDir}  = '/host/httpd/htdocs';
  $Conf{XferMethod} = smb;
 
I'm still trying to get the first (and most important, of course)
  site to back up.   It's per-pc config is at:
 
  /host/backuppc_data/pc/domain.com/config.pl
 
  which contains:
 
  $Conf{XferMethod} = rsyncd;
  $Conf{RsyncdUserName = user;
  $Conf{RsyncdPasswd} = pass;
  $Conf{RsyncShareName} = ['CDrive', 'EDrive'];
 
When the backup runs, it's still trying to use the default smb,
  so I
  know it's not reading the config.
 
  Running: /usr/bin/smbclient domain.com\\C\$ -U  -E -N -d 1 -c
  tarmode\ full -Tc -
  full backup started for share C$
  [SNIP]
  Got fatal error during xfer (No files dumped for share C$)
  Backup aborted (No files dumped for share C$)
 
  I've made symlinks all over the place, trying to get this to work.
  The real per-pc config is at
  /host/backuppc_data/pc/domain.com/config.pl
 
  I've symlinked:
  /host/backuppc_data/pc /host/backuppc/pc
 
  /host/backuppc_etc/pc -- /host/backuppc_data/pc
  /host/backuppc/pc   -- /host/backuppc_data/pc
  /var/lib/backuppc-- /host/backuppc
 
  That last one, in turn makes /var/lib/backuppc/pc/domain.com link to
  /host/backuppc_data/pc/domain.com
 
I can't figure out where these stupid per-pc configs go.  I have
  about 20 machines to get backed up sometime soon (like, this afternoon
  would have been nice, but...)  Of course, each one is owned by a
  different person, which needs it's own custom config, because none of
  them can have the same password as another.  Some will use samba, some
  rsync, blah, blah, blah.
 
I know it can be done.  I had this working on a site with about 150
  servers.  I'm at a loss to why it doesn't work this time.  Maybe a bug
  in 3.0.0beta3, or a change that is escaping me, or complete user
  failure?
 
  
  -
 
  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
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  BackupPC-users mailing list
  BackupPC-users@lists.sourceforge.net
  mailto:BackupPC-users@lists.sourceforge.net
  

Re: [BackupPC-users] auth required, but service test is open/insecure...

2006-12-10 Thread Krsnendu dasa
I changed the permission of /home/krsnendu/test/ and contents to allow
read and enter access. Now it backs up. How can I set it up so that it
can back up any file. Do I have to setuid=root or something?

On 11/12/06, Krsnendu dasa [EMAIL PROTECTED] wrote:
 I fixed this in my rsyncd.conf file. I had my global options listed at
 the bottom. I moved it to the top and that fixed it for all shares.
 Now I get this error. In the log file. Is it to do with permissions of
 the directory in question?

 Remote[1]: rsync: link_stat /. (in test) failed: Permission denied (13)
 Xfer PIDs are now 12144

 Here is my rsyncd.conf file.

  use chroot = false
 strict modes = false
 read only = false
 list = true
 auth users = backup
 secrets file = /etc/rsyncd.secrets

 [test]
 path = /home/krsnendu/test/
 comment = Test Directory
 [Finance]
 path = /home/finance
 comment = Home of MYOB file

 In config.pl is has
 $Conf{RsyncShareName} = 'test';


 $Conf{RsyncdClientPort} = 873;

 $Conf{RsyncdUserName} = 'backup';

 $Conf{RsyncdPasswd} = 'rsync';

 $Conf{RsyncdAuthRequired} = 1;

 On 11/12/06, Krsnendu dasa [EMAIL PROTECTED] wrote:
  I've somehow got BackupPC running on Fedora Core 5. I decided
  uninstall and reinstall and now it actually works (After changing a
  few permisions here and there.)
  Now when I try to back up using rsyncd I get the following error...
 
  auth required, but service test is open/insecure...
 
  Can someone help me to fix this.
 
  Thanks.
 
  Krsnendu dasa
 


-
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] RE Installation on Fedora Core 5 login to CGI page trouble

2006-12-10 Thread Les Stott
noel hutchings wrote:
 Yes I have exact same problem on Fedora core 6
 using the BackupPC-2.1.2-7.fc6.noarch.rpm
 It is definantly a apache authentication problem
 These are the steps I have taken for now to get it working

 Add a user and password to the /etc/BackupPC/apache.users file.

 htpasswd -c /etc/BackupPC/apache.users backuppc_admin
 password = admin
 password = admin


   
try NOT having a _ in the username. just make it plain old admin, or 
backuppc, keep it simple, then match it up with the config.pl settings.


Regards,

Les


-
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] auth required, but service test is open/insecure...

2006-12-10 Thread Les Stott
Krsnendu dasa wrote:
 I fixed this in my rsyncd.conf file. I had my global options listed at
 the bottom. I moved it to the top and that fixed it for all shares.
 Now I get this error. In the log file. Is it to do with permissions of
 the directory in question?

 Remote[1]: rsync: link_stat /. (in test) failed: Permission denied (13)
 Xfer PIDs are now 12144
 Here is my rsyncd.conf file.

  use chroot = false
 strict modes = false
 read only = false
 list = true
 auth users = backup
 secrets file = /etc/rsyncd.secrets

 [test]
 path = /home/krsnendu/test/
 comment = Test Directory
 [Finance]
 path = /home/finance
 comment = Home of MYOB file

 In config.pl is has
 $Conf{RsyncShareName} = 'test';


 $Conf{RsyncdClientPort} = 873;

 $Conf{RsyncdUserName} = 'backup';

 $Conf{RsyncdPasswd} = 'rsync';

 $Conf{RsyncdAuthRequired} = 1;

   
Your connecting as the user backup to get the files.

Is there an equivalent user on the client pc, and does it have 
permissions to access those directories?

Regards,

Les

-
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/