Koozali.org: home of the SME Server

backup to CD-RW drive

Marc Verzani

backup to CD-RW drive
« on: July 04, 2001, 05:48:54 PM »
Has anyone customized the Backup feature on the e-smith server to work nicely with a CD-RW drive installed in the server.

A-P

Re: backup to CD-RW drive
« Reply #1 on: July 05, 2001, 02:11:03 PM »
Hi,

My backup script
----------------------------


#!/bin/sh
# Cdrw backup script
# created 08.04

# name of this computer
COMP=Linux
# directoris to backup
DIRS="home/files/tiedostot/files"
# where to store the backups
BACKTO=/tmp/cdrw
 
#you should not have to change anything below here
 
# full backup
# cdrecord
rm -rf $BACKTO/$COMP-Full*
tar --directory / --create -zv --totals $DIRS --file=$BACKTO/$COMP Full
date -I.tgz  
#nice --20 mkisofs -R -J $BACKTO | cdrecord blank=fast -v -eject -
mkisofs -R -J -o /tmp/backup.iso $BACKTO
cdrecord blank=fast -v -eject /tmp/backup.iso
rm -rf $BACKTO/$COMP-Full*

Robert Heaton

Re: backup to CD-RW drive
« Reply #2 on: July 09, 2001, 03:48:39 PM »
Is There a manager interface to schedule this script or to configure your drive anywhere??

Thanks.