09-02-2008
I cant remember the commands off the top of my head (For Solaris) but just going on pure logic I think you have to use the two steps below.
1 ) create an iso image of the directory you want to backup (I think you can use the "mkisofs" command)
2 ) then burn the image to the cdrw device using the "cdrecord" command
I know the above works on linux with the following commands, you may have to change parts like the device file name to work with solaris
1) mkisofs -r -o cdimage.iso /mybackup_dir
2) cdrecord dev=/dev/cdrw speed=44 driveropts=burnproff -eject -v cdimage.iso
.. hope this helps
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies
2. Solaris
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies
4. Solaris
Hi Unix members.
I am trying to make a backup to remote mounted filesystems :
fileraseing:/vol/oracliente_revap01
10G 1.3G 8.7G 13% /orarev_ap01
fileraseing:/vol/bobje
10G 5.9G 4.1G 60% /bobje
But I am receiving the follow message when use the ufsdump command:
:$PWD>ufsdump 0fu... (8 Replies)
Discussion started by: aggadtech08
8 Replies
5. Solaris
hi, i'm trying to figure out how to tell the amount of time a ufsdump of a directory takes. i use the below command:
echo "Starting Backup of u4" >> /backup/backup.log 2>&1
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u4 >> /backup/backup.log 2>&1
echo "Finished Backup of u4" >> /backup/backup.log... (0 Replies)
Discussion started by: pinoy43v3r
0 Replies
6. Solaris
hi, was wondering if there is a problem with the patches, and if we wish to restore everything back to square one, how should we go about using ufsrestore from a DAT tape of ufsdump backup data ? (1 Reply)
Discussion started by: Exposure
1 Replies
7. Solaris
hi friends, i am trying to patch a solaris 9 server. However i need to do a ufsdump backup before any patching. There is no hardware port for connecting the tape drive. Any other ways to do a ufsdump ? :wall: (2 Replies)
Discussion started by: Exposure
2 Replies
8. Solaris
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
9. Shell Programming and Scripting
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies
10. Solaris
hi folks happy new year to all, I haven't been coming round for a long time.
I've been googling about this can't seem to find any good examples, I need to know if it's possible to do a ufsdump os backup into a usb flash drive.
Then what about in event of os recovery when we boot to single... (2 Replies)
Discussion started by: sparcguy
2 Replies
LEARN ABOUT DEBIAN
bchunk
BCHUNK(1) General Commands Manual BCHUNK(1)
NAME
bchunk - CD image format conversion from bin/cue to iso/cdr
SYNOPSIS
bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename>
DESCRIPTION
bchunk converts a CD image in a ".bin / .cue" format (sometimes ".raw / .cue") to a set of .iso and .cdr tracks.
The bin/cue format is used by some non-Unix cd-writing software, but is not supported on most other cd-writing programs.
image.bin is the raw cd image file. image.cue is the track index file containing track types and offsets. basename is used for the begin-
ning part of the created track files.
The produced .iso track contains an ISO file system, which can be mounted through a loop device on Linux systems, or written on a CD-R
using cdrecord. The .cdr tracks are in the native CD audio format. They can be either written on a CD-R using cdrecord -audio, or con-
verted to WAV (or any other sound format for that matter) using sox.
The output type depends on the input type (data is just copied). If the input is in ISO format, the output will be. On the other hand, if
the input is raw audio data, the output will be CDR or WAV (the latter if -w is given).
It is advisable to edit the .cue file to either MODE2/2352/2048 or MODE2/2352/2324 depending on whether an ISO filesystem or a VCD is
desired, respectively. The format itself does not contain this feature and in an ambiguous case it can only guess.
OPTIONS
-v Makes binchunker print some more unnecessary messages, which should not be of interest for anyone.
-w Makes binchunker write audio tracks in WAV format.
-s Makes binchunker swap byte order in the samples of audio tracks.
-p Makes binchunker go into PSX mode and truncate MODE2/2352 tracks to 2336 bytes at offset 0 instead of normal 2048 bytes at offset
24. Use this option if input is in PSX mode.
-r Makes binchunker output MODE2/2352 tracks in raw format, from offset 0 for 2352 bytes. Good for MPEG/VCD. Use this option if
input is in raw format.
FILES
image.bin
Raw CD image file
image.cue
TOC (Track index, Table Of Contents) file
*.iso
Tracks in ISO9660 CD filesystem format. Can be either written on a CD-R using cdrecord, or mounted (on Linux platforms at least)
through a loop device ('mount track.iso /mnt/cdrom -o loop=/dev/loop0,blocksize=1024').
*.cdr
Audio tracks in native CD audio format. They can be either written on a CD-R using 'cdrecord -audio', or converted to WAV (or any
other sound format for that matter) using sox ('sox track.cdr track.wav').
*.wav
Audio tracks in WAV format.
SEE ALSO
cdrecord(1), mkisofs(8), sox(1), cdrdao(1)
AUTHORS
Heikki Hannikainen <hessu@hes.iki.fi>
Bob Marietta <marietrg@SLU.EDU>
Colas Nahaboo <Colas@Nahaboo.com>
Godmar Back <gback@cs.utah.edu>
Matthew Green <mrg@eterna.com.au>
Heikki Hannikainen v1.2.0 29 Jun 2004 BCHUNK(1)