BackupPC-users

Re: [BackupPC-users] archive host tar and hardlink problems

2012-06-14 21:36:46
Subject: Re: [BackupPC-users] archive host tar and hardlink problems
From: Steve Kieu <msh.computing AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 15 Jun 2012 11:35:34 +1000
Hello


That has always been filled for me.

> For now I have to use the restore options and download as tar archive, which
> works.

I think both approaches should do the same thing.  And the same for
running Backuppc_tarCreate from the command line.  Not sure where to
start to debug it, though.   Most oddball bugs are from having some
old/wrong perl module on the system somewhere.   Have you installed
any CPAN modules instead of .deb packaged versions?


It is running on redhat 5 uptodate system

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)

[root@backup01 ~]# rpm -qa|grep perl
perl-DBI-1.52-2.el5
perl-Compress-Zlib-1.42-1.fc6
perl-libwww-perl-5.805-1.1.1
perl-BSD-Resource-1.28-1.fc6.1
newt-perl-1.08-9.2.2
perl-XML-Parser-2.34-6.1.2.2.1
perl-String-CRC32-1.4-2.fc6
perl-Convert-ASN1-0.20-1.1
mod_perl-2.0.4-6.el5
perl-Archive-Zip-1.16-1.2.1
perl-HTML-Tagset-3.10-2.1.1
perl-DBD-MySQL-3.0007-2.el5
perl-5.8.8-38.el5
perl-suidperl-5.8.8-38.el5
perl-URI-1.35-3
perl-HTML-Parser-3.55-1.fc6

I have just been able to reproduce it with completely new test backuppc server on Centos 6

[root@catch9log tmp]# cat /etc/redhat-release
CentOS release 6.2 (Final)

[root@catch9log tmp]# rpm -qa|grep perl
perl-suidperl-5.10.1-119.el6_1.1.x86_64
perl-Params-Validate-0.92-3.el6.x86_64
perl-Compress-Zlib-2.020-119.el6_1.1.x86_64
perl-version-0.77-119.el6_1.1.x86_64
perl-XML-Parser-2.36-7.el6.x86_64
perl-CGI-3.51-119.el6_1.1.x86_64
perl-DateTime-Format-Mail-0.3001-6.el6.noarch
perl-Compress-Raw-Zlib-2.023-119.el6_1.1.x86_64
perl-URI-1.40-2.el6.noarch
perl-IO-Compress-Zlib-2.020-119.el6_1.1.x86_64
perl-Module-Pluggable-3.90-119.el6_1.1.x86_64
perl-Archive-Zip-1.30-2.el6.noarch
perl-Pod-Simple-3.13-119.el6_1.1.x86_64
perl-File-RsyncP-0.68-6.el6.x86_64
perl-5.10.1-119.el6_1.1.x86_64
perl-HTML-Tagset-3.20-4.el6.noarch
perl-libwww-perl-5.833-2.el6.noarch
perl-Time-modules-2006.0814-5.el6.noarch
perl-Net-FTP-RetrHandle-0.2-3.el6.noarch
perl-List-MoreUtils-0.22-10.el6.x86_64
perl-DateTime-Format-W3CDTF-0.04-8.el6.noarch
perl-XML-RSS-1.45-2.el6.noarch
perl-IO-Compress-Base-2.020-119.el6_1.1.x86_64
perl-Pod-Escapes-1.04-119.el6_1.1.x86_64
perl-libs-5.10.1-119.el6_1.1.x86_64
perl-HTML-Parser-3.64-2.el6.x86_64
perl-Class-Singleton-1.4-6.el6.noarch
perl-DateTime-0.5300-1.el6.x86_64
perl-Net-FTP-AutoReconnect-0.3-3.el6.noarch

I do not install any CPAN module on the test server.

It has only two host to backup (for testing purposes) - do full dump host1 and host2 - they are all Centos 6 system. Dump host1 first, then finished, then dump host2. and than archive host2. After that extract it suing tar from my Ubuntu 10.10 Macbook

tar: ./rootfs/usr/sbin/named: Cannot hard link to `usr/sbin/lwresd': No such file or directory
tar: ./rootfs/sbin/fsck.ext2: Cannot hard link to `sbin/e2fsck': No such file or directory
tar: ./rootfs/sbin/fsck.ext3: Cannot hard link to `sbin/e2fsck': No such file or directory
tar: ./rootfs/sbin/fsck.ext4: Cannot hard link to `sbin/e2fsck': No such file or directory
tar: ./rootfs/sbin/fsck.ext4dev: Cannot hard link to `sbin/e2fsck': No such file or directory
tar: ./rootfs/sbin/mkfs.ext2: Cannot hard link to `sbin/mke2fs': No such file or directory
tar: ./rootfs/sbin/mkfs.ext3: Cannot hard link to `sbin/mke2fs': No such file or directory
tar: ./rootfs/sbin/mkfs.ext4: Cannot hard link to `sbin/mke2fs': No such file or directory
tar: ./rootfs/sbin/mkfs.ext4dev: Cannot hard link to `sbin/mke2fs': No such file or directory
tar: ./rootfs/sbin/tune2fs: Cannot hard link to `sbin/e2label': No such file or directory


Obvoulsy it is reproducable here.

BackupPC installed from BackupPC-3.2.1.tar.gz into /usr/local/BackupPC


cheers,



 
--
  Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



--
Steve Kieu
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/