On 6/3/06, Arun K. Khan knura@yahoo.com wrote:
/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
Why don't you use cpio instead? It gives better control over what directories to backup by piping cpio to find (with the "prune" option).
BTW, does your verision of tar backup special files as well (/dev/*) ?
Regards, NMK.