Re: Tar chunks

2005-04-17 Thread Roland Smith
On Sat, Apr 16, 2005 at 06:41:26PM -0500, Chris wrote:
> Can tar of some other compression util be set to archive a directory in
> chunks of say, 650 meg?
> 

Something like

tar cjf - /dir/to/backup |split -b 650m - bkupname-

should do the trick. Note that using a pipe saves s lot of space. This
will produce backups in the form of bkupname-aa, bkupname-ab etc.

Restoring the backup would be something like:

cd /parent/of/backupdir; cat /path/to/bkup/bkupname-* |tar xjf -

Note that you need to have all backup files on a disk for this to work
properly.

Roland
-- 
R.F. Smith   /"\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpTHfg9kNPMo.pgp
Description: PGP signature


Re: Tar chunks

2005-04-16 Thread Chris
Chris Hill wrote:
> On Sat, 16 Apr 2005, Chris wrote:
> 
>> Can tar of some other compression util be set to archive a directory in
>> chunks of say, 650 meg?
> 
> 
> If you have the space you could always tar first, then split(1).
> 

Perfect - I can work with this. Thank you.


-- 
Best regards,
Chris

During the time an item is on back-order, it will be
available cheaper and quicker from many other sources.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tar chunks

2005-04-16 Thread Chris Hill
On Sat, 16 Apr 2005, Chris wrote:
Can tar of some other compression util be set to archive a directory in
chunks of say, 650 meg?
If you have the space you could always tar first, then split(1).
--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tar chunks

2005-04-16 Thread Hexren
> Can tar of some other compression util be set to archive a directory in
> chunks of say, 650 meg?


-

see "man pax"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Tar chunks

2005-04-16 Thread Chris
Can tar of some other compression util be set to archive a directory in
chunks of say, 650 meg?

-- 
Best regards,
Chris

People will buy anything that is one to a customer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"