Backup & Restore

 

BACKUP

There are 3 types of backup commands

ufsdump -- used to back up a full file system.

tar --  does not backup zero size files and devices files, overwrites the dir when the absolute path us used so always use relative path

cpio

dd

SYNTAX

if you want a slice called /oracle to be backed up

# cd /oracle

# pwd  -- should return the present working directory /oracle

# tar -cvf /dev/rmt/0 .