Taking backup in dvd under linux
I need to take backup of home directories in DVD under linux, Can any one let me know the process of doing it.
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:
This results in a file called mail.tar.bz2 - this is then written to DVD.
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.?
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.
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.
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').
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) *
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
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.
|All times are GMT -5. The time now is 02:25 AM.|