Backup/Restore of raw devices
From: George Reichert <gmr_at_panix.com>
Date: 29 Jun 1994 13:07:58 -0400
Message-ID: <2us9pe$cs6_at_panix.com>
(Put in tape 1)
dd if=/dev/rdsk/c0t5d0s3 of=/dev/rmt/c0t3d0s0 bs=512k count=1000
(Put in tape 1)
dd if=/dev/rmt/c0t3d0s0 of=/dev/rdsk/c0t5d0s3 bs=512k count=1000
Date: 29 Jun 1994 13:07:58 -0400
Message-ID: <2us9pe$cs6_at_panix.com>
I need to backup and restore a raw partition to tape. The tape holds 525MB and the raw partition is 730MB. Will the following sequence backup and restore the raw partition?
backup
(Put in tape 1)
dd if=/dev/rdsk/c0t5d0s3 of=/dev/rmt/c0t3d0s0 bs=512k count=1000
(Put in tape 2)
dd if=/dev/rdsk/c0t5d0s3 of=/dev/rmt/c0t3d0s0 bs=512k skip=1000 count=1000
restore
(Put in tape 1)
dd if=/dev/rmt/c0t3d0s0 of=/dev/rdsk/c0t5d0s3 bs=512k count=1000
(Put in tape 2)
dd if=/dev/rmt/c0t3d0s0 of=/dev/rdsk/c0t5d0s3 bs=512k skip=1000 count=1000
Would this work? I doesn't look right.
How is anybody backing up and restoring from raw partitions? Received on Wed Jun 29 1994 - 19:07:58 CEST