[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copying a whole subdirectory possible?



On Sat, Jan 19, 2002 at 07:01:27PM -0600, Manoj Srivastava wrote:
> Hi,
> 
> 	The short answer is:
> 
>  # cd /path/to/old/directory
>  # find . -depth -print0 | afio -p -xv -0a /mount/point/of/new/directory

[ snip ]
 
> afio:
>        Afio is a better way of dealing with cpio-format archives. It is
>        generally faster than cpio, provides more diverse magnetic tape
>        options and deals somewhat gracefully with input data corruption.  It
>        deals somewhat gracefully with input data corruption.  Supports
>        multi-volume archives during interactive operation.  Afio can make
>        compressed archives that are much safer than compressed tar or cpio
>        archives.  Afio is best used as an `archive engine' in a backup
>        script.
> 
>         % find . -depth -print0 | afio -px -0a new-dir
> 
>         All my backups onto tape use afio.

Are you interested in sharing your backup scripts?  I just put a dds-3
in a server here and I'm lookng to put it to use.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpIESAAdDk1h.pgp
Description: PGP signature


Reply to: