Re: What dvd writers are Fedora compatible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roger wrote:
> I have an LG DVD writer, but havent been able to reliabily do data backups
> 
> I have like 4GB data to backup daily and I make 1 single big tar that 
> then convert to iso file
> 
> Should I split the tar in smaller files ?

I think so: it's a real pain getting something out of the "end" of a tar
file, especially if it has been compressed.

> can anyone pls post the mkisofs and cdrecord command lines that you are 
> using, or the script file you use for data backup for DVD ?

Well, I burn to CD-RW, but I've attached what I use. I gzip all my tar
files (for speed as well as size): this does mean that I have to have
a "staging area" to hold the .tar.gzs before they reach disk. That's
more practical for a CD-RW.

Alternatively, there are lots of pre-written backup programs to use.
I've heard cdtar, bacula and mondorescue mentioned. Any one else got
any preferences?

James.

-- 
E-mail address: james@ | ... in our completely unscientific usability study,
westexe.demon.co.uk    | it took our subjects less than 10 seconds to locate
                       | the Solitaire game. We're not sure what else the
                       | corporate desktop needs. -- Michael Hall, Serverwatch
#!/bin/sh

BACKUPDIR=/mnt/data/temp/backupdir
DEVICE=/dev/cdrw

# Check BACKUPDIR exists

if [ ! -d $BACKUPDIR ]
then
    mkdir $BACKUPDIR || exit 1
fi

rm -rf $BACKUPDIR/* 

cd / || exit 2

for i in home mnt/data/Office etc mnt/data/Other mnt/data/misc\
	 mnt/data/Network usr/games/fortune usr/local/bin usr/local/sbin\
	 mnt/data/Pictures/ 
do
    echo "Backing up $i"
    tar -zcf $BACKUPDIR/`basename $i`.tar.gz $i
    
    if [ `du -m $BACKUPDIR | cut -f1` -ge 650 ]
    then
        break
    fi
done

# OK: now write it to CD
mkisofs -lJV"`date +%d%m%y` backup" $BACKUPDIR | cdrecord dev=$DEVICE driveropts=burnfree blank=fast -tao -


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux