How to get around the tar 2 gig limit

I am trying to use tar to backup my whole linux server to an external source.

The backup works fine but stops at 2 gig.

the command I use is
tar -zcvpf /mnt/backup/web.tar.gz \ --directory / ........then a bunch of excludes.
is there a way to split the tar backup into say 1.5 g chunks so that it does a complete backup? or is there another newer tar.

I'm using tar 1.15.91
LVL 17
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

perhaps this will help

tar -cvlf - / | split -a 2 -b 2000m - /mnt/big_backup.tar

 specify the -l switch for tar so it stays within one file system.  it'll try to backup the backup file that split just created

 FreeBSD 6.0 doesn't have the option -l,  but this works instead

tar -cv --exclude "/mnt" -f - / | split -a 2 -b 2000m - /mnt/big_backup.tar

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oh and i also found this

tar -cvf backup1.tar / /var /opt
tar -cvf backup2.tar /usr /home

good luck.
What filesystem type contain /mnt/backup/ ? Maybe it have 2GB file size limit?
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

nplibAuthor Commented:
nplibAuthor Commented:
I use
mount -t smbfs -o workgroup=........ to mount to it
nplibAuthor Commented:

I got this one
"tar -cv --exclude "/mnt" -f - / | split -a 2 -b 2000m - /mnt/big_backup.tar"
to work,

how ever it makes
do I need some specal command line to extract them? or is tar smart enough to extract them all?

nplibAuthor Commented:
This one works
tar -cv --exclude "/mnt" -f - / | split -a 2 -b 2000m - /mnt/big_backup.tar
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.