dds4 and tsm backup

Backup

find /tmp/forest | backup -ivqf /dev/rmt0

Commands of controlling DDS4 tape

1
2
mt -t /dev/rmt0 rewind
mt -t /dev/rmt0 offline

Daily backup:

Backup /dh/db/bkup/exp/exp_ora_{dow}.dmp.gz

1
2
3
4
5
restore -Tvqf /dev/rmt0 (View)
restore -Tqdvf /dev/rmt0 /dh/db/bkup/exp
restore -rvqf /dev/rmt0 (Restore)
restore -xvqf /dev/rmt0
restore -xdvqf /dev/rmt0 /dh/db/bkup/exp

Weekly backup(system backup):

1
2
3
restore -s4 -Tvqf /dev/rmt0.1 (View)
lsmksysb -f /dev/rmt0
restore -s4 -rvqf /dev/rmt0.1 (Restore)

http://www.oucs.ox.ac.uk/hfs/backup/allcli/index.xml?splitLevel=-1

1
2
3
4
5
6
7
dsmc restore /dh/db/bkup/exp/exp_ora_1.dmp.gz
dsmc restore /dh/db/bkup/exp/exp_ora_1.dmp.gz /tmp/xx/
dsmc restore /dh/db/bkup/exp/* /tmp/xx/
dsmc query file
dsmc query backup "/dh/db/bkup/*" -subdir=yes
dsmc q ba "/dsmdb/bkup/exp/*" -subdir=yes (-inactive)
dsmc q ba "/dh/db/bkup/arch/*" -su=yes