Why would you do this? Say like me you have a server that you have remote ssh access to. Or you do not want to install GUI on a system but have need to burn a DVD backup.
Step 1: Install dvd+rw-tools
sudo apt-get install dvd+rw-tools
Step 2: To find where your DVD Burner is
Look for a line that is simular to:
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
Step 3: Buring your DVD.
Burning a content of a directory:
If you are unsure of the charter set leave blank and your default system charter set will be used.
growisofs -dvd-compat -input-charset=ISO-8859-1 -Z /dev/hdd -R -J -pad "/path/to/some/data"
When finished eject the DVD by issuing the command:
Burning data from multiple directories:
Ok now if you want to burn data from directories /path/to/foo and /path/to/chu (given you have enough space on the DVD for it) and you want to put the data into directories "foo" and "chu" on the DVD.
Burning to DVD-RW:
growisofs -dvd-compat -input-charset=ISO-8859-1 -Z /dev/hdd -R -J -pad -graft-points "/foo=/path/to/foo" "/chu=/path/to/chu"
If you are using a DVD-RW, you need to format your DVD-RW before you can burn to it.
Now you are ready to burn to your DVD-RW.
dvd+rw-format -force /dev/hdd
Appending Data to DVD-RW:
If you would like to add data to your DVD-RW from a previous burn you can append data by using the -M switch:
Burning an iso:
growisofs -dvd-compat -input-charset=ISO-8859-1 -M /dev/hdd -R -J -pad -graft-points "/foo=/path/to/additonal/data"
If you used "dd" to created an ISO or made a backup of another DVD you've created. To burn that ISO use the following command.
growisofs -dvd-compat -Z /dev/hdd=/path/to/image.iso