LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-07-2009, 12:06 AM   #1
peddip
Member
 
Registered: Dec 2008
Posts: 51

Rep: Reputation: 16
Taking backup in dvd under linux


Hi,

I need to take backup of home directories in DVD under linux, Can any one let me know the process of doing it.
 
Old 05-07-2009, 02:11 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Well, each day I make a backup of my mailboxes in KMail. I do this with a simple script - to get it onto DVD I simply write the resulting file with K3B to a DVD.

Here's the script:

Code:
tar cvf mail.tar .kde/share/config/kmailrc .kde/share/apps/kmail/*

bzip2 mail.tar
I run this with

Code:
rylan@development ~]$ . backup_mail.sh
I. e. dot backup_mail.sh

This results in a file called mail.tar.bz2 - this is then written to DVD.
 
Old 05-07-2009, 03:05 AM   #3
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rylan76 View Post
Well, each day I make a backup of my mailboxes in KMail. I do this with a simple script - to get it onto DVD I simply write the resulting file with K3B to a DVD.

Here's the script:

Code:
tar cvf mail.tar .kde/share/config/kmailrc .kde/share/apps/kmail/*

bzip2 mail.tar
I run this with

Code:
rylan@development ~]$ . backup_mail.sh
I. e. dot backup_mail.sh

This results in a file called mail.tar.bz2 - this is then written to DVD.
Hi,

Thanks for your reply, But what are the commands to be used to take backup in DVD. Also how can i can find that i have DVD drive with RW option.?
 
Old 05-07-2009, 03:40 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Huh?

Not sure what you mean, are you asking how to write a DVD?

Use K3B, or XCDroast. Most modern distros usually come with some form of DVD/CD authoring software already included.
 
Old 05-07-2009, 04:23 AM   #5
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rylan76 View Post
Huh?

Not sure what you mean, are you asking how to write a DVD?

Use K3B, or XCDroast. Most modern distros usually come with some form of DVD/CD authoring software already included.
I'm asking about how to write dvd and how can i find that the drive i have is a writable drive.

My cdrecord -scanbus gave the below o/p and from this i think that my DVD drive is only readable but not writable. Please see the o/p below.


Cdrecord-Clone 2.01-dvd (--) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'HL-DT-ST' 'CDRW/DVD GCC4482' 'E108' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Last edited by peddip; 05-07-2009 at 04:35 AM.
 
Old 05-07-2009, 08:20 AM   #6
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
I have been using this method too.

You should find all you need on this wiki page: http://en.gentoo-wiki.com/wiki/Backup_to_DVD

Mons
Edit: Just to clarify that a bit. growisofs mentioned in the wiki is just one of the dvd burning tools available, there are others available for use in scripts too.

Last edited by monsm; 05-07-2009 at 08:25 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Amanda backup issue, taking too long now changlinn Linux - Enterprise 11 04-07-2009 05:30 PM
link to DVD backup in linux beeblequix Linux - Software 2 12-22-2007 02:00 PM
Error while taking OS backup mady988 AIX 1 12-16-2006 01:42 PM
taking backup and restoring postfix mail files cbekannan Linux - Software 0 11-04-2005 02:49 AM
taking backup and restoring postfix mail files cbekannan Linux - Software 3 10-28-2005 04:34 AM


All times are GMT -5. The time now is 10:41 PM.

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