I have been using BackupPC for about 3 months to backup a small home network with 3 Linux machines (2 now running Fedora Core 6 and one with Fedora Core 4) and 2 Windows machines. The backups are stored on an external USB disk. According to the logs, everything has been running well.
A few days ago I acquired another external USB disk and tried to use the technique described by Craig Barratt in the thread "Putting a backup in the attic" to copy the backups to it so I could store a copy offsite. I first created and mounted an encrypted partition on the new disk using cryptsetup since I will be carrying it back and forth and storing it at work. I then created a BackupPC directory and used "rsync -a /backup/BackupPC/cpool ." to copy the pool into the new directory. I then did /usr/local/BackupPC/bin/BackupPC_tarPCCopy /backup/BackupPC/pc/HOST | tar xf - (on one line, of course) for each of my HOSTs. For the windows machines, this seemed to be fine. But for each of the Linux boxes, I got a large number of errors about the file sizes not being the expected values and needing to copy the file. Then, in each case, I got a perl error and the job stopped. Here's an example: File /backup/BackupPC/pc/gateway/67/f%2f/fusr/flib/flocale/fhsb_DE.utf8/fLC_MONETARY has bad size (expect 294, got 37) Can't find gateway/67/f%2f/fusr/flib/flocale/fhsb_DE.utf8/fLC_MONETARY in pool, will copy file This was followed by substr outside of string at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 686. When I do a "ls -l" on /backup/BackupPC/pc/gateway/67/f%2f/fusr/flib/flocale/fhsb_DE.utf8/fLC_MONETARY I get -rw-r----- 101 backuppc backuppc 45 Aug 13 13:28 /backup/BackupPC/pc/gateway/67/f%2f/fusr/flib/flocale/fhsb_DE.utf8/fLC_MONETARY On the host "gateway", I see -rw-r--r-- 5 root root 294 Mar 14 2006 /usr/lib/locale/hsb_DE.utf8/LC_MONETARY Note that the actual length of the file in the backup is 8 bytes bigger than the "expected length". This 8-byte difference is consistent on all the cases where I've compared the error message to the actual length. The logs don't show any corresponding errors. For example, there are no reported Xfer errors for backup 67 on host "gateway" (this was a full backup on November 1). Checking a few later backups shows the same file sizes as in number 67. But it's not just full backups or 3.0.0beta; on another Linux host I see similar issues with, for example, an incremental backup from November 25 (which would be 3.0.0beta2) before I get the "substr outside of string at /usr/local/BackupPC/lib/BackupPC/Lib.pm line 686" message. (Backup 90 showed 2 Xfer errors, having to do with files from firefox's cache vanishing, but very many more errors with BackupPC_tarPCCopy about unexpected file sizes.) It's very likely that I've messed up the configuration in some way, but what should I do to try to track this down further? Is there more information that would be helpful, or some particular tests I should run? Thanks (and thanks for BackupPC), George
signature.asc
Description: PGP signature
------------------------------------------------------------------------- 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/