Sarge - how to write a filesystem backup directory to a DVD ?

2006-08-07 Thread Keith Christian
Having gotten a new internal DVD burner, I'd like to know the best way to burn
a directory of files to a DVD for system backup.  (Also, I'd rather burn the
DVD using a command at the BASH prompt instead of from a GUI.)  The capacity
of the DVD is 8gb, write speed is 16x, and the size of the directory to be
burned to the DVD is about 7gb so there should be plenty of space.

I've installed dvd+rw-tools from the Sarge CD's.

I'm a little confused - should the input to growisofs be the directory that
is to be burned to the DVD, or should an .iso be created first, and that in
turn burned to the DVD, as is done with CD's ?

I've seen references to formatting or initializing DVD's on a few websites
but don't know if that's really necessary.

A URL with a step by step sequence of how to do this or troubleshoot this
would be appreciated.

=Keith


(FWIW, Here is the output of dvd+rw-mediainfo:)

sudo dvd+rw-mediainfo /dev/hdd
Password:
INQUIRY:[DVDRW   ][DRW-5S163   ][YSG1]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 1Bh, DVD+R
 Media ID:  RICOHJPN/R03
 Current Write Speed:   16.0x1385=22160KB/s
 Write Speed #0:16.0x1385=22160KB/s
 Write Speed #1:12.0x1385=16620KB/s
 Write Speed #2:8.0x1385=11080KB/s
 Write Speed #3:6.0x1385=8310KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance: 6.4x1385=8864KB/[EMAIL PROTECTED] - 0]
 Speed Descriptor#0:00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#1:00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#2:00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#3:00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:   A1h, DVD+R book [revision 1]
 Legacy lead-out at:2295104*2KB=4700372992
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   blank
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2295104*2KB
 Track Size:2295104*2KB
 ROM Compatibility LBA: 262144
READ CAPACITY:  1*2048=2048


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge - how to write a filesystem backup directory to a DVD ?

2006-08-07 Thread Eduard Bloch
#include hallo.h
* Keith Christian [Mon, Aug 07 2006, 03:23:07PM]:
 Having gotten a new internal DVD burner, I'd like to know the best way to burn
 a directory of files to a DVD for system backup.  (Also, I'd rather burn the
 DVD using a command at the BASH prompt instead of from a GUI.)  The capacity
 of the DVD is 8gb, write speed is 16x, and the size of the directory to be
 burned to the DVD is about 7gb so there should be plenty of space.
 
 I've installed dvd+rw-tools from the Sarge CD's.
 
 I'm a little confused - should the input to growisofs be the directory that
 is to be burned to the DVD, or should an .iso be created first, and that in
 turn burned to the DVD, as is done with CD's ?

Honestly, RTFM of growisofs helps reducing your confusion. It runs
mkisofs itself and catches the output. So it is not neccessary to make
an iso image, you specify the same things you would do with mkisofs, eg.
a directory, multiple directories, or graft-pointed catalogue.

For big directories, the dirsplit utility can be used (from
www.freshmeat.net, the one in Sarge is not uptodate).

 I've seen references to formatting or initializing DVD's on a few websites
 but don't know if that's really necessary.

Unless you are going to use the UDF filesystem (writting on-the-fly)
formatting should not be necessary.

  Free Blocks:   2295104*2KB
  Track Size:2295104*2KB

Looks like a usual 4.3GiB medium.

Eduard.
-- 
amq Joey: ich häng schon am Manual.
RvB amq: Naja, du musst halt nicht nur dranhängen sondern auch lesen.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge - how to write a filesystem backup directory to a DVD ?

2006-08-07 Thread Bud Rogers
On Monday 07 August 2006 17:23, Keith Christian wrote:
 Having gotten a new internal DVD burner, I'd like to know the best
 way to burn a directory of files to a DVD for system backup.  (Also,
 I'd rather burn the DVD using a command at the BASH prompt instead of
 from a GUI.)  The capacity of the DVD is 8gb, write speed is 16x, and
 the size of the directory to be burned to the DVD is about 7gb so
 there should be plenty of space.

I know this is not exactly what you are asking, but may I suggest that 
you take a look at mondo.  It is a suite of tools for making self 
contained backups.  It uses many existing tools like cdrecord as 
backends to accomplish necessary tasks.

It has a simple and intuitive ncurses based semi-graphical front end.  
It is possible to make a complete backup on a set of bootable CDs or 
DVDs.  The defaults are reasonable.  You can create a complete backup 
of your system by hitting enter a few times and feeding it disks when 
it asks.  It is also possible to run mondo from the command line, 
lending it to automated backups from cron, etc.

You can take the disks to another machine, boot the first disk and 
restore your system.  I did exactly that to migrate a sarge machine at 
work to a different box.   The new/old box was a surplus Windoze 
machine.  Different hardware, different disks, different everything.  
When I booted the first disk and told it to restore, it noticed that 
the partitions were different, asked if I wanted to repartition, and 
dropped me into fdisk.  I set the partitions I wanted -- different from 
the old box -- and continued with the restore.  

Once the restore was done mondo noticed the new partition structure, 
asked if I wanted to fix lilo.conf, and dropped me into vim.   I ran 
lilo, popped the last CD out and rebooted.  Presto, I had my box up and 
running on a totally different set of hardware.

I have heard people talk of bare-metal restores as a great and painful 
adventure.  Thanks to the mondo suite, mine was totally painless.  The 
actual backup and restore took a while writing and reading the CDs, but 
my actual interaction in each case was maybe five or ten minutes.  
Recommended.

-- 
Bud Rogers  [EMAIL PROTECTED]  KD5SZ



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge - how to write a filesystem backup directory to a DVD ?

2006-08-07 Thread Marc Wilson
On Mon, Aug 07, 2006 at 03:23:07PM -0700, Keith Christian wrote:
 The capacity of the DVD is 8gb, write speed is 16x, and the size of the
 directory to be burned to the DVD is about 7gb so there should be plenty
 of space.

No, unless you're using DL media, the capacity of the DVD is approximately
4 gb.  And you aren't finding any 16x DL discs yet, as far as I know.

Your dvd+rw-mediainfo run below supports the fact that you only have 4gb
discs.

 I'm a little confused - should the input to growisofs be the directory that
 is to be burned to the DVD, or should an .iso be created first, and that in
 turn burned to the DVD, as is done with CD's ?

Pick one.  The documentation for growisofs makes it plain from the examples
that you can either specify the directory containing the files to burn
(since it will call mkisofs as needed) or create an ISO yourself and burn
that.

 I've seen references to formatting or initializing DVD's on a few websites
 but don't know if that's really necessary.

Typically, +RW media needs to be formatted, also as documented.  Usually,
+R and -R do not.

 A URL with a step by step sequence of how to do this or troubleshoot this
 would be appreciated.

Don't know what you need other than growisofs's man page.

-- 
 Marc Wilson | Respect is a rational process -- McCoy, The Galileo
 [EMAIL PROTECTED] | Seven, stardate 2822.3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]