[BackupPC-users] tarextract, checksum error

2007-07-03 Thread Bruno Zuber
Hello,

 

I have installed backuppc 2.1.2pl1 on debian etch. 

Currently i backup 7 servers, on 5 servers all works fine but:

 

On two server i got the following xferlog:

tarExtract: .

tarExtract: : checksum error at 

tarExtract: Can't open /var/lib/backuppc/pc/dayta.brain-tec.ch/new/f%2f/
for empty output

  create 0   0/0   0 .

tarExtract: : checksum error at 

 

the tar version on both machines is 1.16, the xfer method ist tar. 

 

Whats going wrong?

 

Regards


Bruno

 

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] tarExtract: checksum error at

2007-07-03 Thread Bruno Zuber
Hello,

 

I have installed backuppc 2.1.2pl1 on debian etch. 

Currently i backup 7 servers, on 5 servers all works fine but:

 

On two server i got the following xferlog:

tarExtract: .
tarExtract: : checksum error at 
tarExtract: Can't open /var/lib/backuppc/pc/dayta.brain-tec.ch/new/f%2f/
for empty output
  create 0   0/0   0 .
tarExtract: : checksum error at 

 

the tar version on both machines is 1.16, the xfer method ist tar. 

 

Whats going wrong?

 

Regards


Bruno

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] tarextract, checksum error

2007-07-03 Thread Nils Breunese (Lemonbit)

Bruno Zuber wrote:


I have installed backuppc 2.1.2pl1 on debian etch.

Currently i backup 7 servers, on 5 servers all works fine but:



On two server i got the following xferlog:

tarExtract: .

tarExtract: : checksum error at

tarExtract: Can't open /var/lib/backuppc/pc/dayta.brain-tec.ch/new/f 
%2f/ for empty output


  create 0   0/0   0 .

tarExtract: : checksum error at



the tar version on both machines is 1.16, the xfer method ist tar.



Whats going wrong?


See the message that was sent to this list by Holger 6 minutes before  
you posted:


that's a change in tar's exit code in version 1.16 which signals  
the fact that
files changed while tar was reading them. This is non-fatal and is  
ignored in

BackupPC 3.0.0. If you don't want to upgrade, you can patch 2.1.2:

--- lib/BackupPC/Xfer/Tar.pmSun Jan  8 23:25:54 2006
+++ /tmp/Tar.pm Tue Jul  3 11:10:04 2007
@@ -198,7 +198,12 @@
 my $mesg;
 if ( sysread($t-{pipeTar}, $mesg, 8192) = 0 ) {
 vec($$FDreadRef, fileno($t-{pipeTar}), 1) = 0;
-   if ( !close($t-{pipeTar}) ) {
+   if ( !close($t-{pipeTar})  $! != 256 ) {
+#
+# Tar 1.16 uses exit status 1 (256) when some files
+# changed during archive creation.  We allow this
+# as a benign error and consider the archive ok
+#
$t-{tarOut} .= Tar exited with error $? ($!)  
status\n;

$t-{xferOK} = 0 if ( !$t-{tarBadExitOk} );
}


Nils Breunese.


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] start backuppc_nightly manual

2007-07-03 Thread Stefan Degen
Hi,

is ist possible to start backuppc_nightly by hand?

Thanks.

Greets
Stefan

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] start backuppc_nightly manual

2007-07-03 Thread Ralf Gross
Stefan Degen schrieb:
 
 is ist possible to start backuppc_nightly by hand?

As user backuppc:

/usr/share/backuppc/bin/BackupPC_nightly 0 255

Ralf

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Permission Issues?

2007-07-03 Thread Nils Breunese (Lemonbit)

Szabolcs Szakacsits wrote:

NTFS won't work. BackupPC needs a file system that supports hard  
links.


NTFS and ntfs-3g supports hard links.

man ntfs-3g:

   ntfs-3g  is  an NTFS driver, which can create, remove, rename, move
   files, directories, hard links, and streams; ...
   ^^


NTFS might support some kind of links, but I don't believe they are  
the same kind of links as created by the ln command on Linux. Or are  
they?


Nils Breunese.




PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] start backuppc_nightly manual

2007-07-03 Thread Stefan Degen
Ralf Gross [EMAIL PROTECTED] schrieb:

 Stefan Degen schrieb:
  is ist possible to start backuppc_nightly by hand?

 As user backuppc:

 /usr/share/backuppc/bin/BackupPC_nightly 0 255

Thanks. It worked.

Stefan

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Strange OSX tar errors

2007-07-03 Thread James Ward
Maybe I should just exclude the winxp.hdd?  But I'm sure the vice  
president of the company wants his virtual Windows machine backed  
up...  I wonder if I can reach the virtual machine and back it up  
separately?

(I answer your questions below)

On Jul 2, 2007, at 5:38 PM, Craig Barratt wrote:

 James writes:

 Any ideas on this?  This Mac was backing up fine, but recently I'm
 getting lines like this in the log:

 /usr/bin/tar: ./Users/user/Documents/Parallels/Microsoft Windows XP/
 winxp.hdd: file changed as we read it

 What version of tar is this?

Tomm:/Users/user root# tar --version
tar (GNU tar) 1.14 +CVE-2006-0300 +CVE-2006-6097

   If it is not standard gnu tar, is
 there source available to look at?  How big is the winxp.hdd
 file?

-rw-r--r--1 user  user  8731151360 Jul  2 20:25 winxp.hdd


 Craig


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] CGI Success!

2007-07-03 Thread Brian Butler
After two weeks (and then some) I got the CGI Interface working correctly.
I saw a note on the web someplace about SELinux needing to be turned off
(configured) to allow the CGI from httpd to work correctly.
 
I enable CGI to work from httpd in the SELinux configuration applet.  I ran
the BackupPC_Admin from the browser and the BackupPC software world opened
up!  
 
All I can say is, Wow!  The interface is fantastic.  I've successfully
backed up several Windows XP clients and all seems to be working well.
 
I initially tried the RPM that came with Fedora Core, but the Source
Installation is the best option, which allowed me to select the Data
Directory I set up for backups.
 
I'm running BackupPC on:
Fedora Core 4 with a 750GB SATA HDD installed in the server.
 
Windows Clients are using Rsyncd as the Transfer Method.
 
I need to tweak the FilesExclude list to omit Temp Files and Virus Scanner
directories, etc., but all is working well.
 
Thanks for great software and for the support from the List.  It was much
appreciated.

Regards,

Brian Butler
Automation Manager
Arc Products
1245 30th Street
San Diego, CA 92154
619-869-4319 Direct Line
619-628-1022 x 319
619-628-1028 Fax
[EMAIL PROTECTED]
[EMAIL PROTECTED]


 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Strange OSX tar errors

2007-07-03 Thread Craig Barratt
James writes:

  What version of tar is this?
 
 Tomm:/Users/user root# tar --version
 tar (GNU tar) 1.14 +CVE-2006-0300 +CVE-2006-6097
 
If it is not standard gnu tar, is
  there source available to look at?  How big is the winxp.hdd
  file?
 
 -rw-r--r--1 user  user  8731151360 Jul  2 20:25 winxp.hdd

tar 1.14 had a bug related to not correctly padding files that
got smaller during archiving.  Doing this:

diff -bur tar-1.14/src/create.c tar-1.16.1/src/create.c

shows this change:

@@ -868,39 +1034,54 @@
 quotearg_colon (st-orig_file_name),
 STRINGIFY_BIGINT (size_left, buf)));
  if (! ignore_failed_read_option)
-   exit_status = TAREXIT_FAILURE;
- pad_archive (size_left);
+   exit_status = TAREXIT_DIFFERS;
+ pad_archive (size_left - (bufsize-count));
  return dump_status_short;
}
 }

which I suspect is the change mentioned in the ChangeLog:

2005-05-12  Sergey Poznyakoff  [EMAIL PROTECTED]

* src/create.c (dump_regular_file): Correctly pad archive members
that shrunk during archiving. Repored by Frank Heckenbach.

So I recommend trying a newer version of tar.  However, I don't know
if OSX adds features for resource forks to tar, so the vanilla GNU
tar might not handle resource forks.  Does a newer OSX have a newer
tar version?

Craig

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Absolute Symlink Hang

2007-07-03 Thread Doug Mitchell

BPC Users,

I'm backup up a remote Linux system using rsync over SSH with BackupPC-3.0.0.

My per-host config file contains:

$Conf{BackupFilesOnly} = [
'/etc',
'/usr/local',
];

Everything works fine unless I put an abolute symlink in /usr/local using
cd /usr/local ; ln -s /var var

Then BackupPC will hang during the backup and it will have to be manually
killed.  If the symlink is relative, everything works fine.

Thanks,
Doug


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Installing BackupPC on Mac OS X

2007-07-03 Thread peter . storm
Hallo all together,
as I have seen in the README file, BackupPC seems neither tested on Mac OS X 
host nor on Mac OS X clients.
Is anybody out there who is experienced in installing BackupPC on Mac OS X 
(10.4.x) host as a server application?
If there is anybody, where have I do some (special) adaptations in/on Mac OS X?
Exists anywhere in the net a detailed documentation installing and running 
BackupPC on Mac OS X?
Do I need anymore software? (I don´t think so.)
Sorry for my bad english, but as you see at the sender tld I´m from germany.
Thanks for your help

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  39,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Permission Issues?

2007-07-03 Thread Arron Cox
Well either way it did not work.  I had to force the user and group through 
/etc/fstab to get the folders to have the user group permission set to 
backuppc.  This got the status page to load, but during backups it would crash 
as i said in my first email.  The logs showed they were owned by backuppc, but 
maybe some read/write setting were not there?  I'm not sure.  I formatted the 
drive and setup the USB drive to use ext3.  I would of liked to use NTFS, but 
eh oh well.  If someone else has gotten it to work flawlessly on an ntfs 
partition, then please let me know how.
 
Thank you!
-Arron



 Date: Tue, 3 Jul 2007 15:13:06 +0300 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] CC: backuppc-users@lists.sourceforge.net Subject: Re: 
 [BackupPC-users] Permission Issues?   On Tue, 3 Jul 2007, Nils Breunese 
 (Lemonbit) wrote:  Szabolcs Szakacsits wrote:  NTFS won't work. 
 BackupPC needs a file system that supports hard links.  NTFS and 
 ntfs-3g supports hard links.  man ntfs-3g:  ntfs-3g is an 
 NTFS driver, which can create, remove, rename, move   files, directories, 
 hard links, and streams; ...   ^^NTFS might support some 
 kind of links,   NTFS supports many kind of links, one of them is exactly 
 the hard link  you think about:  
 http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil_hardlink.mspx?mfr=true
   http://en.wikipedia.org/wiki/Hard_link  
 http://www.flexhex.com/docs/articles/hard-links.phtml  You can also test 
 this out yourself purely on Linux (or OS X, FreeBSD, NetBSD) without having 
 Windows installed or any NTFS partition:   
 http://ntfs-3g.org/quality.html#howtotest   but I don't believe they are 
 the same kind of links as created by the ln   command on Linux. Or are 
 they?  They are. It's a very important core feature of NTFS which is used 
 by  several features, e.g. the support for different name spaces (posix,  
 win32, dos, etc).  Szaka   
 - 
 This SF.net email is sponsored by DB2 Express Download DB2 Express C - the 
 FREE version of DB2 express and take control of your XML. No limits. Just 
 data. Click to get it now. http://sourceforge.net/powerbar/db2/ 
 ___ BackupPC-users mailing list 
 BackupPC-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/backuppc-users 
 http://backuppc.sourceforge.net/
_
Missed the show?  Watch videos of the Live Earth Concert on MSN.
http://liveearth.msn.com-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] problems during/after backup

2007-07-03 Thread Holger Parplies
Hi,

Thomas G?nther wrote on 03.07.2007 at 13:31:43 [Re: [BackupPC-users] problems 
during/after backup]:
 Holger Parplies schrieb:
 If you don't want to upgrade, you can patch 2.1.2:
 
 --- lib/BackupPC/Xfer/Tar.pmSun Jan  8 23:25:54 2006
 +++ /tmp/Tar.pm Tue Jul  3 11:10:04 2007
 @@ -198,7 +198,12 @@
  my $mesg;
  if ( sysread($t-{pipeTar}, $mesg, 8192) = 0 ) {
  vec($$FDreadRef, fileno($t-{pipeTar}), 1) = 0;
 -   if ( !close($t-{pipeTar}) ) {
 +   if ( !close($t-{pipeTar})  $! != 256 ) {
 +#
 +# Tar 1.16 uses exit status 1 (256) when some files
 +# changed during archive creation.  We allow this
 +# as a benign error and consider the archive ok
 +#
 $t-{tarOut} .= Tar exited with error $? ($!) status\n;
 $t-{xferOK} = 0 if ( !$t-{tarBadExitOk} );
 }
 
 [that didn't work]

yes, sorry, my fault. There's a typo in my patch. You applied the patch
correctly and to the correct file (/path/to/lib/BackupPC/Xfer/Tar.pm).
The patch should have tested $? and not $! ... in context:

   if ( !close($t-{pipeTar})  $? != 256 ) {

I would prefer to test these things before sending them to the list, but
it's not really trivial in this case, is it? :). I had copied the comment
from BackupPC 3.0.0 after first applying my patch from memory and then
checking in 3.0.0 if it was correct. Seems I didn't look close enough. I
hope I did this time.

Regards,
Holger

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/