1831323 Members
2967 Online
110023 Solutions
New Discussion

File backup in rawdisk

 
MILAN MURALIDHARAN_1
Occasional Advisor

File backup in rawdisk

How could i backup a file in a rawdisk?
What is the commands used for this and the options available?

Thanks
Milan
PERSISTENCE PERFORMS
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: File backup in rawdisk

Hi:

It's very simple:

dd if=/dev/vg01/rlvol1 of=/xxx/myfile.dat

where if (input file - raw device) and of (output file)

Man dd for details.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: File backup in rawdisk

By the way,

If you are backing up to a tape device, it's the same command:

dd if=/dev/vg01/rlvol1 of=/dev/rmt/1m bs=64

in this case you should specify a block size to improve tape driver performance.

Clay
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: File backup in rawdisk

By the way,

If you are backing up to a tape device, it's the same command:

dd if=/dev/vg01/rlvol1 of=/dev/rmt/1m bs=64k
in this case you should specify a block size to improve tape driver performance (64k chunks)

Clay
If it ain't broke, I can fix that.