Solaris のシステム管理 (基本編)

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

次の例では、Solaris 9 システム (starbug) のローカルの /export/home ファイルシステムを、シングルユーザーモードでリモートの Solaris 9 システム (earth) のテープデバイスに完全バックアップする方法を示します。次の ufsdump オプションが含まれます。


# ufsdump 0ucf earth:/dev/rmt/0 /export/home
  DUMP: Date of this level 0 dump: Mon Oct 06 12:46:50 2003
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c0t0d0s7 (starbug:/export/home) to 
  earth:/dev/rmt/0.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 63 Kilobyte records
  DUMP: Estimated 410 blocks (205KB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
  DUMP: Tape rewinding
  DUMP: 376 blocks (188KB) on 1 volume at 546 KB/sec
  DUMP: DUMP IS DONE
  DUMP: Level 0 dump on Mon Oct 06 12:46:50 2003
 # ufsrestore tf earth:/dev/rmt/0
          2      .
         3      ./lost+found
         4      ./kryten
         5      ./kryten/filea
         6      ./kryten/fileb
         7      ./kryten/filec
         8      ./kryten/letters
         9      ./kryten/letters/letter1
        10      ./kryten/letters/letter2
        11      ./kryten/letters/letter3
        12      ./kryten/reports
.
.
.
 #