Hello,
I tried sending this message to the list yesterday, but seems that I
wasn't subscribed with this exact address, so sorry if this a double
post. Anyway, I've added some further info to this question.
I'm having some problems backing up large files (>8GB). By some problems
I mean that backing up such a file results in a file of size 3904849733
bytes and over 100 directories with incomprehensible, random names.
Here's some background:
The BackupPC machine is a 64-bit AMD box, running with a 64-bit version
of Ubuntu 5.10 / Breezy. The backup disk is a 1.2 TB RAID5 array, with
ReiserFS as the filesystem for BackupPC's data partition.
I'm trying to back up the particular file from a 750 GB TeraStation NAS
using the smbclient transport. I also tried this with tar transport
combined with a smbfs mount, with the exact same results.
After having quite exhaustively surfed the documentation and forums,
I've determined that BackupPC _should_ support files over >8GB in size,
as well as new versions of smbclient and tar. I'm also reasonably sure
that they do, because I've tried using and copying the file from the NAS
to the BackupPC server (onto the BackupPC data partition) with various
methods, none of which have failed. These include using smbclient,
mount.smbfs and mount.cifs. All of them produced a nice, fully intact
10-gigabyte file.
I even tried the exact same command that BackupPC seems to use in the
backup process, and it produced no errors. The command I used was:
/usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /test --totals . > test.tar
(I did this when the remote file system was mounted on /test as smbfs.)
The versions of the software installed on the BackupPC server are:
backuppc 2.1.1-2ubuntu3
smbclient 3.0.14a-6ubuntu1
tar 1.15.1-2
The TeraStation uses samba as well, although an ancient version
(2.2.8a). Nevertheless it seems to support storing these large files
since they can be used just fine when BackupPC is not involved.
So, any suggestions? I'd hate to change my backup strategy for this,
since I've been using backuppc for quite some time now with only a few
problems.
UPDATE: Seems that the TeraStation has no impact on the result... I
tried backing up the >8GB file from a standard WinXP host using
smbclient, and the result was exactly the same: a bunch of mangled
directories and a smaller-than-expected file.
However, when BackupPC ran an incremental backup last night, the new
backup (with index 1) displays the correct directory structure, without
any "extra" dirs, and the large file, although it displays it's size as
8589934592 bytes. There is no such file in the file system though, or
more precisely, it's still 3904849733 bytes long and in the original
directory (index 0).
Regards,
Marko Tukiainen
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/