On Friday 09 April 2004 08:18, Nandalal Gunaratne wrote: > I do not think it is possible to setup a cron job to > backup to a CDRW or DVDRW device in Linux systems yet. > It maybe possible when Linux supports writing to UDF > file systems. Now it just supports reading these file > systems.
The only hard part is getting someone to put the CD in and remove the finished object later. one would use tar to collect the material to be backed up into one place, bzip2 to compress it to the maximum extent, mkisofs to make the compressed file/s into a CD-ROM image and then cdrecord to write that image to the CD Using the archiving and compression software removes the problme of having to add Joliet or Rock Ridge extensions to the CD FS to accomodate long file names and the like, but mkisofs can handle those. (man mkisofs). Indeed, you can miss out the filesystem step, and just write data straight to the CD with cdrecord, then dd it back to the hard drive when needed. -- Adrian Midgley (Linux desktop) GP, Exeter http://www.defoam.net/
