This tip will be brief, it concerns about writing bootable linux iso images to CDROM. What you need is cdrecord, cd-writer drive, blank cd-r and iso image (and maybe mkisofs).
Howto burn ISO images to CD
Insert the blank CD-R, and run
cdrecord -v speed=4 dev=/dev/cdrom ubuntu-6.10-desktop-i386.iso
and you’re done.
Howto burn (backup) files to Data CD
You’ll need mkisofs and cdrecord to burn your data files to a CD,
Run,
mkisofs -r -J -o yourbackup.iso /home/path_to/your_files cdrecord -v dev=/dev/cdrom -data yourbackup.iso
and that’s the easiest way to burn cds on command-line linux.
[tags]linux,cdrom,iso9660,joliet,ubuntu,cdrecord,mkisofs,debian[/tags]
I’d suggest wodim for burning:
wodim yourbackup.iso
hi there fak3r, thanks for your script suggestion
Thanks, was looking for a simple way to script this so I don’t have to run a GUI every time I just want to burn an ISO. I’ve wrapped your command in a short script, here it is:
#!/bin/bash
#
if [ $# -ne 1 ]
then
echo “No ISO specified, run again with ISO called out.”
echo ” usage: $0 ” >&2
exit 1
fi
#
cdrecord -v speed=8 dev=/dev/cdrom $1
#
exit 0
i am using fedora core 5, and oracle 10g as my database.how should i do to backup my data direct to dds and cdrom.