Example--Performing a Full Backup, Individual Home Directory
The following example shows how to do a full backup of the /export/home/kryten directory. The following ufsdump options are included:
0 specifies that this is a 0 level dump (or a full backup)
u specifies that the /etc/dumpdates file is updated with the date of this backup
c identifies a cartridge tape device
f /dev/rmt/0 identifies the tape device
/export/home/kryten is the directory being backed up
# ufsdump 0ucf /dev/rmt/0 /export/home/kryten
DUMP: Writing 63 Kilobyte records
DUMP: Date of this level 0 dump: Fri Jul 13 11:30:45 2001
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c0t3d0s7 (pluto:/export/home) to /dev/rmt/0.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 232 blocks (116KB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
DUMP: Tape rewinding
DUMP: 124 blocks (62KB) on 1 volume at 8 KB/sec
DUMP: DUMP IS DONE
# ufsrestore tf /dev/rmt/0
2 .
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
#
|
Example--Performing a Full Backup to Remote System (Solaris 9 Data to Solaris 9 System)
The following example shows how to do a full backup of a local /export/home file system on a Solaris 9 system (starbug) to a tape device on a remote Solaris 9 system (earth).The following ufsdump options are included:
0 specifies that this is a 0 level dump (or a full backup)
u specifies that the /etc/dumpdates file is updated with the date of this backup
c identifies a cartridge tape device
f earth:/dev/rmt/0 identifies the remote system name and tape device
/export/home is the file system being backed up
# 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
#
|



