BackupPC-users

Re: [BackupPC-users] Start Backuppc on boot

2013-05-18 00:00:40
Subject: Re: [BackupPC-users] Start Backuppc on boot
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Sat, 18 May 2013 13:58:43 +1000
On 18/05/13 12:48, Gary Roach wrote:
> On 05/17/2013 05:50 PM, Michael Stowe wrote:
>>> Ok, I finally just mounted the new storage volume on /var/lib/backuppc
>>> and moved the pool files etc to the new disk. This worked but I now have
>>> an old problem with rsyncd.
>> This is an unrelated problem, of course, but let's start with the obvious.
>>   Are you actually running rsyncd?  If so, you will have set up the daemon
>> with a configuration that specifies "modules" (which are unfortunately
>> named, think of them as similar to "share names") -- they're arbitrary
>> names which refers to a path and a set of permissions.  Of course, you'll
>> probably also want to make sure rsyncd is running at startup.
>>
>> If you haven't done that, then you're not running rsyncd, and you should
>> probably pick "rsync" instead.
>>
>>> Attempts to run a backup on localhost gives "Error connecting to module
>>> '/' at localhost 837: Unknown module '/' ". I assume that this is a
>>> mistake in the RsyncShareName (path in rsyncd.conf's backuppc module) .
>>> The man page states "path - This parameter specifies the directory in
>>> the daemon’s filesystem to make available in this module. This statement
>>> has been copied verbatim in every instruction I can fine. I have no idea
>>> what that means. What is meant by the daemon's file system and what is
>>> meant by make available in this module. A plain '/' sure doesn't '/'
>>> work. Could someone reword this statement so that I might have a chance
>>> of understanding it. This is as bad as the last course I took in math
>>> analysis.
>> Did you actually name a module '/' in your rsyncd.conf?  That error
>> suggests you didn't, so you'll want to look in there:
>>
>> [Stinky]
>> path = /home/fishbreath/
>> auth users = somedude
>> secrets file = rsyncd.secrets
>>
>> In the example above, "Stinky" would be the module name, and
>> "/home/fishbreath" is the path in the daemon's file system to which it
>> refers.
>
> Tar -YUK . Yes I am using rsyncd and have checked out communications 
> both ways with all my clients and the server. There seems to be good 
> communications. I've even transfered a file or two.
>
> Each rsyncd.conf file contains a module [backuppc]. In that module I 
> made the path = / since I wanted to backup most of the files in each 
> computer. This seems to be what backuppc is objecting to. Do I have to 
> list each directory under / that I wish to backup? That would be /etc, 
> /home, ....... ,/var. Does this have to be done for each computer? I did 
> list each /dir separately in the backuppc main configuration file. The 
> RsyncShareName is still = / though. I seem to be missing something 
> here???? I got this working once before but don't remember how.
OK, it is obvious you are frustrated, and probably tried a whole bunch
of things already, and just not getting very far, very quickly. However,
please try and remain calm, and the good folk here will certainly do our
best to help you.

The best way to help you would be if you can provide the complete
pc/hostname.pl file, along with the rsyncd.conf file, and the output
from the "Last Error Log" for that host.

With those three bits of information, we can immediately show you what
is wrong, what it should be changed to, etc...

Without those, all we can do is re-write the documentation for you, but
that has already been read and revised by lots of people, so it will be
difficult to do a better job. In short, it is as per above, a module is
a section of the conf file, this is what you connect to with rsync. A
module will define a path, but backuppc doesn't ever know about that,
only rsyncd does.

Please provide some extra info, and I'll try and help further, I really
hope this doesn't sound rude, I don't want to start a war, just trying
to help you as best I can.

Regards,
Adam

-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
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/