On Sun, 12 May 2002 18:44:45 -0400
David <[EMAIL PROTECTED]> 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.  
You could compress the archive: "tar cvMfj". j runs it through bzip2. Or "tar cvMfz" 
to run it through gzip.

Another option would be to see "man split" and split up the archive and use "cat" when 
you need to put it back together.

Bill

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

Reply via email to