[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: Backup advice
> worked fine until it got down to the bit about "cdrecord - v
> speed=3D2" and then it barfed. It tells me that ...
>
> cdrecord: Bad Option: speed=3D2
I wondered if you'd notice this, or if it was an error when copying in to the
email. Try:
#!/bin/sh
rsync -a /home/mydocs/ /home/richard/ > /dev/null 2>&1
mkdir -p /tmp/backup
export FILE=backup-`date +%Y%m%d`.tgz
tar -cz /home/richard > /tmp/mybackup/$FILE
mkisofs -r -J -o /tmp/backup.iso /tmp/backup
# cdrecord -v speed=2 dev=0,1,0 blank=fast
cdrecord -v speed=2 dev=0,1,0 -data /tmp/backup.iso
rm -rf /tmp/backup /tmp/backup.iso
Simply removing the 3Ds should suffice. Also, use `cdrecord --scanbus` to
make sure that the device really is 0,1,0
Craig
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.