Solaris のシステム管理 (第 1 巻)

例 - リモートシステムへの完全バックアップ (Solaris 8 のデータを Sun 4.1.4 システムへ)

次の例では、Solaris 8 システム上のローカルの /export/home ファイルシステムを、リモートの SunOS 4.1.4 システム mars 上のテープデバイスに完全バックアップします。


注 -

ufsdump コマンドで SunOS 4.0/4.1 用のデバイス名 (/dev/rst0) が使用されているので注意してください。



# ufsdump 0ucf mars:/dev/rst0 /export/home
  DUMP: Writing 63 Kilobyte records
  DUMP: Date of this level 0 dump: Thu Jul 15 09:13:01 1999
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c0t0d0s7 (starbug:/export/home) to mars:/dev/rst0.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 5690 blocks (2.78MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
  DUMP: Tape rewinding
  DUMP: 5542 blocks (2.71MB) on 1 volume at 77 KB/sec
  DUMP: DUMP IS DONE
  DUMP: Level 0 dump on Thu Jul 15 09:13:01 1999
# ufsrestore tf mars:/dev/rst0
         2      .
         3      ./lost+found
      2688      ./kryten
      5409      ./kryten/letters
      5410      ./kryten/letters/letter1
      5411      ./kryten/letters/letter2
      5412      ./kryten/letters/letter3
      2689      ./kryten/.profile
      8096      ./kryten/memos
        30      ./kryten/reports
        31      ./kryten/reports/reportA
        32      ./kryten/reports/reportB
        33      ./kryten/reports/reportC
                .
                .
                .
#