On Mon, Nov 29, 1999 at 10:09:16AM -0200, Erik Fleischer wrote:
...
> Fine, but how can I backup my whole system
> except the proc directory with a single command?
Use tar's exclude feature; "tar --help | less", or "info tar". Also,
you might check if your system uses '/dev/tape' as the default
tape-device, look in:
/usr/include/sys/mtio.h
for DEFTAPE.
Then see if their is a symlink in '/dev/':
lrwxrwxrwx 1 root root 9 Sep 28 13:45 /dev/tape -> /dev/nst0
I'm using a DAT, '/dev/nst0' is a non-rewinding tape-device. Look
in '/usr/src/linux/Documentation/device.txt' for more info.
Or you can define an environment variable TAPE, "export TAPE=/dev/tape".
If either of these are setup, tar, mt, ... will honor it. Then you can
do "tar cv -X Exclude ." to put the current directory on tape. cat
Exclude /proc/*
--
Louis-ljl-{[EMAIL PROTECTED]}