Re: [BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Ralf Gross
Les Mikesell said:
>> I've used **3** different computers with wildly different hardware.  On
>> the host side, I've used **4** different computers (and most of them are
>> high-end server hardware) with wildly different hardware.  It's not
>> related to a specific brand or type of hardware.
>
> But lots of other people including myself run rsync without errors so it
> has to be something unique to your situation.  That 'no route to host'
> message isn't coming from rsync - it is a system error that it is
> reporting. Maybe cables from a different vendor would help.

This is maybe a bit off topic, but I've recently set up 3 new server. All
have Intel e1000 NICs, and all had different network errors.

* e1000 with 82573E chipset: wrong EEPROM value
  -> updated EEPROM with ethtool
* all e1000 NICs: TCP Segmentation Offload not working correctly
  -> disabled with ethtool
* all e1000 NICs: default vm.min_free_kbytes value too small
  -> increased vm.min_free_kbytes to 16384

Some of the errors occured everytime I did a benchmark with netpip/netio,
some only occured infrequently during backup or with certain applications.
Sometimes the e1000 device just hang for a couple of seconds. The
interesting messages were always in the kernel log.

I've also see switches behaving very strange. Maybe testing the backup
with a direct connection between two computers would be a good idea too
(I've not followed the thread completely, maybe this already happend...).

Ralf


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Holger Parplies
Hi,

Les Mikesell wrote on 31.01.2007 at 23:46:13 [Re: [BackupPC-users] RHEL4 fresh 
load - child exited prematurely]:
> Timothy J. Massey wrote:
> 
> > I've used **3** different computers with wildly different hardware.  On 
> > the host side, I've used **4** different computers (and most of them are 
> > high-end server hardware) with wildly different hardware.  It's not 
> > related to a specific brand or type of hardware.
> 
> But lots of other people including myself run rsync without errors so it 
> has to be something unique to your situation.

well, no. You don't rule out bugs by "it works for me", not even by "it
works for everyone I know". I'm sure you know that.

We don't know much about the "lots of other people", do we? We know there
have been no further *reports* of it on this list, but I don't remember
hundreds of people reporting success with rsync on RHEL4 either. You might
know about other lists, I don't.

That said, I fully agree with you in that

a) I don't suspect an rsync bug and

> That 'no route to host' 
> message isn't coming from rsync - it is a system error that it is 
> reporting.

b) that it's not an application level error. It *could* be caused by the
   application (incorrect setsockopt(), fcntl() or something the like),
   but that's not probable (in my opinion at least).

> Maybe cables from a different vendor would help.

I doubt it, because other applications are doing well. It doesn't seem to be
hardware related to me. I suspect the kernel on the host side (backup client)
or its configuration. Of course, it may be hardware specific in that
different hardware does not trigger whatever is happening (and that could
include the switch, maybe, perhaps), but the cables? It's not the hardware
where I would start looking, especially after Tim *has* tested quite a lot
of different setups.

It could be stupid things like arp poisoning, a misbehaving machine on the
local network or whatever. Remains the question what communication
characteristics rsync has and SMB doesn't (hmm, SMB is UDP, isn't it?) that
make the problem appear.

Tim sent me his /etc/sysctl.conf off-list, and I find it harmless (that
refered to "kernel configuration" before I added the previous paragraph). As I
understand him, he's about to try out different kernels (2.4.x ?), now that
he has a test setup available. Swapping kernels is *not* something I'd happily
do without further thought on a production server either, and I'm sure you
agree.

May I summarize a few points I believe we all agree on?

1.) It's a client side problem, i.e. the backed up client seems to be the
cause, not the BackupPC server machine.
2.) It is thus not a BackupPC problem. On the client only stock RHEL4
software is in use (on the test setup anyway).
3.) It is still on-topic in that it happens using BackupPC and only then.
Other users of BackupPC may run into similar problems and be glad to
find a solution in the archives once we find one.
4.) It's an obscure and unnerving problem. There are many things to try out,
nothing obvious springing to mind, and each of us has different thoughts
on what to try in which order :).

My bet stays the kernel. Craig has a point with the isolated network. Either
one might fix it, without leading to a definitive diagnose. Running on an
isolated network as a workaround is not an option :-), but it's the easier
thing to try out, and *reproducing* the problem on an isolated network would
rule out quite a lot of causes.

The only other idea I have in mind right now is wishing Tim good luck.

Regards,
Holger

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Craig Barratt
Les writes:

> Timothy J. Massey wrote:
> 
> > rsync: read error: No route to host
> 
> This is almost certainly a network error, unrelated to rsync or
> whatever application might be running.  Do other network-intense
> things have similar problem?  Try something like:

I agree with Les.  This really points to a network problem.

It's time to stop changing computers and software and to test with
on an isolated network with different hardware, cables and power
supply from what you are currently using.

Craig

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Les Mikesell
Timothy J. Massey wrote:

> I've used **3** different computers with wildly different hardware.  On 
> the host side, I've used **4** different computers (and most of them are 
> high-end server hardware) with wildly different hardware.  It's not 
> related to a specific brand or type of hardware.

But lots of other people including myself run rsync without errors so it 
has to be something unique to your situation.  That 'no route to host' 
message isn't coming from rsync - it is a system error that it is 
reporting. Maybe cables from a different vendor would help.

-- 
   Les Mikesell
[EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Timothy J. Massey
[EMAIL PROTECTED] wrote on 02/01/2007 
12:22:18 AM:

 > Timothy J. Massey wrote:
 >
 > > rsync: read error: No route to host
 >
 > This is almost certainly a network error, unrelated to rsync or whatever
 >   application might be running.  Do other network-intense things have
 > similar problem?  Try something like:
 >
 > ssh othermachine tar --one-file-system -cf - >/dev/null
 > and repeat a similar command on the other system at the same time so you
 > have traffic both directions.

I will give that a shot when I get a chance.  However, remember that 
these computers are not just sitting there copying data via rsync. 
They're serving as file servers, Domino servers, web servers and other 
things.  They do heavy disk and network traffice routinely.  In fact, my 
emergency workaround is to use smb instead of rsync to back them up, and 
this works fine.  While the bug may or may not be in rsync, it is only 
triggered by rsync.  These systems do not exist in a vacuum, and they 
work *fine* outside of this.

 > > So, I am able to reproduce the error with 3 different computers, 2
 > > completely different operating system families and a bunch of 
different
 > > versions.
 >
 > Do you have any that never have errors?

My notebook can copy the data maybe 30% of the time.  The slower 
computers cannot.

 > > Now that I'm on a disposable computer, I can start making changes 
to the
 > > host side.
 > >
 > > Anything else you want to see on the server side?  I'm out of ideas
 > > there.  I will start manipulating the host side when I get some more
 > > free time.
 >
 > Are you doing anything with iptables?  If so, try turning them off.
 > Perhaps different brands of switches and NICs if possible.

I've used **3** different computers with wildly different hardware.  On 
the host side, I've used **4** different computers (and most of them are 
high-end server hardware) with wildly different hardware.  It's not 
related to a specific brand or type of hardware.

Tim Massey

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Les Mikesell
Timothy J. Massey wrote:

> rsync: read error: No route to host

This is almost certainly a network error, unrelated to rsync or whatever 
  application might be running.  Do other network-intense things have
similar problem?  Try something like:

ssh othermachine tar --one-file-system -cf - >/dev/null
and repeat a similar command on the other system at the same time so you 
have traffic both directions.

> So, I am able to reproduce the error with 3 different computers, 2 
> completely different operating system families and a bunch of different 
> versions.

Do you have any that never have errors?


> Now that I'm on a disposable computer, I can start making changes to the 
> host side.
> 
> Anything else you want to see on the server side?  I'm out of ideas 
> there.  I will start manipulating the host side when I get some more 
> free time.

Are you doing anything with iptables?  If so, try turning them off.
Perhaps different brands of switches and NICs if possible.

-- 
   Les Mikesell
 [EMAIL PROTECTED]




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Stop/Dequeue Safari bug

2007-01-31 Thread Ambrose Li
On 31/01/07, Craig Barratt <[EMAIL PROTECTED]> wrote:
> A small snippet of javascript is used to set the action variable
> when you click on the button.  (In 2.x it wasn't done this way.)

Wouldn't this be a bad idea in any case? Javascript dependency would
mean that I can no longer control BackupPC through w3m or lynx...
right?

-- 
cheers,
-ambrose

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] RHEL4 fresh load - child exited prematurely

2007-01-31 Thread Timothy J. Massey
Hello!

Here's what I've done.  I've loaded a brand new backup server just out 
of the box, and a test host running actual RHEL4 on a previously unused 
computer.  In other words, 100% of the hardware (including the network 
cables and switch) are completely different.  I get the same error.

I have included detailed information about the systems involved at the 
end of this e-mail, including the BackupPC and rsync logs.  I am running 
the latest BackupPC, the latest File:RsyncP and a standard Red Hat rsync 
binary.  Yet, I get exactly the same error.

I also decided to retest running rsync directly from the backup server, 
using the command-line specified for BackupPC.  It turns out actual 
rsync *does* fail on the backup server.  Here is the error:

BackupPC side:
# rsync --numeric-ids --perms --owner --group -D --links --hard-links 
--times --block-size=2048 --recursive --one-file-system 
[EMAIL PROTECTED]::ROOT/* .
rsync: read error: No route to host
rsync error: error in rsync protocol data stream (code 12) at io.c(177)
rsync: connection unexpectedly closed (1423795 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
#

Host side:  /var/log/rsyncd.log
2007/01/31 12:16:59 [2625] rsyncd version 2.6.3 starting, listening on 
port 873
2007/01/31 12:17:16 [2627] name lookup failed for 172.28.16.32: Name or 
service not known
2007/01/31 12:17:16 [2627] rsync on . from [EMAIL PROTECTED] (172.28.16.32)
2007/01/31 12:34:15 [2627] rsync: writefd_unbuffered failed to write 
4096 bytes: phase "unknown" [sender]: Connection timed out (110)
2007/01/31 12:34:15 [2627] rsync error: error in rsync protocol data 
stream (code 12) at io.c(909)

While it still fails, actual rsync seems to copy more data faster than 
File::RsyncP.  In fact, with only 500MB of data, I was actually able to 
get an entire copy done once with the real rsync binary.

To eliminate the possibility of special files causing problems, and to 
generate more test data, I created a test directory and cp -a /usr 4 
times times into the test directory, creating 2.0GB of data (and I later 
increased it to 4GB).  It still fails.

I realized that I've only used my VIA-based backup servers.  Different 
systems *and* different operating systems, but same model of hardware. 
So, I grabbed another computer (IBM NetVista), loaded it with CentOS 3.8 
(just like my backup servers) and ran the above command-line rsync 
against the test data.  Same error.

I then booted Knoppix 3.2 with a 2.4 kernel on the NetVista and did a 
command-line rsync.  Same error!  I then booted Knoppix 3.9 with a 2.6 
kernel:  same error.  Knoppix 4.0.2:  same error.  Knoppix 5.0.1:  Same 
error.

In doing a bunch of tests (which are not all detailed here), I began to 
think that there might be a relationship between system speed and the 
amount of data that could be copied:  the NetVista tended to copy more 
data before the failure than the VIA does (though not always).  So, I 
booted a Knoppix 3.6 CD (3.2 doesn't support the NIC) on my notebook 
(IBM ThinkPad R52, Pentium M 1.86GHz, 1.5GB RAM).  It too failed, but 
much farther:  1.3GHz.  I then booted Knoppix 3.7:  it failed at 700MB. 
  I then booted Knoppix 3.9.  It failed once at 550MB.  I reran it, and 
it finished successfully.  So, I doubled the size of the data to 4GB. 
Reran it:  it failed at over 1GB.  It seems that my notebook will still 
fail, but it's a little harder to get it to fail.

So, I am able to reproduce the error with 3 different computers, 2 
completely different operating system families and a bunch of different 
versions.

Now that I'm on a disposable computer, I can start making changes to the 
host side.

Anything else you want to see on the server side?  I'm out of ideas 
there.  I will start manipulating the host side when I get some more 
free time.

Timothy J. Massey





Detailed Server and Host Information


Backup Server
=
Hardware:  VIA EPIA-MII 1.2GHz motherboard, 512MB RAM, -or-
IBM NetVista 6790-CAU (Intel Pentium 4 1.6GHz), 512MB RAM -or-
IBM ThinkPad R52 (Intel Pentium M 1.86GHz), 1.5GB RAM

OS:  Stock CentOS 3.8
   Minimal install with two additional options
 Web Server (all subitems unchecked)
 Windows Server (all subitems unchecked)
Stock Knoppix 3.2
Stock Knoppix 3.6
Stock Knoppix 3.7
Stock Knoppix 3.9
Stock Knoppix 4.0.2
Stock Knoppix 5.0.1

Non-BackupPC software needed by BackupPC:
   CGI.pm-3.25.tar.gz
   compat-libstdc++-7.3-2.96.128.i386.rpm
   Encode-2.18.tar.gz
   par2cmdline-0.4-alt0.M24.1.i586.rpm
   perl-Archive-Zip-1.16-1.1.el3.rf.noarch.rpm
   perl-Compress-Zlib-1.42-1.el3.rf.i386.rpm
   perl-File-RsyncP-0.68-1.el3.rf.i386.rpm
   perl-HTML-Parser-3.26-17.i386.rpm
   perl-HTML-Tagset-3.03-28.noarch.rpm
   perl-libwww-perl-5.65-6.noarch.rpm
   perl-suidperl-5.8.0-94.EL3.i386.rpm
   perl-URI-1.21-7.noarch.rpm
   perl-XML-Parser-2.31-16.EL3.i386.rpm
   p

Re: [BackupPC-users] Stop/Dequeue Safari bug

2007-01-31 Thread Craig Barratt
James writes:

> The stop/Dequeue process is not working for me in safari (as in  
> absolutely nothing happens), I noticed this with Start Backup option  
> as well. However, BackupPC began backing the host up after I restarted  
> BackupPC.
> 
> BackupPC version: 3.0
> OS of Browser that showed bug: OSX 10.5, Safari 3.0
> 
> -) I did a quick check of the usual suspects such as apache logs,  
> backuppc logs and didn't see any references.
> 
> -) I checked the url strings in the browsers and got this in safari:
> 
> BackupPC_Admin?host=localhost&action=

A small snippet of javascript is used to set the action variable
when you click on the button.  (In 2.x it wasn't done this way.)
Looks like this doesn't work:



Please try this:

  - look at the html source (on the stop backup page) and verify that
$In{action} is replaced by a non-empty string (eg: Stop_Dequeue_Backup).

  - If it is empty then the problem is prior to getting to this page.
Go back a page and look at the source there.

  - If it is non-empty, could javascript be disabled on your browser?

If you can't make progress I'll try it out on Safari too.

Craig

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] 2.1 versus 3.0

2007-01-31 Thread Jason Hughes
James Ward wrote:
> it looks like they're going to all get started at the same time again  
> due to waiting on the nightly process to complete after the longest  
> of these backups.
>
> Does version 3 get me away from this scenario?  
Yes.  Version 3 doesn't need nightly processing to be mutually exclusive 
to backups.  They should fire off whenever they're due to start.  
However, if you having trouble with one taking more than 24 hours, and 
the period between backups is less than this, it will pretty much always 
be backing up those machines and falling further behind.  Since you 
mention having multiple backup servers, perhaps putting the largest file 
server hosts onto different backuppc servers would help?
> And on my other  
> server that's backing up 200 machines (some remote), will it be able  
> to just backup 24x7 with version 3?  Right now it spends most of  
> every day from the wee hours until the afternoon doing the nightly  
> cleanup.
>   
Again, this should be alleviated in version 3.  Even if the processing 
is still lengthy, it should not bunch up your backups anymore, so 
theoretically, the same server has greater capacity in version 3 than in 
version 2.

JH

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] 2.1 versus 3.0

2007-01-31 Thread Carl Wilhelm Soderstrom
On 01/31 02:52 , James Ward wrote:
> I have three servers (2.x) in production.  One of them is backing up  
> three big fileservers.  Any one of these backups can take more than  
> 24 hours.  I recently started full backups of each of the servers on  
> different days to see if I could stagger the network load, but it  
> looks like they're going to all get started at the same time again  
> due to waiting on the nightly process to complete after the longest  
> of these backups.

would changing the IncrPeriod to greater than 24 hours help?

the default is:
$Conf{IncrPeriod} = 0.97;

this is basically what causes backups to go off once a day.

perhaps for these machines you can set this to 1.47, or 1.97; so they would
get backed up once every day and a half or two days?

You probably also want to change:
$Conf{MaxBackups} = 4;

to something lower. that's the number of backups which will run
simultaneously. I've found that the default of '4' is too high for most
backup servers, and that '2' is a better value in most cases.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] 2.1 versus 3.0

2007-01-31 Thread James Ward
I have three servers (2.x) in production.  One of them is backing up  
three big fileservers.  Any one of these backups can take more than  
24 hours.  I recently started full backups of each of the servers on  
different days to see if I could stagger the network load, but it  
looks like they're going to all get started at the same time again  
due to waiting on the nightly process to complete after the longest  
of these backups.

Does version 3 get me away from this scenario?  And on my other  
server that's backing up 200 machines (some remote), will it be able  
to just backup 24x7 with version 3?  Right now it spends most of  
every day from the wee hours until the afternoon doing the nightly  
cleanup.

Thanks in advance,

James

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Stop/Dequeue Safari bug

2007-01-31 Thread James Kyle
The stop/Dequeue process is not working for me in safari (as in  
absolutely nothing happens), I noticed this with Start Backup option  
as well. However, BackupPC began backing the host up after I restarted  
BackupPC.


BackupPC version: 3.0
OS of Browser that showed bug: OSX 10.5, Safari 3.0

-) I did a quick check of the usual suspects such as apache logs,  
backuppc logs and didn't see any references.


-) I checked the url strings in the browsers and got this in safari:

BackupPC_Admin?host=localhost&action=

(page remained on the localhost default page)

And this in FireFox:

http://airto.hosted.ats.ucla.edu:8080/cgi-bin/BackupPC_Admin?host=localhost&action=Stop_Dequeue_Backup

So it seems a string/option is being dropped somewhere.

I'll dig deeper after setting up backuppc for my clients via firefox.

James A. Kyle
UCLA Brain Mapping Center
AIM: krunk337
[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC exclusion per-share usin g arrays in $Conf{BackupFilesExclude}

2007-01-31 Thread John Buttery
* On Tue, 2007-01-30 at 17:16 -0600, John Buttery wrote:
>>[stuff about backups aborting with "signal=ALRM" errors]

* On Tuesday 30 January 2007 20:39, Travis Fraser <[EMAIL PROTECTED]> 
(Travis Fraser) wrote:
>Would you be running into problems because the other rsync share names
> are included in "/"?

  You know, sometimes you don't see the forest for the trees.  I guess 
Eric Raymond was right when he said that all problems are shallow given 
a sufficiently high number of eyeballs.[1]  Thanks.
  The other machines being backed up do have a separate /var partition, 
so this is probably the issue.  I'm going to go ahead and move 
$Conf{RsyncShareName} into the per-host config as well; I assume this 
is necessary?


-- []
[1] Comments about whether it should have taken an entire mailing list's 
eyeballs to check the partition layout will, of course, be GLEEFULLY 
IGNORED.  :P

-- 
John Buttery <[EMAIL PROTECTED]>
System Administrator

-
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.php&p=sourceforge&CID=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] BackupPC exclusion per-share using arrays in $Conf{BackupFilesExclude}

2007-01-31 Thread John Buttery
* On Tuesday 30 January 2007 18:14, Holger Parplies <[EMAIL PROTECTED]> 
(Holger Parplies) wrote:
>seems correct, but: do your RsyncArgs include --one-file-system (or
> -x)? If not, the files you are trying to exclude might be included in
> unexpected ways (eg. /log/maillog relative to /var would not be
> excluded if seen as /var/log/maillog relative to /). I'm not exactly
> sure though, what would happen if you backed up ['/', '/usr', '/var',
> '/home'] *without* --one-file-system.

  Sorry, I should have included that.  Yes, that argument is there (it 
was already there).  The RsyncArgs setting is otherwise unchanged from 
the default (in other words, we just uncommented that line).

>[explanation of the uses of trailing '/' characters in directory names]

  Cool, thanks for explaining that so clearly.

>[stuff about wildcards]

  Ditto.  :)

>[stuff about leading '/' characters in per-share exclude patterns]

  This is the one I was really hoping to get an answer on.  Once again, 
thanks for the complete explanation.

>[stuff about increasing ClientTimeout to avoid SIGALRM aborts]

  Yeah, that seems to be the general wisdom, and probably would have 
fixed it for me (I did some web searches and found that stuff and tried 
it before emailing) if I hadn't already written a fatal flaw into my 
per-host config file.  See my next reply (to Travis Fraser).  :)

  Note to BackupPC "powers that be": you may want to consider taking the 
substantive content out of the email that this is a reply to 
(message-id <[EMAIL PROTECTED]>) and putting it 
in the main documentation.  Of particular use, I think, would be a 
fleshed-out example of a full-blown array exclude with multiple shares 
and wildcards to demonstrate all the permutations.  Perhaps something 
like this (note: I don't know enough about perl to know if you're 
allowed to put comments inline like that, so this may or may not be a 
valid config fragment):

$Conf{BackupFilesExclude} = {
 '/' => [
  '/dev/',  ## /dev is actually safe to back up if you like, though
  '/tmp/',
  'mnt/',   ## I have multiple directories called 'mnt' throughout the 
filesystem, don't want to back up any of them
  '/floppy/',
  '/cdrom/',
  '/proc/',
  '/sys/',
  '/net/',
  '/media/'
 ],

 '/var' => [
  ## We use leading '/' characters here so the paths are all anchored to 
the top of the share
  '/log/maillog',
  '/lib/mysql/data/',
  '/lib/mysql/mysql/',
  '/log/mysql/mysql.log',
  '/log/mysql/mysql-bin*',
  '/spool/exim4/',
  '/something' ## This will exclude 'something' regardless of whether 
it's a file or directory, since there's no trailing '/'
 ],
};

-- 
John Buttery <[EMAIL PROTECTED]>
System Administrator

-
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.php&p=sourceforge&CID=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] Backuppc V3.0.0

2007-01-31 Thread Peter Bloomfield
>I did the upgrade from a beta version yesterday and everything worked fine 
>last night. Check that you restarted the backuppc daemon after the backup 
>and that you afterwards restarted httpd.
Restarting the httpd corrected it.

Thanks

Peter

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Suggestion for cygwin-rsyncd

2007-01-31 Thread Timothy J. Massey
Hello!

I got bitten last week by the UTF-8/Cygwin issue:  I was backing up a 
Windows 2000 server that serves files for a Mac network.  Here is a link 
to a previous mail about this:

http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg03891.html

I would suggest that instead of packaging cygwin-rsyncd with the 
standard cygwin1.dll, why not include the UTF-8 DLL?  That way, someone 
else doesn't have to figure this out from scratch all over again?

http://www.okisoft.co.jp/esc/utf8-cygwin/

Timothy J. Massey

-
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.php&p=sourceforge&CID=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] OSX extended atribute problems

2007-01-31 Thread Ski Kacoroski
And I have been using xtar on the OSX clients for years with no problems 
  (10.2.x - 10.4.8).  You may want to try it.

cheers,

ski

Torsten Sadowski wrote:
>> What do i miss if I don't backup extended attributes?
>>
>> John
>>
> You miss the Resource Fork which will render all older MacOS (ie Classic) 
> programs unusable and might even destroy data files of those programs.
> 
> Incidentally I am using backuppc 2.1.2 with OSX 10.4 and native tar without 
> any big problems. The biggest error count is 12 for fulls (ca 70GB) and 
> incrementals are as fast as can be expected. What do you use as a share name?
> 
> Cheers, Torsten
> 
> 
> -
> 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.php&p=sourceforge&CID=DEVDEV
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
> 

-- 
"When we try to pick out anything by itself, we find it
  connected to the entire universe"John Muir

Chris "Ski" Kacoroski, [EMAIL PROTECTED], 206-501-9803

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] retrieve space from old deleted backups

2007-01-31 Thread lv
Hi,
I manually deleted an old backup with rm, now I want to retrieve the
free space of deleted directory so I
run /usr/share/backuppc/bin/BackupPC_nightly 0 255, but I cant see any
free space, what I miss ?

bye,
lv



-
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.php&p=sourceforge&CID=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] OSX extended atribute problems

2007-01-31 Thread Torsten Sadowski

> What do i miss if I don't backup extended attributes?
>
> John
>
You miss the Resource Fork which will render all older MacOS (ie Classic) 
programs unusable and might even destroy data files of those programs.

Incidentally I am using backuppc 2.1.2 with OSX 10.4 and native tar without 
any big problems. The biggest error count is 12 for fulls (ca 70GB) and 
incrementals are as fast as can be expected. What do you use as a share name?

Cheers, Torsten


-
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.php&p=sourceforge&CID=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] Backuppc V3.0.0

2007-01-31 Thread Tony Molloy
On Tuesday 30 January 2007 16:00, Peter Bloomfield wrote:
> Dear All,
>
>
> I upgraded Backuppc to version 3.0.0 from 2.1.3 yesterday, and since
> the update I am getting a number of errors when trying to view some of
> the pages. These are the errors I am seeing
>
> Select current log files
> Undefined subroutine &BackupPC::CGI::View::action called at
> /var/www/cgi-bin/BackupPC/BackupPC_Admin line 109.
>
> Select old log files
> Can't locate object method "sortedPCLogFiles" via package
> "BackupPC::Lib" at /usr/local/BackupPC/lib/BackupPC/CGI/LOGlist.pm line
> 59.
>
> Select Host Configuration
> Global symbol "$LogDir" requires explicit package name at
> /usr/local/BackupPC/lib/BackupPC/CGI/View.pm line 100. Compilation
> failed in require at /var/www/cgi-bin/BackupPC/BackupPC_Admin line 107.
>
> Select Hosts File
> Undefined subroutine &BackupPC::CGI::View::action called at
> /var/www/cgi-bin/BackupPC/BackupPC_Admin line 109.
>
> Select Documentation
> Undefined subroutine &BackupPC::CGI::View::action called at
> /var/www/cgi-bin/BackupPC/BackupPC_Admin line 109.
>
> I can back up machines, and the browse backups, but it is the above I
> have messed up. Can anyone point me in the direction to correct this,
>
> Many thanks in advance
>
> Peter
>

I did the upgrade from a beta version yesterday and everything worked fine 
last night. Check that you restarted the backuppc daemon after the backup 
and that you afterwards restarted httpd.

Tony
> ---
>-- 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.php&p=sourceforge&CID=DEVD
>EV ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-- 


Tony Molloy.

System Manager.
Dept. of Comp. Sci.
University of Limerick

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/