Umm, I wasn't aware that there is a size limit with tar. This warning you 
get, is that when you use the "M" flag, or even when you don't?

If you want to save time, I suggest you use:

tar cvfz /mnt/TRASH-BOX/backups/$backup.tar.gz /home

... this will gzip up the tar file. It probably will take up quite a lot 
more time seeing as your $home's are so big. Try delete useless files like 
cache, may make a big difference too...

rm -Rf /home/*/.mozilla/default/*/Cache   (as root) will delete all your 
Mozilla Cache directories.

It may be the Samba file limit, but as I have no undestanding of Samba I 
can't tell. On Google all I came up with a quick glance is Lone-Tar.. which 
does have a limit of 2 gigs, but as for Gnu-Tar I'm not sure.

Greetings
Ralph


On Sun, 12 May 2002, David wrote:

> I am trying to backup /home with the following simple script:   
> 
> #!/bin/sh
> backup="home-$(date +%m-%d-%y)"
> tar -cvMf /mnt/TRASH-BOX/backups/$backup.tar home/
> 
> 
> When the tar file reaches 2GB, I get the following output:  
> 
> /usr/sbin/backup: line 3: 29016 File size limit exceededtar -cvMf 
>/mnt/TRASH-BOX/backups/$backup.tar home/
> 
> 
> I went through the man page for tar, but found nothing that sounded promising except 
>the -M argument.  That, unless I misinterpreted, was supposed to create a 
>multi-volume archive.  With and without -M, I get the same thing, a stoppage at 2GB.  
> 
> Does anyone know a way around this?  Or maybe a better way to do my backup?  The 
>mount point used is a Samba share.  And /home is about 6.6GB.  
> 
> 
> TIA  
> 

-- 
Homepage: http://tuxpower.f2g.net/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to