Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th March 2008, 15:16
shamuk80 shamuk80 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
 
Default steps: how to backup on DVD in RHEL4?

Hi all,

Can any body check, the steps to take the data backup on DVD.
please make corrections if I am missing some thing. or any other way to do this. All I need to take backup of .tar.gz files to DVDs.

I have installed dvd+rw-tools.

1. dmesg
The last few lines of /var/log/dmesg ( just wanted to know where this device is attached )

sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 00 00 00 00 00 00 00 02 00
sr: old sense key No Sense
Non-extended sense class 0 code 0x0
usb 1-1: new high speed USB device using address 4
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: FREECOM_ Model: DVD+/-RW20J6 Rev: 9F51
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi3, channel 0, id 0, lun 0
USB Mass Storage device found at 4
cdrom: This disc doesn't have any tracks I recognize!

Question:
Is this attached to sdc1 or sr0 ?? (Attached scsi CD-ROM sr0 at scsi3)



2. cdrecord -scanbus

Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) 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.
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').
scsibus2:
2,0,0 200) 'FREECOM_' 'DVD+/-RW20J6 ' '9F51' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *


Question: Can any body tell me why we get output different when i run this command? like

scsibus2:
2,0,0 200) 'FREECOM_' 'DVD+/-RW20J6 ' '9F51' Removable CD-ROM

scsibus3:
3,0,0 300) 'FREECOM_' 'DVD+/-RW20J6 ' '9F51' Removable CD-ROM


3. mount -r -t iso9660 /dev/hdc /media/cdrecorder


4. To create the ISO image.

# mkisofs -r -o /tmp/home-backup-disk1.iso /home/backup

5. Now use the growisofs command to write the ISO onto the DVD.

# growisofs -Z /dev/dvd=/tmp/home-backup-disk1.iso


Will these steps work??




I was looking on some site where these commands were mentioned

Backup a directory to a CD:
One step: mkisofs -r -R -J -l -L /home/user1 | cdrecord dev=0,4,0 -v --eject speed=4 -
or the two step variation of the process:
mkisofs -r -R -J -l -L -allow-multidot -o /tmp/backup.iso -graft-points "/home/user1=/home/user1"
cdrecord dev=0,4,0 -v --eject speed=4
Make sure directory does not hold more than CD capacity (700Mb typically). Check with the command: du -s /home/user1



Can any body explain the abouve bold and italic lines ??

tell me which way is good the steps i wrote or these commands? what if i need to use the blank part of the DVD again?

waiting for an earlier response.

Thanks.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to backup on DVD in RHEL4 and 5 shamuk80 HOWTO-Related Questions 1 28th February 2008 16:53
[SHELL Script] - Backup WEB & DATABASES vaio1 Tips/Tricks/Mods 0 5th September 2007 14:48
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
ISPConfig Backup problem gzero General 5 27th November 2006 09:48
SystemImager howto make a dvd backup?? Philip_Anselmo HOWTO-Related Questions 0 26th March 2006 11:13


All times are GMT +2. The time now is 04:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.