directory backup to cd
Results 1 to 9 of 9

Thread: directory backup to cd

Threaded View

  1. #1
    Join Date
    Mar 2001
    Location
    Adelaide, SA, Australia
    Posts
    823

    directory backup to cd

    Thanks to the helpful people at virtualdr I was able to fix my samba problem, but now one more problem exists.
    The linux server I setup is going to have a CD-Writer installed into it for backing up once a week.
    I know how to enable scsi emulation on the burner but could someone help me with creating a shell script and automating it with cron. What I would like to be able to setup is for the machine to burn the contents of a directory (for example one called backup) onto a CD at 11:30pm every Friday, then delete the backup file after it has finished and for the CD to be ejected.

    I know to backup to cd I enter to following commands at the shell prompt.

    mkisofs -o /var/tmp/backup.cd /backup
    cdrecord -v speed=24 dev=0.0.0 -data /var/tmp/backup.cd

    Thank you in advance for any people who help me, as I would also like to do this to my server as well.
    Yuri.

    EDIT: Forgot to mention that the distro is Redhat 7.2
    Last edited by Yuri; July 2nd, 2002 at 05:51 AM.
    In a world without fences, who needs GATES?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •