I am working on a script to intermittently backup a few directories to DVD. The growisifs / mkisofs command at the moment is:
Code:
growisofs -dvd-compat -speed=1 -Z /dev/dvd \
-r -J -l -V Backup_`date +"%d_%B_%Y"` \
-allow-multidot -allow-leading-dots \
-x /etc/mtab -hide-rr-moved -no-bak \
-graft-points "home/=/home/andrew" "etc/=/etc" \
"crontabs/=/var/spool/cron/crontabs"
All of which works well enough
except the -no-bak option which I have been unable to use. The error message is:
Code:
Bad Option '-no-bak' (error -1 BADFLAG).
Usage: mkisofs [options] [-find] file... [find expression]
Use mkisofs -help
to get a list all of valid options.
Use mkisofs -find -help
to get a list of all valid -find options.
But following up these directions yielded no information that I could see as useful.
I am using Slackware 12 + the mkisofs that came with it:
Code:
andrew@ilium~$ mkisofs --version
mkisofs 2.01.01a23 (i686-pc-linux-gnu)
Thanks for anyone who can steer me in the right direction.
Andrew