Re: Fita DAT Sony SDT9000
Oie!!
Voce ainda pode usar o comando cpio como se segue, supondo que vc
tenha
feito um link simbolico para tape -> st0 ou nao... Na verdade nao
importa. :)
find ./diretorio -print | cpio -ov >/dev/tape ou /dev/st0
Para verificar o conteudo da fita, eh soh fazer:
cpio -ivt </dev/tape ou /dev/st0
Para extrair o conteudo da fita, eh soh digitar:
cpio -ivd </dev/tape ou ...
Mais coisas sobre o cpio, man cpio.
[]'s,
Nelson
Em Thu, 4 Oct 2001 08:14:06 -0700 (PDT) Adriano Freitas Escreveu:
>
>
> >
> > Pressuponho que eu use algo como:
> >
> > tar -cvO backup.tar arquivo1.x arquivo2.y *.pl
> > *.etc > /dev/st
> >
> > é isso? e como eu faço para enviar comandos para
> > rebobinar, etc?
> >
>
> Nunca me aprofundei muito no uso da fita dat. Tem
> programas como o taper que a gerenciam através de
> front-ends. Mas o básico é você a usar como se fosse
> uma "imagem". O 'tar' foi criado justamente para isso.
> Sabendo o funcionamento básico do tar vc consegue usar
> o mínimo de uma dat.
>
> A seguir vai um MINI-MINI tutorial:
>
> The tape device is /dev/st0, a SCSI tape drive.
>
> To do backup we are using the tar command as follows.
> Put the desired tape in the tape drive and use one
> of the following:
>
> (1) To initialize the tape (BEWARE: destroys previous
> content)
> with the contents of a directory <dir>:
>
> cd <parent-dir>
> tar cvf /dev/st0 <dir>
>
> (2) To add new directories to the tape:
>
> cd <parent-dir>
> tar rvf /dev/st0 <dir>
>
> (3) To restore a file or directory from the tape:
>
> cd <parent-dir>
> tar xvf /dev/st0 <dir>
>
> The restoring parent-directory does not have to be the
> same as the one used when doing the backup. Hence, it
> is possible to restore files/dirs in other locations.
>
> (4) To view contents of the tape:
>
> tar tvf /dev/st0
>
>
> All these command should be run as root. Ordinary
> users
> do not have access to the tape drive.
>
> It is not recommended to try to delete some of the
> contents
> of a backup tape while keeping the rest.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just
> $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
>
> --
> To UNSUBSCRIBE, email to
debian-user-portuguese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
--
Nelson Luiz Campos
Electrical Engineer
Linux User #89621 UIN 11464303
still@linuxbr.com.br
MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
Faça já o seu. É gratuito!!!
Reply to: