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

Attachment: pgpTHfg9kNPMo.pgp
Description: PGP signature

Reply via email to