Koozali.org: home of the SME Server

Legacy Forums => Suggestions => Topic started by: Marc Verzani on July 04, 2001, 05:48:54 PM

Title: backup to CD-RW drive
Post by: Marc Verzani 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.
Title: Re: backup to CD-RW drive
Post by: A-P 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*
Title: Re: backup to CD-RW drive
Post by: Robert Heaton on July 09, 2001, 03:48:39 PM
Is There a manager interface to schedule this script or to configure your drive anywhere??

Thanks.