Zalohovanie

Pavlicek Jaroslav Ing. jaroslav_pavlicek at kb.cz
Wed Jun 1 17:36:18 CEST 2005


No jasne, protoze vypalujes .tgz, ale burncd chce .iso

Takze jeste dopln mkisofs ...

--- Jarda


-----Original Message-----
From: users-l-bounces at freebsd.cz [mailto:users-l-bounces at freebsd.cz]On
Behalf Of Peter Novak
Sent: Wednesday, June 01, 2005 4:45 PM
To: FreeBSD mailing list
Subject: Re: RE: Zalohovanie


Dakujem vsetkym za rady. Skript som nejako napisal a to takto :

#!/bin/sh
MENO_SUBORU=`date +%m%d%y`.tgz
cd /usr/backup
echo ====== Mazem .tgz z adresara /usr/backup/ =======
rm *.tgz
cd /usr/local/www/data-dist/
echo ====== Zipujem obchod =======
tar -zcvf $MENO_SUBORU obchod/
echo ====== Presuvam zip obchodu do /usr/backup/ ========
mv $MENO_SUBORU /usr/backup/
echo ====== Odpajam CD =======
umount /cdrom
echo ====== Napalujem data v multisession mode =========
cd /usr/backup
burncd -m -f /dev/acd0 -s 4 data $MENO_SUBORU fixate
echo ====== Pripajam CD ============
mount -t cd9660 /dev/acd0 /cdrom


ale napalovanie skonci najako divne :


server# /usr/backup/zaloha.sh
====== Mazem .tgz z adresara /usr/backup/ =======
====== Zipujem obchod =======
a obchod/
...
...
====== Presuvam zip obchodu do /usr/backup/ ========
====== Odpajam CD =======
umount: /cdrom: not a file system root directory
====== Napalujem data v multisession mode =========
next writeable LBA 11700
writing from file 060105.tgz size 7043 KB
written this track 7044 KB (100%) total 7044 KB
fixating CD, please wait..
====== Pripajam CD ============
cd9660: /dev/acd0: Input/output error
server#


nevidi tu niekto chybu ?
Dakujem

________
Vsetci sa raz zideme na http://blog.sme.sk
-- 
FreeBSD mailing list (users-l at freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l





More information about the Users-l mailing list