I have the same problem when I use tar on my linux box. I don't know if
this is a tar problems or a ext2 problem. I always forget such details.
Here is the command I use to get around it:
tar -czPv -T /root/junk.1 | split -b 1000m - $FILE
where junk.1 contains the files to backup and $FILE is the file to create.
FILE="/mnt/hdc2/Backups/hammer2.tar.gz"
This is the sort of output you will get from this command:
-rw-r--r-- 1 root root 1048576000 Jan 17 04:43 hammer2.tar.gzaa
-rw-r--r-- 1 root root 1048576000 Jan 17 06:18 hammer2.tar.gzab
-rw-r--r-- 1 root root 140062720 Jan 17 06:35 hammer2.tar.gzac
To untar this is tricky. You have to cat the various files into the tar
command. Practice this part until you are comfortable with it, ie, you are
sure you can make it work.
cat hammer* | tar -xzvPf -
Joel
On Sun, Jan 20, 2002 at 04:13:22PM +1100, Don Harvie
wrote:> Hi All,
>
> I hoping someone has encountered the following limitation before and can
> tell me where the limitation comes from:
>
> I'm backing up a RH62 based linux box to a NTFS file system on a NT4
> sp6a workstation using smbmount from the linux box. This has worked fine
> up until recently.
>
> I use tar to do a full backup of linux box.
>
> The tar file is truncated at exactly 1 byte less than 2GB. (This also
> occurs when I use gzip to compress the tar file as well). There appear
> to be no error messages generated anywhere by tar, samba logs, syslog or
> the NT event log.
>
> My thoughts are that it seems like some kind of file system limitation
> and I must admit that I suspect NTFS.
>
> I'm using samba 2.2.2 configured as a PDC, (works fine).
>
> At the moment I'm re-writing the backup script to tar each file system
> separately but this is only a short term fix.
>
> Any assistance would be greatly appreciated.
> --
> Thanks,
> Don Harvie Ph +61 2 9882 5963
> Network & Firewall Engineer, Fax +61 2 9882 5993
> Telstra Enterprise Services Pty Limited Mob +61 417 411 427
> Level 3, 112 Talavera Rd Email Don_Harvie@EnterpriseServices.com.au
> North Ryde NSW 2113 don.harvie@usa.net (personal)
> Australia
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba