HEllo,

I have a backup-script that works a bit in this way:

It is executed from cron.
I make tgz-backups of defined directories and stores these tgz´ s in a "backup-Dir".
It checks for the size of the backup-dir. If the size is to high, it sends me an email with the command to burn the CD.
So I just have to insert the CD, copy the command from the email to the commandline and be happy.


You can find it at:
http://www.cornelinux.de/linux/backup.pl.html

Unfortunately the rest of this page is in german. But maybe you can figure something out from the perl-script.

Regards
Cornelius

[EMAIL PROTECTED] wrote:

Hi,
I've to make a script to do the following:
Every day, at fixed time, I want to copy a directory into a cd.
There should be few data (maybe 30-40 MB per day) so, when the cd is
almost full it should eject it and when I put a new one, mount the cdrom again and 
restart!

Am I dreaming or do you think it's possible?
I was thinking to use cdrecord, but I've no clue how to start!
Someone has some tips or few links where I can find some help ?

Thanks
Dario

-----------------------------------------------------

Salve, il messaggio che hai ricevuto
h stato inviato per mezzo del sistema
di web mail interfree. Se anche tu vuoi una casella di posta free visita il
sito http://club.interfree.it
Ti aspettiamo!


-----------------------------------------------------








-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to