BackupPC-users

Re: [BackupPC-users] How to run BackupPC_copyPCPool.pl without a BackupPC installation

2011-10-05 01:41:58
Subject: Re: [BackupPC-users] How to run BackupPC_copyPCPool.pl without a BackupPC installation
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 05 Oct 2011 07:39:54 +0200
Jeffrey J. Kosowsky wrote:

> Matthias Meyer wrote at about 00:04:50 +0200 on Saturday, October 1, 2011:
>  > Hi (Jeff ;-)
>  > 
>  > I would like to try your BackupPC_copyPCPool.pl to backup my BackupPC
>  > storage to another server.
>  > 
>  > Unfortunately this other server have no BackupPC installed.
>  > I've copied FileZIO.pm, Lib.pm, jLib.pm, Attrib.pm and Storage.pm from
>  > /usr/share/backuppc/lib/BackupPC as well as Text.pm from
>  > /usr/share/backuppc/lib/BackupPC/Storage onto this server.
>  > 
>  > ~# sudo -u backuppc /usr/share/backuppc/bin/BackupPC_copyPCPool.pl
>  > No language setting
>  > BackupPC::Lib->new failed
>  > 
>  > Is it possible to set the language without installing the whole
>  > BackupPC package?
>  > 
> 
> Well if you look in Lib.pm the call to set the language is in
> ConfigRead which is called from BackupPC::Lib->new
> 
> I suppose one could hack Lib.pm but there are probably other hidden
> gotchas so I think a minimal install would be worthwhile (and is very
> easy).
> 
> 
OK - I have a workstation with backuppc installed too :-) I tried to backup 
this backuppc data (from LVM snapshot) to an external usb-disk:
/usr/share/backuppc/bin/BackupPC_copyPCPool.pl -F -f --noverbose -t 
/snapshot -o /var/lib/backuppc/backup/files

But I get a lot of errors of type:
ERROR: pc/vistabase/0/fWINDOWS/fwinsxs/fx86_microsoft-windows-m..-
management-
console_31bf3856ad364e35_6.0.6001.18000_none_0f734b1075a23eba/attrib 
(inode=744813, nlinks=1) INVALID pc file and UNLINKED to pool

and of type:
Argument "cpool/d/2/0/d20ba8a18da819b3005bb9418fb56e91" isn't numeric in 
modulus (%) at /usr/share/backuppc/bin/BackupPC_copyPCPool.pl line 666.
ERROR: Can't write to inode pool file: 
ipool/0/0/0/0/cpool/d/2/0/d20ba8a18da819b3005bb9418fb56e91

Any hint what goes wrong?

Thanks
Matthias
-- 
Don't Panic


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>