Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-17-2005, 04:44 PM   #1
LQ Newbie
Registered: Feb 2005
Distribution: SUSE SLES9
Posts: 1

Rep: Reputation: 0
Lightbulb Any automated scripts to run DVD Backups?

We run IBM's Tivoli backup software on a 2.4 kernel version of SUSE. The box we run it on includes a nice DVD RW + burner. IBM can not write to it, so we write to an extra hard drive in the system. This clearly is not real backup, so rather than buying a tape drive we would like to use the DVD. BTW, our backups are automatically broken up into 4GB files so the size issue with DVD goes away.

Is there a script or program that we could load on Linux that would help automate the DVD backup. Our staff is weak on Linux commands, etc. We need something that can backup the backups... like a file copy? thanks.
Old 02-17-2005, 05:46 PM   #2
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30

I do a similar thing at my work place once a week. There are probably better ways to do it but this has never failed me once, and I have resorted to these backup's before.

This is my script if you want it... Above each line after the # I have put what each command does so you know.


# create a tar file of everything in my /data folder. The `date ` that is in there puts the date in the name of the file so you can keep track. You can delete these if you want.
tar -cf /backup/backup-`date +%F`.tar /data

# Create an iso of the .tar file you created before.
mkisofs -J -D -R -x /backup/lost+found -o /backup/backup.iso /backup/backup-`date +%F`.tar

# Burn the image and automatically eject it after completed.
dvdrecord dev=ATAPI:0,0,0 -data -dao -pad -eject /backup/backup.iso

# Delete the iso file that you created.
rm -rf /backup/*.iso


There probably are better ways to do this but it does work for me no probs.

Good luck
Old 02-17-2005, 06:05 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You might also want to investigate DAR . It can be configured to make full/incremental backups, write to hard disk/cd/dvd, compresses files individually so that they can be restored individually, etc.
If you decide to give it a try, PM me. I've edited my copy of the DAR tutorial to include my findings when using it. I'd be glad to send you a copy.

PS. you can also set it up to run whenever you choose as a cron job (good for nightly incremental or weekly full backups).

Last edited by bigrigdriver; 02-17-2005 at 06:07 PM.
Old 04-28-2005, 10:52 AM   #4
LQ Newbie
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Hi everyone, i installed dar and kdar on my SLE 9.2 and i was looking for a script for burning files generated by dar to dvd-rws.

Can i use the mkisofs and dvdrecord scripts with dvd-rw ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FileServer w/ automated scripts for a small-sized enterprise tyiooo Linux - Enterprise 3 08-27-2005 01:26 PM
Automated Backups Matir Linux - Software 2 06-28-2005 09:55 AM
software for DVD backups? mushmaster Linux - Software 6 10-11-2004 05:02 PM
DVD Backups in linux Mojojo Linux - Software 4 09-18-2004 07:58 PM
DVD backups iainvt Linux - Software 2 08-09-2004 05:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration