LinuxParty
Ten cuidado con varias cosas:
a) usas dispositivo rebobinable o no st0 (rebobina al finalizar una
operacion) st0n (no rebobina al finalizar una operacion)
b) La cinta esta rebobinada o no
Un ejemplo de backup y comprobacion con dispositivo no rebobinable
tar cvf /dev/st0n /tmp
mt -f /dev/st0n rewind
tar tvf /dev/st0n
(si quieres machacar en el siguiente backup) mt -f /dev/st0n rewind
Si no quieres machacar sino grabar tar cvf /dev/st0n /home
Si quieres ver el primer backup :
mt -f /dev/st0n rewind; tar tvf /dev/st0n
Si quieres ver el segundo backup
mt -f /dev/st0n rewind; tar tvf /dev/st0n; tar tvf /dev/st0n
o mejor
mt -f /dev/st0n rewind; mt -f /dev/st0n fsf 1 ; tar tvf /dev/st0n
Un ejemplo de backup y comprobacion con dispositivo rebobinable
tar cvf /dev/st0 /tmp
tar tvf /dev/st0
Si no quieres machacar en el siguiente backup
mt -f /dev/st0 fsf 1; tar cvf /dev/st0 /home
Si quieres ver el primer backup
mt -f /dev/st0 rewind; tar tvf /dev/st0
Si quieres ver el segundo backup
mt -f /dev/st0n rewind; mt -f /dev/st0n fsf 1 ; tar tvf /dev/st0
Espero que este tocho de comandos te aclare algo, si no es asi dimelo y procurar?
hacer un correo explicandolo mejor, los comandos mt y tar son los de tru64 y hpux
creo recordar que en linux el fsf puede ser un forward
en cualquier caso man mt :), como siempre
Un saludo
David

a) usas dispositivo rebobinable o no st0 (rebobina al finalizar una
operacion) st0n (no rebobina al finalizar una operacion)
b) La cinta esta rebobinada o no
Un ejemplo de backup y comprobacion con dispositivo no rebobinable
tar cvf /dev/st0n /tmp
mt -f /dev/st0n rewind
tar tvf /dev/st0n
(si quieres machacar en el siguiente backup) mt -f /dev/st0n rewind
Si no quieres machacar sino grabar tar cvf /dev/st0n /home
Si quieres ver el primer backup :
mt -f /dev/st0n rewind; tar tvf /dev/st0n
Si quieres ver el segundo backup
mt -f /dev/st0n rewind; tar tvf /dev/st0n; tar tvf /dev/st0n
o mejor
mt -f /dev/st0n rewind; mt -f /dev/st0n fsf 1 ; tar tvf /dev/st0n
Un ejemplo de backup y comprobacion con dispositivo rebobinable
tar cvf /dev/st0 /tmp
tar tvf /dev/st0
Si no quieres machacar en el siguiente backup
mt -f /dev/st0 fsf 1; tar cvf /dev/st0 /home
Si quieres ver el primer backup
mt -f /dev/st0 rewind; tar tvf /dev/st0
Si quieres ver el segundo backup
mt -f /dev/st0n rewind; mt -f /dev/st0n fsf 1 ; tar tvf /dev/st0
Espero que este tocho de comandos te aclare algo, si no es asi dimelo y procurar?
hacer un correo explicandolo mejor, los comandos mt y tar son los de tru64 y hpux
creo recordar que en linux el fsf puede ser un forward
en cualquier caso man mt :), como siempre
Un saludo
David

-
CentOS
- Publicado CentOS Linux, 5.5
- El Perfecto Servidor - CentOS 5.5 x86_64 [ISPConfig 3]
- Configuración de un servidor y cliente NFS en CentOS 5.5
- El Perfecto Servidor - CentOS 5.6 x86_64 [ISPConfig 3]
- Instalar Zimbra Collaboration Suite 7 en CentOS 5.x (64Bit)
- Usar e Instalar OpenVZ en CentOS 5.6
- Microsoft dará soporte de CentOS Linux en Hyper-V
- Paravirtualización con Xen en CentOS 5.6 (x86_64)
- PowerStack, últimas versiones de LAMP en CentOS
- Instalar Lighttpd con PHP5 y MySQL en CentOS 5.6
- El Servidor Perfecto - CentOS 6.0 x86_64 [ISPConfig 3]
- Instalar y utilizar OpenVZ en CentOS 6.0
Comentarios