LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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
  Search this Thread
Old 05-28-2009, 05:07 PM   #1
Polish-Jack
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
How do I automagically back up a directory to DVD-RAM


I am running a small machine that hosts a directory for several client computers to use as a mapped drive so the client computers can run the application in the directory.

I need a way to backup/copy this directory to a DVD-RAM disk automagically ever night. How would I go about doing this?
 
Old 05-29-2009, 03:44 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
tar -cvpf backup.tar directory
mkisofs -R backup.iso "directory containg only backup.tar"
cdrecord -sao -speed=8 backup.iso
 
Old 05-29-2009, 01:23 PM   #3
Polish-Jack
LQ Newbie
 
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by contusion View Post
tar -cvpf backup.tar directory
mkisofs -R backup.iso "directory containg only backup.tar"
cdrecord -sao -speed=8 backup.iso
DVD-RAM does not need to be burned like a regular CD. Once it is mounted it acts like a slow HDD. I did some reading and think that CRON would be my best bet, I just have to figure out how to use it. I am guessing what I need is something like this...

Mount the drive
CP the directory with auto overwrite switches to the mounted DVD-RAM
Unmount the drive

Would something like this work?
 
Old 05-29-2009, 02:04 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Only one way to find out, give it a go.
 
Old 06-19-2009, 05:56 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Did you try it & did it work? -- It's important to let others know.
 
Old 06-19-2009, 06:06 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Some usefull info

Mondoarchive for Linux

Of course there are other possibilities using 'dd' or tar or cpio or ...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD RAM on LG T1 Express not working, I don't want to go back to windows. please help n9n Linux - Newbie 3 06-14-2006 02:16 PM
Cannot Play back DVD on PC recorded from a DVD recorder shazam75 Linux - Software 2 12-29-2005 03:11 AM
LG DVD+-RW/RAM won't mount after writing DVD (growisofs/k3b) jaws_tas Linux - Hardware 1 03-25-2005 01:52 AM
How to play dvd s in regular user account? DVD-RAM How-To? Outabux Debian 1 07-08-2004 07:51 PM
Linux takes RAM and doesn't give it back! rootking Linux - Hardware 4 06-19-2004 09:12 PM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration