/dev/sda1 is mounted on /
/dev/sda2 is mounted on /home
/dev/hda1 is mounted on /data1
/dev/hda2 is mounted on /data2
OS - SuSE 10.0 x86_64
# tar -cvjf /data2/sys-backup.tar.bz2 / --exclude-from=/exclude-file
/exclude_file is a text file with (directories space separated on one line):
/home /data1 /data2
The tar man page describes --exclude-from=FILE should skip the entries
in FILE. However, in my case tar merrily backed up /home, /data1, and /data2
i.e. ignored --exclude-from option. what the ????? There is no example of the
entry format of FILE.
-- Arun Khan (knura at yahoo dot com) Finagle's fourth Law: Once a job
is fouled up, anything done to improve it only makes it worse.