次の例では、Solaris 9 システム (starbug) のローカルの /export/home ファイルシステムを、リモートの Solaris 9 システム (earth) のテープデバイスに完全バックアップする方法を示します。次の ufsdump オプションが含まれます。
0 は、レベル 0 のダンプ (完全バックアップ) であることを示す。
u は、このバックアップの実行日に /etc/dumpdates ファイルが更新されることを示す。
c は、カートリッジテープデバイスを示す。
f earth:/dev/rmt/0 は、リモートシステム名およびテープデバイスを示す。
/export/home は、バックアップ対象のファイルシステムを示す。
# ufsdump 0ucf earth:/dev/rmt/0 /export/home
DUMP: Writing 63 Kilobyte records
DUMP: Date of this level 0 dump: Wed Sep 05 14:52:31 2001
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c0t0d0s7 (starbug:/export/home) to earth:/dev ...
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 266 blocks (133KB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
DUMP: Tape rewinding
DUMP: 250 blocks (125KB) on 1 volume at 247 KB/sec
DUMP: DUMP IS DONE
DUMP: Level 0 dump on Wed Sep 05 14:52:31 2001
# ufsrestore tf earth:/dev/rmt/0
2 .
3 ./lost+found
7168 ./rimmer
7169 ./rimmer/.profile
21504 ./rimmer/scdir
21505 ./rimmer/scdir/scd557
21506 ./rimmer/scdir/scd772
10752 ./lister
10753 ./lister/.profile
10754 ./lister/filea
10755 ./lister/fileb
10756 ./lister/filec
14336 ./pmorph
14337 ./pmorph/.profile
3584 ./pmorph/bigdir
3585 ./pmorph/bigdir/bigfile
17920 ./pmorph/smalldir
17921 ./pmorph/smalldir/smallfile
#
|