LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 02-17-2005, 03:44 PM   #1
bweiss
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, 04:46 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

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
Craig
 
Old 02-17-2005, 05:05 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,698

Rep: Reputation: 287Reputation: 287Reputation: 287
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 05:07 PM.
 
Old 04-28-2005, 09:52 AM   #4
parabol
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 ?
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 12:26 PM
Automated Backups Matir Linux - Software 2 06-28-2005 08:55 AM
software for DVD backups? mushmaster Linux - Software 6 10-11-2004 04:02 PM
DVD Backups in linux Mojojo Linux - Software 4 09-18-2004 06:58 PM
DVD backups iainvt Linux - Software 2 08-09-2004 04:52 AM


All times are GMT -5. The time now is 10:20 AM.

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