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.php&p=sourceforge&CID=DEVDEV
> >     
> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> >     _______________________________________________
> >     BackupPC-users mailing list
> >     [email protected]
> >     <mailto:[email protected]>
> >     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.php&p=sourceforge&CID=DEVDEV
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > BackupPC-users mailing list
> > [email protected]
> > 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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to