Zalohovanie

Jaroslav Klaus J.Klaus at sh.cvut.cz
Wed Jun 1 17:47:24 CEST 2005


On Wed, Jun 01, 2005 at 04:44:39PM +0200, Peter Novak wrote:
> 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 :

Doporucuji porovnat kapitoly 12.5.3 a 12.5.8 Handbooku.

Jarda



More information about the Users-l mailing list