Hi,
I hope it's ok that I changed the tabs in the subject to spaces ...
Carl Wilhelm Soderstrom wrote on 05.11.2007 at 10:24:16 [Re: [BackupPC-users]
BackupPC install - worked for 4?days?and?nothing to do. Then installed but
rsync]:
> On 11/05 09:55 , Carl Wilhelm Soderstrom wrote:
> > Unfortunately that's completely alien from the way I do things.
>
> I should have made it clear, that what you're doing isn't necessarily
> *wrong*. It *should* work.
Well, that it does, in fact, *not* work, proves your point that it's not
very maintainable, doesn't it? :)
The problem is that BackupPC is configured to backup /home/clikka/home/clikka
which is empty (most probably does not even exist). Probably no surprise there,
and a good thing that BackupPC by default makes empty backups a fatal error.
You (N.Pussini, that is :) most probably want to keep
$Conf {RsyncShareName} = [ '/home/clikka' ];
as you have and get rid of
$Conf {BackupFilesOnly} = { '*' => [ '/home/clikka' ] };
which is nonsense ("for any other share, backup only /home/clikka and its
contents", "any other" referring to shares not explicitly mentioned in
BackupFilesOnly, meaning "any share" in this case).
Two side notes:
1.) The "sent include" and "sent exclude" values logged were generated from
this BackupFilesOnly value, not a mixture of BackupFilesOnly and
BackupFilesExclude. BackupFilesOnly needs both includes and excludes to
work.
2.) You shouldn't post a complete config.pl with all non-relevant settings
and all comments. True, better post a setting that is not relevant than
leave one out that is, but not many people will be inclined to read
through a complete config.pl. If your problem hadn't been evident from
the log contents in the earlier post, I, for one, would not have gone
to the trouble.
This problem does not occur, if you take Carl's advice and use host
specific configuration files, because then your, hmm, what would it be,
192.168.100.100.pl (!?) would be something like 5 to 10 lines long,
which you could post in full :). Even if you then *do* post both your
host config and the global one, people have the choice of reading just
the host config if that's enough to find the problem. If it isn't, they
can continue with the global config, so that's probably the best option.
Regards,
Holger
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/