Re: [BackupPC-users] Incremental backup levels not working.

2007-11-02 Thread John Rouillard
On Fri, Nov 02, 2007 at 08:20:56AM -0400, Rob Owens wrote:
> I have it working in 3.0
> 
> $Conf{IncrLevels} = [1, 2, 3, 4, 5, 6];
> 
> The backup summary shows that it is, in fact, performing multilevel backups.
> John Rouillard wrote:
> > Hi all:
> > 
> > I am working with BackupPC 3.1.0Beta0. I have 
> > 
> >   $Conf{IncrLevels} = [1, 2, 3];
> > 
> > set in my config file. However when I schedule a backup from the web
> > interface it always shows up as a level 1, even when the prior backup
> > was a level 1. Is this expected?
> > 
> > Also I sent an email earlier about the same problem when manually
> > schedulingincremental backups using the web interface.
> > 
> > Does anybody have multi-level incremental backups working?
> > 

Rob, what file do you have that in?

In BackupPC::Storage::Text.pm the function ConfigDataRead
has:

$conf->{IncrLevels} = [1] if ( !defined($conf->{IncrLevels}) );

This is exactly what I am seeing in the web interface, if I edit the
config I see the override enabled and the levels set to 1. It also
matches what I am seeing in my backups (see 

  [BackupPC-users] Unable to get multilevel incrementals working at
  http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg07619.html

and

  [BackupPC-devel] BackupPC web interface bug with incrlevel at
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg00147.html

Do you have the $Conf{IncrLevels} = [1, 2, 3]; defined in a per host
file rather than the main config.pl file?

-- 
-- rouilj

John Rouillard
System Administrator
Renesys Corporation
603-643-9300 x 111

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Use Certificate Authority to simplify key exchange?

2007-11-02 Thread Jon Saints
Hi all,

Is there a way to generate the ssh keys needed for rsync data transfers using a 
Certificate Authority (like Ebox)? This might simplify the process of issuing 
security keys to rsync transfer client machines.

This would be instead of using the command "ssh-keygen -t rsa" and manually 
copying keys between backuppc server and client machines.

Thanks
Jon





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Strange errors after debian sarge->etch upgrade

2007-11-02 Thread Ward... James Ward
Anyone know what's causing this?

Running: /usr/bin/ssh -c arcfour -p 8889 -q -x -l backup ip5.chinoc.net
sudo /var/backups/rsyncSend --server --sender --numeric-ids --perms
--owner --group -D --links --times --block-size=2048 --recursive
--exclude=/proc --exclude=/sys --exclude=/vol01 --exclude=/vol03
--exclude=/vol04 --exclude=/vol05 --exclude=/home/pluginfeeds
--exclude=/var/lib/mysql --exclude=/pifisi --ignore-times . /
Xfer PIDs are now 825
Got remote protocol 29
Negotiated protocol version 26
Sent exclude: /proc
Sent exclude: /sys
Sent exclude: /vol01
Sent exclude: /vol03
Sent exclude: /vol04
Sent exclude: /vol05
Sent exclude: /home/pluginfeeds
Sent exclude: /var/lib/mysql
Sent exclude: /pifisi
Xfer PIDs are now 825,858
[ skipped 150 lines ]
Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(etc/init.d/stop-bootlogd)
[ skipped 7 lines ]
Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(etc/localtime)
[ skipped 6122 lines ]
Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(usr/bin/rstartd)
[ skipped 13 lines ]
Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(usr/bin/sudoedit)
[ skipped 8162 lines ]
Can't write 33196 bytes to socket
[ skipped 2 lines ]
finish: removing in-process file usr/lib/man-db/man
Child is aborting
Done: 13686 files, 244408443 bytes
Got fatal error during xfer (aborted by signal=PIPE)
Backup aborted by user signal


-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] minor runtime/config error

2007-11-02 Thread Paul Fox
hi --

i recently did a fresh install of 3.0.0.  i have no PCs in my
network, and the machine has no samba software installed on it.

backuppc complains about smbclient and nmblookup being missing,
and refuses to run, though i have no use for either one.  i.e.:

# /etc/init.d/backuppc restart
Restarting backuppc: 2007-11-02 12:11:33 $Conf{SmbClientPath} = 
'/usr/bin/smbclient' is not a valid executable program

my workaround was to set those paths to /bin/cat.  (experimenting
just now, it seems i could also have set them to null.)

in contrast, i also didn't have File::RsyncP installed (which i
needed for one host -- mostly i use tar), and that error didn't
show up until i tried to run a backup for that host, and the
error was reported right in the host summary status box for that
host.  this seems like the preferable failure mode, to me.

paul
=-
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 45.0 degrees)

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Fatal error (bad version)

2007-11-02 Thread Joe Skop
Hi,

I tried many times to sync a remote linuxbox via backuppc, but I
receive the error:

Xfer PIDs are now 27814
Got remote protocol 1651076184
Fatal error (bad version): Xlib: connection to ":0.0" refused by server
Xlib:
Read EOF:
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)

I take a look on the previuos question on list, I find just once about
my problem without direct answer.

Thanks a lot

JS

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Windows backup question

2007-11-02 Thread Yaakov Chaikin
> PS: Google is a nice search engine, please try to use it. Thank you.

What's the address for that again? :-)

Just kidding. Yes, I should've googled it, you're right.

Yaakov.

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] remove host from "failures that need attention"

2007-11-02 Thread Rob Owens
This problem seems to have gone away on its own.  It took a while, and I
don't notice that it was related in any way to any of my "time
variables", such as FullPeriod, etc.  Oh well.

-Rob

Rob Owens wrote:
> I had a host machine that I took offline.  The last backup of it
> resulted in a failure, and then I removed the host from the BackupPC
> configuration file.  However, the cgi interface still shows that host
> under "failures that need attention".  Is there a manual way to remove
> that?
> 
> The host in question does not exist anymore.  I guess I could create an
> alias for it, and then perform a successful backup to clear the
> "failure" message, but I'd prefer a more direct fix if there is one
> (like maybe removing the entry from a text file somewhere).
> 
> -Rob
> 
> -
> 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
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Incremental backup levels not working.

2007-11-02 Thread Rob Owens
I have it working in 3.0

$Conf{IncrLevels} = [1, 2, 3, 4, 5, 6];

The backup summary shows that it is, in fact, performing multilevel backups.

-Rob

John Rouillard wrote:
> Hi all:
> 
> I am working with BackupPC 3.1.0Beta0. I have 
> 
>   $Conf{IncrLevels} = [1, 2, 3];
> 
> set in my config file. However when I schedule a backup from the web
> interface it always shows up as a level 1, even when the prior backup
> was a level 1. Is this expected?
> 
> Also I sent an email earlier about the same problem when manually
> schedulingincremental backups using the web interface.
> 
> Does anybody have multi-level incremental backups working?
> 

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] problems after moving pool (trashClean, BackupPC_link)

2007-11-02 Thread Ralf Gross
Ralf Gross schrieb:
> 
> I had to change the disks in our backuppc server to expand /var/lib/backuppc.
> So I umounted it, ran fsck.reiserfs, copied the partition with dd and netcat 
> to
> an other system as file, added disks, copied the disk image back with
> dd/nc, ran resize_reiserfs, fsck.reiserfs. Everything was ok, no
> errors. Then I mounted the new fs and started backuppc (at ~23.30 last night).
> 
> I already did this a couple of times, but this time I see errors in
> the log files.
> 
> 2007-11-01 01:02:59  trashClean : Can't read 
> /var/lib/backuppc/trash/1193875302_21827_0/f%2f/fusr/fshare/fdoc/fpackages/fprocmail:
>  Datei oder Verzeichnis nicht gefunden
> 2007-11-01 01:03:01  trashClean : Can't read 
> /var/lib/backuppc/trash/1193875302_21827_0/f%2f/fusr/fshare/flocale/fis/fLC_MESSAGES:
>  Datei oder Verzeichnis nicht gefunden
> 2007-11-01 01:03:01  trashClean : Can't read 
> /var/lib/backuppc/trash/1193875302_21827_0/f%2f/fusr/fshare/flocale/flv: No 
> such file or directory
> 2007-11-01 01:03:01  trashClean : Can't read 
> /var/lib/backuppc/trash/1193875302_21827_0/f%2f/fusr/fshare/flocale/fnb_NO/fLC_MESSAGES:
>  No such file or directory
> 2007-11-01 01:03:51 Finished incr backup on serverxx07
> 2007-11-01 01:03:54 Started full backup on serverxxtest (pid=22058, share=/)
> 2007-11-01 01:03:55 Finished incr backup on serverxx06
> 2007-11-01 01:04:08 Started incr backup on serverxx02 (pid=22071, share=/)
> 2007-11-01 01:04:19 Finished incr backup on serverxx02
> [...]
> 2007-11-01 01:42:10 BackupPC_link got error -3 when calling 
> MakeFileLink(/var/lib/backuppc/pc/serverxx04/617/f%2f/flib/fmodules/f2.6.5-7.244-smp/fkernel/fdrivers/fisdn/attrib,
>  45968a40280a17e322074be7b416b174, 1)
> 2007-11-01 01:42:10 BackupPC_link got error -3 when calling 
> MakeFileLink(/var/lib/backuppc/pc/serverxx04/617/f%2f/flib/fmodu
> [...]
> 
> 
> It seems that 2 instances of BackupPC and BackupPC_trashClean were running. I
> stopped backuppc with the init script, but 2 processes were still running. I
> then killed them, now only one instance of BackupPC and BackupPC_trashClean 
> are
> active.
> 
> 
> I'm not sure how serious these error messages are. Is it something I can 
> forget
> now, or should I start over and create the partition again? The dd image is
> still on the other server.

I haven't found anything unusual in last night's log, so I guess this
temp. problem didn't confuse backuppc too much.

Ralf

-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Windows backup question

2007-11-02 Thread Toni Van Remortel
Yaakov Chaikin wrote:
> On 10/31/07, Toni Van Remortel <[EMAIL PROTECTED]> wrote:
>   
>> Yaakov Chaikin wrote:
>> 
>>> The reason I am asking is that if I back up My Document once, which is
>>> 7GB, it's not such a big deal, but if I make it back it up every
>>> night, such that every night there is 7GB of data flying across the
>>> network, that won't be too good.
>>>   
>> Why isn't it good that your network is used at night by your backup?
>> Otherwise it is just wasting energy, doing nothing, I suppose.
>> A network is ment to be used, and in my opinion, the network is for
>> backups at night and for working people during the day.
>> 
>
> I don't mind the network being used. I do mind, however, having a few
> Windows machines that can potentially have 10-15GB of data each
> sending such giant globs of data over the network when all that's
> changed is 15Mb. My understanding was that something like rsync
> wouldn't send the whole thing over even on a full backup. Am I wrong?
>   
No, you are right. Full backups with SMB transfer the whole bunch, while 
a full backup with rsync only transfers the changed files.
Although the traffic difference between an incremental and a full is 
still significant, it will use the bandwidth more efficient than SMB.

>> Install cwrsync of deltacopy, they both use their own private cygwin
>> libraries without interrupting an existing cygwin installation.
>> 
>
> Where do I download these from?
cwrsync : http://www.itefix.no/cwrsync/ (download the cwRsync Server)
deltacopy: http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

PS: Google is a nice search engine, please try to use it. Thank you.

-- 
Toni Van Remortel
Linux System Engineer @ Precision Operations NV
+32 3 452 92 26 - [EMAIL PROTECTED]


-
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
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/