check what file systems
# df -kF ufs
In this example, following file systems are present
.... /
.... /var
.... /m1
.... /oracle
.... /export/home
.... /usr/local
# init 0
ok boot -s
- insert tape (if not already)
# ufsdump 0ucf /dev/rmt/0n /
# ufsdump 0ucf /dev/rmt/0n /var
# ufsdump 0ucf /dev/rmt/0n /m1
# ufsdump 0ucf /dev/rmt/0n /oracle
# ufsdump 0ucf /dev/rmt/0n /export/home
# ufsdump 0ucf /dev/rmt/0n /usr/local
options used :
0 => dump level 0
u => update dumpdates
c => tape catridge
f => tape device as follows
Note : n after the normal tape device means NOREWIND i.e. the dumps will be
added to the tape without rewinding
/dev/rmt/0 => backup to the tape and then rewind
/dev/rmt/0n => backup to the tape and DO NOT REWIND