Re: [BackupPC-users] rsyncd problem

2007-02-22 Thread Craig Barratt
Jim writes:

 Thanks for your personal attention on this. The XferLOG is now available in
 the images directory:
 
 http://mail.stephanco.com/backuppc/images/
 
 The log from the email you replied to has since been overwritten since it
 was only considered a partial backup. The emails yesterday between the one
 you replied to and now seem to show that backuppc is only able to get one of
 the two modules rsyncd is sharing. Initially it allowed apps to work and UPC
 failed. I changed UPC to upc, and now that works while apps fails.

Thanks for the log file.  In the transfer of the apps share, I see:

Sent include: /apps
Sent include: /upc
Sent exclude: /*

So it appears that you have $Conf{BackupFilesOnly} set to something like:

$Conf{BackupFilesOnly} = {
 apps = [/apps, /upc],
 upc  = [/],
};

The failure No files dumped for share apps is correct, since there
are no files below /apps or /upc in the apps share.

Changing the case of the share name causes the setting in
$Conf{BackupFilesOnly} to no longer match, and the backup succeeds.

I can't explain why changing the order of the shares causes
the other one to fail.  But the issue is related to the setting
of $Conf{BackupFilesOnly}...

Craig

-
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] WakeupSchedule questions

2007-02-22 Thread Nils Breunese (Lemonbit)

Hello,

The documentation shows I can use ranges to specify the  
WakeupSchedule. However, when I enter 1, 8..23 in the GUI editor I  
get an error. Not even 8..23 is accepted. It should be right? I put  
int 1, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23  
for now, which works just fine of course.


What hour is midnight by the way? 0? If I want to add midnight to the  
end of the schedule I can't use 8..0 probably, right? 1, 8..23, 0  
then?


Nils Breunese.


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
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] Change Language Webinterface/Email for users separately?

2007-02-22 Thread Schnell.Thomas
Hello Together!

First of all I'd like to thank the programmer's for their great work. Nice tool 
guys!

Here comes my question:

Most people who are using BackupPC 3.0 (Final) in our company are speaking 
german, but fore some it would be nice if we could change the language e.g. 
into English, France ...

I've added the line $Conf{Language} in the host.pl file to fr.
At first sight everything looks great. The main site of my client in the 
CGI-Webinterface is france, but when I click on a Backup (I've made before) I 
get everything on german again. Could this be a bug?

In the main config.pl $Conf{Language} is set to de.

Am I right in thinking that when I set $Conf{Language} in the host.pl file 
e.g. to fr that the user will get mails in france too?

Best Regards,

Thomas


Sitz der Gesellschaft: Lumberg Holding GmbH  Co. KG
Im Gewerbepark 2, D-58579 Schalksmuehle - Germany
Internet: www.lumberg.com, Registergericht: Iserlohn HRA 3581
Geschaeftsfuehrer: Elmar Berghaus - Wilhelm Helbert



Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

-
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] Change Language Webinterface/Email for users separately?

2007-02-22 Thread Craig Barratt
Schnell writes:

 First of all I'd like to thank the programmer's for their great work.
 Nice tool guys!

Thanks.

 Most people who are using BackupPC 3.0 (Final) in our company are
 speaking german, but fore some it would be nice if we could change
 the language e.g. into English, France ...

 I've added the line $Conf{Language} in the host.pl file to fr.
 At first sight everything looks great. The main site of my client in
 the CGI-Webinterface is france, but when I click on a Backup (I've
 made before) I get everything on german again. Could this be a bug?

 In the main config.pl $Conf{Language} is set to de.

The $Conf{Language} setting was not designed to be set on a per-host
basis.  But as you noticed, it almost does the right thing.  Some
parts of the CGI code (eg: backup browsing) don't read the per-host
config file (to save time), and that's why the per-host setting
doesn't work.  The host summary works because the blackout
information is displayed, and that can per host specific.

It should be easy to fix.  In lib/BackupPC/CGI/HostInfo.pm you will
notice these two lines of code:

ConfigRead($host);
%Conf = $bpc-Conf();

You should add those same two lines near the top of the action()
subroutine in lib/BackupPC/CGI/Browse.pm (after $host is set)
and other CGI components that don't read the file.

 Am I right in thinking that when I set $Conf{Language} in the
 host.pl file e.g. to fr that the user will get mails in
 france too?

I believe so (since the per-host config is read prior to each
email being sent), but I haven't tested it.

Craig

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