Re: [BackupPC-users] ps -ef shows running but no data

2008-08-22 Thread Terri Kelley
Not quite sure what you mean by BackupPC_zcat the XferLOG. How do I do  
that?


I see /var/backuppc/pc/6.1.1.2 in there and has contents LOCK  LOG. 
072008.z  LOG.082008  NewFileList  XferLOG.bad.z  XferLOG.z.
BackupPC is running right now. Looking in the LOG.082008, the last  
lines are:


2008-08-22 16:40:51 Aborting backup up after signal INT
2008-08-22 16:40:52 Got fatal error during xfer (fileListReceive failed)
2008-08-22 16:40:52 full backup started for directory /home/backuppc/ 
test/log


I believe these are from manually stopping the backup then starting it  
again.


I didn't change $Conf{RsyncArgs}. Below is what is contained there:

$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive'
];


Increased the  $Conf{XferLogLevel} to 3 and only get a fileListReceive  
failed when I cancel the backup.


Terri



On Aug 22, 2008, at 9:59 PM, Holger Parplies wrote:


Hi,

Terri Kelley wrote on 2008-08-22 16:40:44 -0500 [[BackupPC-users] ps  
-ef shows running but no data]:

I have looked in every log I can find and do not see any errors until
I cancel the backup.


you should be able to BackupPC_zcat the XferLOG while the backup is  
still
running, but it may not be complete due to buffering. Is there  
anything in

there? Is there a $TopDir/pc/hostname/new directory? With contents?
Does increasing $Conf{XferLogLevel} give you anything interesting in  
the

XferLOG?


[...]
I set the pool on the server to be in /var/backuppc, more room there.


Correctly?


[...]
Looking at the host ps -ef shows:
backuppc  9567  9565  0 16:23 ?00:00:00 sshd: [EMAIL PROTECTED]
root  9568  9567  0 16:23 ?00:00:00 /usr/bin/rsync --
server --sender --server --sender --numeric-ids --perms --owner --
group -D --links --hard-links --times --block-size=2048 --recursive  
--

ignore-times . /home/backuppc/test/log/


The '--server' and '--sender' appear twice. I'm not sure what effect  
that

would have on rsync or File::RsyncP. Did you change $Conf{RsyncArgs}?

Regards,
Holger


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] ps -ef shows running but no data

2008-08-22 Thread Holger Parplies
Hi,

Terri Kelley wrote on 2008-08-22 16:40:44 -0500 [[BackupPC-users] ps -ef shows 
running but no data]:
> I have looked in every log I can find and do not see any errors until  
> I cancel the backup.

you should be able to BackupPC_zcat the XferLOG while the backup is still
running, but it may not be complete due to buffering. Is there anything in
there? Is there a $TopDir/pc/hostname/new directory? With contents?
Does increasing $Conf{XferLogLevel} give you anything interesting in the
XferLOG?

> [...]
> I set the pool on the server to be in /var/backuppc, more room there.  

Correctly?

> [...]
> Looking at the host ps -ef shows:
> backuppc  9567  9565  0 16:23 ?00:00:00 sshd: [EMAIL PROTECTED]
> root  9568  9567  0 16:23 ?00:00:00 /usr/bin/rsync -- 
> server --sender --server --sender --numeric-ids --perms --owner -- 
> group -D --links --hard-links --times --block-size=2048 --recursive -- 
> ignore-times . /home/backuppc/test/log/

The '--server' and '--sender' appear twice. I'm not sure what effect that
would have on rsync or File::RsyncP. Did you change $Conf{RsyncArgs}?

Regards,
Holger

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] busybox tar problem?

2008-08-22 Thread Holger Parplies
Hi,

Ward... James Ward wrote on 2008-08-22 08:30:22 -0700 [Re: [BackupPC-users] 
busybox tar problem?]:
> On Aug 21, 2008, at 7:04 PM, Holger Parplies wrote:
> >Ward... James Ward wrote on 2008-08-19 16:02:16 -0700 [Re: [BackupPC- 
> >users] busybox tar problem?]:
> >>$Conf{PingCmd} = '/usr/local/bin/check_ssh $host';
> >>[...]
> >>$Conf{BackupFilesOnly} = '/etc';
> >>
> >>When the last line contains a '/', I get "no ping response".
> >>When I leave it out, I get "No files dumped for share /".
> >>[and sometimes] I get "lost network connection during backup"?
> >
> >That most certainly has nothing to do with the '/', because the ping  
> >command
> >is run long before the tar command line is built.

actually, there is a pattern, and your error messages are incomplete (you
don't just get one message, you get more in your XferLOG, and more than the
one message is relevant). I am convinced that check_ssh is not working
properly for whatever reason (see below).

If it fails initially, you get "no ping response". If it works initially, you
apparently get "No files dumped for share /" (in *both* cases - '/etc' and
'etc', as they're both changed to './etc' by BackupPC::Xfer::Tar, and there's
no reason why an identical command line should behave differently depending on
the contents of an unrelated configuration file on a remote host), which in
turn triggers another "ping" check. If that fails, you get "lost network
connection ..." (and if it doesn't fail, you don't). So, we're back to the
question I forgot to ask initially: what's in /etc/config/users/backup/tarSend?
What shell is it run with, busybox ash? And while we're at it:
$Conf{TarFullArgs}, $Conf{TarIncrArgs} use the default values? What command is
actually executed (XferLOG)? What happens if you pipe that command into
'tar tvf -' on the command line?

> >What does /usr/local/bin/check_ssh contain?
> 
> /usr/local/bin/check_ssh is a nagios (binary) plugin that checks for  
> ssh connectivity.  I use it on all my linux boxes as we have ping  
> blocked by the firewall.
>
> [...]
>
> Well, I'd like to think it was that simple, but the network is 1G  
> ethernet hard wired.

That's a contradiction. Either you have a firewall or a simple hard wired
ethernet. A firewall can and will limit what goes across the wire - that's its
purpose. It's not uncommon to limit more than you really want to (and that's
better than limitting less than you really want to).

First of all: I don't know check_ssh. Does it reliably return exit code 0 for
success and nonzero for failure? Can you run it repeatedly from a shell
without getting a failure? Try something like

% for i in `seq 1 100`; do
> /usr/local/bin/check_ssh $host || echo "failed on iteration $i"
> done

Yes, that's a tight loop on purpose.

> And these results are 100% repeatable.

If that is true, you must have put considerable effort into verifying it.
There are up to 4 invocations of the ping command if I counted correctly. It
is obviously failing sometimes - the occurrences of "no ping response" and
"lost network connection ..." prove that. You can get more information on
which ones are failing by running BackupPC_dump with a -v option.

> I gave  up and am just running a tar via cron.

Presuming you are not satisfied with that solution.

Regards,
Holger

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Exclude and Only combo

2008-08-22 Thread Holger Parplies
Hi,

Craig Barratt wrote on 2008-08-22 13:18:30 -0700 [Re: [BackupPC-users] Exclude 
and Only combo]:
> James writes:
> 
> > I need to back up a Zimbra mail server, but I can't get the whole thing in 
> > any reasonable amount of time.  I want to exclude the usual stuff:
> > 
> > $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt'];
> > 
> > But I also want to exclude all of /opt, except /opt/zimbra/backup.

I also read this as "all of / except /proc, /sys, /mnt, /opt, plus
/opt/zimbra/backup". I would implement this like BackupPC does, though it's
perhaps not intuitive :-). If you are using rsync(d), that is. It won't work
with tar or smb.

$Conf {BackupFilesExclude} =
  [ '/proc', '/sys', '/mnt',
'+ /opt/zimbra', '/opt/*',
'+ /opt/zimbra/backup', '/opt/zimbra/*' ];

The trick is that all of BackupFilesExclude gets passed to rsync as
'--exclude=/...' arguments. Rsync treats '--exclude=+ /something' as an
include. Thus you're including /opt/zimbra, excluding the rest of /opt, and
likewise including /opt/zimbra/backup and excluding the rest of /opt/zimbra.
That should get you what you want. For a better explanation see
BackupPC::Xfer::Rsync, lines 156 and following.

Note that the order matters: '+ /opt/zimbra' needs to be before '/opt/*' and
likewise for '.../backup'. If it feels more comprehensible, you may change
'/opt/*' to '- /opt/*' (and likewise for other excludes). You need a single
space character between +/- and the path.

I was just wondering why we can't let BackupPC do this. The reason is that
BackupPC would also generate a '+ /opt' and '/*' so that everything except
/opt/zimbra/backup would be left out. This is what your version requests:

> > $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt', '/opt'];
> > $Conf{BackupFilesOnly) = '/opt/zimbra/backup';

"only backup /opt/zimbra/backup and exclude some things that are already left
out anyway". We know you don't want that, so we can simply leave out the
exclusion of '/*'.

Regards,
Holger

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] ps -ef shows running but no data

2008-08-22 Thread Terri Kelley
I have looked in every log I can find and do not see any errors until  
I cancel the backup. I set up a test directory with backuppc as the  
user and group on the test host.
I set the pool on the server to be in /var/backuppc, more room there.  
Permissions etc same as above or what was show in /home/backuppc.

SSH keys exchanged.
So all of that appears to be working, no errors.
Manually started a full backup. Here is the log for that (numbers  
changed):

2008-08-22 16:23:28 User admin requested backup of 6.1.2.2 (6.1.2.2)
2008-08-22 16:23:28 Started full backup on 6.1.2.2 (pid=16554, share=/ 
home/backuppc/test/log)

2008-08-22 16:25:06 User admin requested backup of 6.1.2.2 (6.1.2.2)
I let it run for hours (directory is a copy of /var/log so not huge),  
no errors.

Looking at the host ps -ef shows:
backuppc  9567  9565  0 16:23 ?00:00:00 sshd: [EMAIL PROTECTED]
root  9568  9567  0 16:23 ?00:00:00 /usr/bin/rsync -- 
server --sender --server --sender --numeric-ids --perms --owner -- 
group -D --links --hard-links --times --block-size=2048 --recursive -- 
ignore-times . /home/backuppc/test/log/

I have no idea where to go from here. Any help would be appreciated.
Terri-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] Exclude and Only combo

2008-08-22 Thread Jon Craig
I think what he is trying to achieve is a backup of everthing minus
the exclude plus the specified include (which is within one of the
excludes).

I would take the approach of configuring two backups.  One would start
at root (/) and exclude using the list from above.  The second backup
would start with the base directory in /opt/zimbra/backup and exclude
nothing.  You could do this as one backup, but the include/exclude
would be difficult (the way you have it won't work), and would be
prone to in/ex-clude stuff you didn't intend to.



On 8/22/08, Ward... James Ward <[EMAIL PROTECTED]> wrote:
> I need to back up a Zimbra mail server, but I can't get the whole
> thing in any reasonable amount of time.  I want to exclude the usual
> stuff:
>
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt'];
>
> But I also want to exclude all of /opt, except /opt/zimbra/backup.
>
> Is this the right way to go about this:
>
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt', '/opt'];
> $Conf{BackupFilesOnly) = '/opt/zimbra/backup';
>
> I'm using tar as the backup method.
>
> Ward... James Ward
> [EMAIL PROTECTED]
> Linux Sysadmin
> (520) 290-0910x268
> ICQ: 201663408

-- 
Sent from Gmail for mobile | mobile.google.com

Jonathan Craig

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Exclude and Only combo

2008-08-22 Thread Craig Barratt
James writes:

> I need to back up a Zimbra mail server, but I can't get the whole thing in 
> any reasonable amount of time.  I want to exclude the usual stuff:
> 
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt'];
> 
> But I also want to exclude all of /opt, except /opt/zimbra/backup.
> 
> Is this the right way to go about this:
> 
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt', '/opt'];
> $Conf{BackupFilesOnly) = '/opt/zimbra/backup';

Assuming you only want to backup that one directory and nothing
else, since all the excludes are outside/above the one directory
you want all you need is:

$Conf{BackupFilesOnly) = '/opt/zimbra/backup';

Leave $Conf{BackupFilesExclude} empty.

An alternative is to use '/opt/zimbra/backup' for $Conf{TarShareName}
and leave both $Conf{BackupFilesOnly) and $Conf{BackupFilesExclude}
empty.

Craig

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] fileListReceive failed on centos 4.4

2008-08-22 Thread Matt Chandler
Holger Parplies wrote:
> Hi,
>
> Matt Chandler wrote on 2008-08-21 13:30:39 -0500 [Re: [BackupPC-users] 
> fileListReceive failed on centos 4.4]:
>   
>> Matt Chandler wrote:
>> 
>>> [...]
>>> full backup started for directory /
>>> Running: /usr/bin/ssh -q -x -l backuppc sinope /usr/bin/sudo /usr/bin/rsync 
>>> --server --sender --numeric-ids --perms --owner --group -D --links 
>>> --hard-links --times --block-size=2048 --recursive --one-file-system 
>>> --ignore-times . /
>>> Xfer PIDs are now 26423
>>> Got remote protocol 30
>>> Negotiated protocol version 28
>>> Sent exclude: /media
>>> Sent exclude: /mnt
>>> Sent exclude: /proc
>>> Sent exclude: /sys
>>>   
>
> this much tells you
> - ssh authentication is working (without prompt or extraneous output)
> - sudo invocation is working (without prompt or welcome message)
> - sudo isn't complaining about requiretty being set ;-).
>
> That's good.
>
>   
>>> Here is the config for that machine:
>>>   
>
> Thank you for including it. Looks good to me (except that your excludes are
> not specific to a share, so you're excluding '/u01/media', '/u01/mnt',
> '/u01/proc' and '/u01/sys', but that probably does no harm - it's not the
> problem in any case).
>
>   
>>> Both machines have the same version of rsync(rsync-3.0.3-1.el4.rf) and 
>>>   
>
> Note that BackupPC uses File::RsyncP, so the BackupPC server machine is, in
> fact, *not* using 3.0.3. We see a negotiated protocol version 28 above, and
> File::RsyncP reportedly works with rsync version 3, so that is *probably* not
> the issue, though I wouldn't rule it out completely.
>
> Les Mikesell wrote on 2008-08-21 15:11:25 -0500 [Re: [BackupPC-users] 
> fileListReceive failed on centos 4.4]:
>   
>> [...]
>> Try running the closest 'rsync -essh ...' command you can use 
>> from the backuppc server command line as the backuppc user.
>> 
>
> Which would be
>
>   rsync -e ssh --numeric-ids --perms --owner --group -D --links \
>   --hard-links --times --block-size=2048 --recursive --one-file-system \
>   --ignore-times --exclude=/media --exclude=/mnt --exclude=/proc \
>   --exclude=/sys [EMAIL PROTECTED]:/ /tmp/foo
>
> Please note:
> We are not testing 'ssh' or 'sudo' - they work (see above). I would actually
> run that as root (locally and remote), because you want a full file list to be
> generated on the remote side (which probably won't work for user backuppc),
> and local warning messages about skipped devices (you aren't excluding /dev -
> you might want to ;-) would only be confusing.
>
> You might even want to choose a copy destination below TopDir instead of
> /tmp/foo, just to have tested writing to the file system in question, though
> BackupPC is quite clearly not getting that far before the error occurs - and
> you are going to interrupt the process once it starts anyway (though / is
> not the bulk of your 100GB, I suppose). The command does not seem to give any
> output, so you'll have to check the copy destination to find out if anything
> is happening. Alternatively, you could add '-P' or '-v' switches, but you'd be
> changing the command, and that could have an influence on whether it works or
> not (probably not, but who knows?).
>
> Regards,
> Holger
>
>   
I can run the rsync command on the client machine and it creates root 
level directories, but if I try to run it from the backuppc server then 
I get:

Disconnecting: Corrupted MAC on input.
rsync: connection unexpectedly closed (1300700 bytes received so far) 
[receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(635) 
[receiver=3.0.3]
rsync: connection unexpectedly closed (391 bytes received so far) 
[generator]
rsync error: unexplained error (code 255) at io.c(635) [generator=3.0.3]

This is the only circumstance in which I've had any problem with ssh on 
either machine.  Google suggests that this error is indicative of a 
machine-wide ssh problem.  I'm able to ssh to the client machine as root 
and as the BackupPC user without any errors.  Am I to take from these 
errors that ssh is breaking and causes the rsync errors that follow?

-- 
Matt Chandler



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Exclude and Only combo

2008-08-22 Thread Ward... James Ward
I need to back up a Zimbra mail server, but I can't get the whole  
thing in any reasonable amount of time.  I want to exclude the usual  
stuff:


$Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt'];

But I also want to exclude all of /opt, except /opt/zimbra/backup.

Is this the right way to go about this:

$Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt', '/opt'];
$Conf{BackupFilesOnly) = '/opt/zimbra/backup';

I'm using tar as the backup method.

Ward... James Ward
[EMAIL PROTECTED]
Linux Sysadmin
(520) 290-0910x268
ICQ: 201663408-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] busybox tar problem?

2008-08-22 Thread Ward... James Ward

On Aug 21, 2008, at 7:04 PM, Holger Parplies wrote:


Hi,

Ward... James Ward wrote on 2008-08-19 16:02:16 -0700 [Re: [BackupPC- 
users] busybox tar problem?]:


But here's the problem I'm currently struggling with, here's the
config file for this client:

$Conf{TarClientCmd} = '$sshPath -q -x -n -l backup $host /usr/bin/env
LC_ALL=C /etc/config/users/backup/tarSend -c -v -f - -C $shareName+';
$Conf{PingCmd} = '/usr/local/bin/check_ssh $host';
$Conf{XferMethod} = "tar";
$Conf{BackupFilesOnly} = '/etc';

When the last line contains a '/', I get "no ping response".


That most certainly has nothing to do with the '/', because the ping  
command

is run long before the tar command line is built. What does
/usr/local/bin/check_ssh contain?


/usr/local/bin/check_ssh is a nagios (binary) plugin that checks for  
ssh connectivity.  I use it on all my linux boxes as we have ping  
blocked by the firewall.



When I leave it out, I get "No files dumped for share /".  What  
gives?


All of it sounds like intermittent network failures. What did you  
say about

the network? WLAN with 20 m of concrete between machines? Broken
cable/switch/multiport repeater? Arp poisoning device? When did this  
problem
start? What piece of hardware (or software) did you change shortly  
before?
What does a simple 'ping' say (when run for a while)? A flood ping?  
A command

line rsync (or tar ... "ssh -l backup $host tar cf - / > /dev/null")?


Well, I'd like to think it was that simple, but the network is 1G  
ethernet hard wired.  And these results are 100% repeatable.  I gave  
up and am just running a tar via cron.






Regards,
Holger


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] Got fatal error during xfer (fileListReceive failed)

2008-08-22 Thread Terri Kelley
Finally found it. Path was wrong to the rsync script on the server.  
Fixed that and it ran so it seems there are many reasons you can get  
that error.


But looks like another issue. The job is stil running after all night.  
I see the processes on both ends, connection is established over the  
network but the actual transfer seems not to work.

Haven't looked far enough into that yet.
Anyway, will look into that and start a new thread if need.

thanks for the help to all on this one.


Terri



On Aug 21, 2008, at 6:42 PM, Holger Parplies wrote:


Hi,

Terri Kelley wrote on 2008-08-21 14:52:40 -0500 [Re: [BackupPC- 
users] Got fatal error during xfer (fileListReceive failed)]:

[...]
Went to the host and looked in secure logs. Found the following:

Aug 21 12:39:45 test sudo: pam_unix(sudo:auth): authentication
failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=backuppc


you'll find more in the BackupPC XferLOG before the line you will have
quoted once we get to that part of your e-mail (thank you for top- 
posting).


Regards,
Holger


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] Backup large files

2008-08-22 Thread Les Mikesell
Raúl Lorenzo Boullosa wrote:
> 
>>> I don´t understand at all.
>>> Versions I use are lastest stable from debian repository
>>
>> The current version of backuppc at http://backuppc.sourceforge.net/ is 
>> 3.1.0.  The debian stable distribution often lags years behind current 
>> application releases - but you must already know that.
> Yes, i know that. But I checked what version installed apt. The version 
> is  2.1.2-6. I will update it manually.

There was not a general 2 gig size limit in this version, but it may be 
a problem with one of the transports or whatever is on the other end. 
See http://backuppc.sourceforge.net/faq/limitations.html.

>> There were some size limits in older versions but it has been so long 
>> ago that I've forgotten if they were in rsync or smbtar.  I think they 
>> only involved backups from windows hosts, though.
>>
> Rsync version is 2.6.9-2etch2

Backuppc doesn't use the native rsync on the server, but does run the 
one on the client.  The windows/cygwin version could be a problem.

-- 
Les Mikesell
 [EMAIL PROTECTED]

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Chinese Characters Breaking backups

2008-08-22 Thread jhendry
Hi Everyone, we are running BackupPC 3.1.0 in our Shanghai office and for 
every backup we are receiving the following type of error 

"Remote[2]: file has vanished:  S/system32/D:/Filesystem/profiles//tool materials/??.xls" 

The file has not actually vanished as the server is never turned off, 
after checking the file it contains Chinese characters in its name which i 
believe is causing the errors. 

Our BackupPC server is running on FreeBSD 7.0 and we are backing up from a 
Windows Server 2003 machine using rsync.  Is there anyway make BackupPC 
compatible with Chinese characters? Or is my problem something different 
entirely?

Jason Hendry
http://www.mintel.com
providing insight + impact

PS Discover and develop genuinely new ideas first with Mintel Inspire -
your global trends resource.

Preview our Trendscape and get on the fast track to productive ideation.
http://www.mintel.com/inspire/

London Office:
Mintel International Group Ltd (Mintel)
18-19 Long Lane
London
EC1A 9PL
UK

Registered in England: Number 1475918.
VAT Number: GB 232 9342 72

Tel: 020 7606 4533
Fax: 020 7606 5932


Chicago Office:
Mintel International Group Ltd (Mintel)
Floor 8
351 West Hubbard Street
Chicago
IL 60610
USA

Tel: 312 932 0400
Fax: 312 932 0469

Notice

This email may contain information that is privileged,
confidential or otherwise protected from disclosure. It
must not be used by, or its contents copied or disclosed
to, persons other than the addressee. If you have received
this email in error please notify the sender immediately
and delete the email. Any views or opinions expressed in
this message are solely those of the author, and do not
necessarily reflect those of Mintel.

No Mintel staff are authorised to make purchases using
email or over the internet, and any contracts so performed
are invalid.

Contact: [EMAIL PROTECTED]

Warning
**
It is the responsibility of the recipient to ensure that
the onward transmission, opening or use of this message
and any attachments will not adversely affect their systems
or data. Please carry out such virus and other checks, as
you consider appropriate.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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] Using OS X As Server

2008-08-22 Thread Adam Dempsey
Adam Dempsey wrote:
>> I have read that people have done it before but I am struggling to get
>> BackupPC to run on an OS X Server, to backup linux clients.
>>
>> I think I have it installed but I can't figure out how to get the CGI
>> script to work, I get Error 500, I'm sure I haven't setup something
>> correctly but I'm not sure and wondered if anyone had any suggestions.
>> 
>
> Have you checked your webserver logs for more info on the error?
>
> Nils Breunese.
>   
The logs say

[error] [client 127.0.0.1] Premature end of script headers: 
/Library/WebServer/CGI-Executables/BackupPC_Admin.cgi

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Backup large files

2008-08-22 Thread Raúl Lorenzo Boullosa
Les Mikesell escribió:
> Raúl Lorenzo Boullosa wrote:
>> I don´t understand at all.
>> Versions I use are lastest stable from debian repository
>
> The current version of backuppc at http://backuppc.sourceforge.net/ is 
> 3.1.0.  The debian stable distribution often lags years behind current 
> application releases - but you must already know that.
Yes, i know that. But I checked what version installed apt. The version 
is  2.1.2-6. I will update it manually.
>
> There were some size limits in older versions but it has been so long 
> ago that I've forgotten if they were in rsync or smbtar.  I think they 
> only involved backups from windows hosts, though.
>
Rsync version is 2.6.9-2etch2

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Backup large files

2008-08-22 Thread Raúl Lorenzo Boullosa
Holger Parplies escribió:
> Hi,
>
> Alan McKay wrote on 2008-08-21 11:06:23 -0400 [Re: [BackupPC-users] Backup 
> large files]:
>   
>> 2G filesize is a limit of older LInux kernels.  But fairly old at this
>> point.   Anything within the last couple of years should be 2.6 kernel
>> which should not have this limit.   2.4 kernel did IIRC.
>> 
>
> No, and no. 2.6 isn't *that* old. Debian sarge offered you the choice between
> 2.4 and 2.6, and was current about 1.5 years ago. Large files work fine under
> 2.4, though it might depend on the file system (or was that in 2.2?). My bet
> is that he's using SMB. From memory, I'd say that is usually the problem,
> though I didn't search the archives :-).
>
> Regards,
> Holger
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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/
>   
Even with 2.6 kernel you could have disable the large file support.
With sMB it is possible to enable large file support with lfs option in 
SMB mount fstab line

Anyway in my case i don´t use SAMBA and I have enabled  large file 
support in EXT3.
EXT3 is where no-backup data is stored.
Backup data is stored through NFS in a NAS formatted in EXT3.

thanks

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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/