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

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

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


注 -

SunOS 4.1.4 およびその互換バージョンのシステム上のデータをバックアップするときには、ufsdump コマンドではなく dump コマンドを使用しなければなりません。



# dump 0ucf starbug:/dev/rmt/0 /
  DUMP: Date of this level 0 dump: Wed Jul  7 06:19:33 1999   
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0a (/) to /dev/rmt/0 on host starbug
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 123706 blocks (60.40MB) on 1.41 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: level 0 dump on Wed Jul  7 06:19:33 1999
  DUMP: Tape rewinding
  DUMP: 123680 blocks (60.39MB) on 2 volumes
  DUMP: DUMP IS DONE
# restore tf starbug:/dev/rmt/0
         2      .
         3      ./lost+found
      3776      ./export
      7552      ./home
     11328      ./usr
     15104      ./pcfs
      3777      ./tftpboot
      3778      ./tftpboot/tftpboot
      3794      ./tftpboot/boot.sun4c.sunos.4.1.4
      7553      ./etc
      7554      ./etc/sendmail.cf
      7555      ./etc/aliases
      7556      ./etc/aliases.dir
      7557      ./etc/aliases.pag
      7558      ./etc/holidays
      7559      ./etc/dumpdates
                .
                .
                .
#