Koozali.org: home of the SME Server

CD Burner for backups

Bob Thompson

CD Burner for backups
« on: January 15, 2001, 08:36:11 AM »
Has anyone been able to set up an IDE CD burner to use as a backup device?
I'd like to do this, but I'm not sure where to start. Any suggestions?

Thanks,

Bob

Andrew Reid

Re: CD Burner for backups
« Reply #1 on: January 17, 2001, 03:23:32 AM »
Hello Bob,

If you just wanted to burn the /home/e-smith directory (where all the users files are stored) I would imagine the easiest way would be to write a little shell script that tar'd up the /home/e-smith directory and then use mkisofs to create an ISO image containing that tar file. Then use some sort of CD recording program (cdrecord is one I believe).

Have a look at the Linux CD Writing HOWTO for some more information.

http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html

Hope I've helped in some way. If you need more help implementing it, just holler.


Regards

Andrew Reid
areid@matcom.com.au

Bob Thompson

Re: CD Burner for backups
« Reply #2 on: January 17, 2001, 12:38:37 PM »
Thanks for the response - it might help put me on track, but what I was mostly looking for was how to support the CD burner in the kernel. cdrecord needs a SCSI device to work, so with a normal distro you have to compile or use a kernel with SCSI>IDE emulation. Since e-smith has no compiler, how do you get the emulation working. I've tried a couple of searches on Google, but there's nothing obvious.

Thanks,

BobAndrew Reid wrote:
>
> Hello Bob,
>
> If you just wanted to burn the /home/e-smith directory (where
> all the users files are stored) I would imagine the easiest
> way would be to write a little shell script that tar'd up the
> /home/e-smith directory and then use mkisofs to create an ISO
> image containing that tar file. Then use some sort of CD
> recording program (cdrecord is one I believe).
>
> Have a look at the Linux CD Writing HOWTO for some more
> information.
>
> http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html
>
> Hope I've helped in some way. If you need more help
> implementing it, just holler.
>
>
> Regards
>
> Andrew Reid
> areid@matcom.com.au

Darrell May

Re: CD Burner for backups
« Reply #3 on: January 19, 2001, 09:37:46 AM »
Bob Thompson wrote:
>
> Thanks for the response - it might help put me on track, but
> what I was mostly looking for was how to support the CD
> burner in the kernel. cdrecord needs a SCSI device to work,
> so with a normal distro you have to compile or use a kernel
> with SCSI>IDE emulation. Since e-smith has no compiler, how
> do you get the emulation working. I've tried a couple of
> searches on Google, but there's nothing obvious.

Try this page http://www.nber.org/cdrecord.html for background.  ide-scsi emulation is a simple module that you load.  No compiling necessary :-)

Darrell