View Full Version : Using DVD+RW/+R as dump medium
mhelmling
February 24th, 2006, 05:15 AM
Hello,
I have made a patch in amanda 2.4.5
which allows to use DVD as dump medium.
This works fine over the last year so my question is
In which way can I insert the patch into the new release ?
ian
February 24th, 2006, 07:46 AM
By all means, let's see the patch. You can attach it to a post right here.
mhelmling
March 7th, 2006, 03:43 AM
The patch is not tested under 2.5
The description follows in a extra mail
in amanda.conf:
tapedev "dvdrw:/local/cache/dvdrw-taper:/dev/dvdram" #
in /etc/fstab
/dev/dvdram /local/cache/dvdrw-taper/data iso9660 ro,noauto,user,exec 0 0
there are some problems with the submount daemon so switch ist off.
ian
March 7th, 2006, 03:53 PM
I have added this patch to the sourceforge.net bug tracker here:
https://sourceforge.net/tracker/index.php?func=detail&aid=1445174&group_id=120&atid=300120
See my comments on that page.
mhelmling
March 9th, 2006, 12:53 AM
OK
To your comments:
Burning a DVD-R works also with a script like this:
amanda.conf:
tapedev "dvdrw:/local/cache/dvdR+taper:/dev/dvdramONE"
/dev/dvdramONE -> fd0
is a little trick, you have an other device which is offline, so all works
only the burn must be startet by hand. We do this every month.
script:#
BURNDIR=/local/cache/dvdR+taper/burn
TAPENUM=`cat $BURNDIR/../lasttape`
TAPENUM=`expr $TAPENUM + 1`
if [ $TAPENUM -lt 10 ]
then
TAPE=RFmonat0${TAPENUM}
else
TAPE=RFmonat${TAPENUM}
fi
echo $TAPENUM > $BURNDIR/../lasttape
rm $BURNDIR/*
amlabel RFmonat $TAPE
amdump RFmonat
and after a mail is reach us:
growisofs -Z /dev/hdc -use-the-force-luke=notray -use-the-force-luke=tty -speed=2.4 -J -R -pad -quiet /local/cache/dvdR+taper/burn
See also my other patch on
http://sourceforge.net/tracker/index.php?func=detail&aid=1446197&group_id=120&atid=300120