informatica:certificaciones:lpic:lpic-2:206_system_maintenance:206.2
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| informatica:certificaciones:lpic:lpic-2:206_system_maintenance:206.2 [2021/04/08 20:20] – tempwin | informatica:certificaciones:lpic:lpic-2:206_system_maintenance:206.2 [2021/04/09 08:37] (actual) – [mt] tempwin | ||
|---|---|---|---|
| Línea 52: | Línea 52: | ||
| * Red | * Red | ||
| - | ===== tar ===== | + | ===== Herramientas de backup |
| + | ==== tar ==== | ||
| Comando que permite comprimir/ | Comando que permite comprimir/ | ||
| Línea 80: | Línea 81: | ||
| <code bash> | <code bash> | ||
| - | tar zcvf backup_etc.tar /etc | + | tar zcvf backup_etc.tar.gz /etc |
| </ | </ | ||
| Línea 97: | Línea 98: | ||
| </ | </ | ||
| - | ===== dd ===== | + | ==== dd ==== |
| Comando que permite realizar copias de bajo nivel de un periférico (bloque a bloque). | Comando que permite realizar copias de bajo nivel de un periférico (bloque a bloque). | ||
| Línea 136: | Línea 137: | ||
| </ | </ | ||
| - | ===== rsync ===== | + | ==== rsync ==== |
| Comando para copiar o sincronizar ficheros desde una localización a otra con poco ancho de banda. | Comando para copiar o sincronizar ficheros desde una localización a otra con poco ancho de banda. | ||
| Línea 179: | Línea 180: | ||
| </ | </ | ||
| - | 206.2 Operaciones de Backup (3) | + | ==== mt ==== |
| - | CASO PRÁCTICO: | + | |
| - | ¿Hacen lo mismo los siguientes comandos? | + | Comando |
| - | #rsync -a / | + | |
| - | #rsync -a / | + | < |
| - | 206.2 Operaciones de Backup (3) | + | |
| - | mt: comando | + | |
| - | las cintas magnéticas. | + | |
| mt [-f device] command count | mt [-f device] command count | ||
| - | asf | ||
| - | La cinta es posicionada al comienzo del contador de ficheros. | ||
| - | rewind | ||
| - | Rebobina la cinta. | ||
| - | erase | ||
| - | Borra una cinta. | ||
| - | offline | ||
| - | Descargamos una cinta del lector. | ||
| - | tell | ||
| - | Indica el bloque en el que estas. | ||
| - | 206.2 Operaciones de Backup (3) | ||
| - | /dev/st* Dispositivo SCSI de cintas de rebobinado automático. | ||
| - | /dev/nst* Dispositivo SCSI de cintas de no rebobinado. | ||
| - | Backup del directorio /home: | ||
| - | #tar –czf /dev/st0 /home | ||
| - | Restore del directorio /home: | ||
| - | #cd / | ||
| - | #mt –f /dev/st0 rewind | ||
| - | #tar –xzf /dev/st0 home | ||
| - | 206.2 Operaciones de Backup (3) | ||
| - | Herramientas de Backup de Red: | ||
| - | • Amanda (http:// | ||
| - | • Bacula (http:// | ||
| - | • BackupPC (http:// | ||
| - | 206.2 Operaciones de Backup (3) | ||
| - | PREGUNTA DE EXAMEN: | ||
| - | Which of the following commands will securely copy | ||
| - | the directory ./fyf/ to /var/tmp/ on the remote | ||
| - | host deltaur using the remote user account kevin? | ||
| - | A.rsync -a -e ssh kevin@deltaur:/ | ||
| - | B.rsync -a -u kevin -e ssh fyf/ deltaur:/ | ||
| - | C.rsync -a -u kevin -e ssh deltaur:/ | ||
| - | D.rsync -a -e ssh fyf/ kevin@deltaur:/ | ||
| - | 206.2 Operaciones de Backup (3) | ||
| - | PREGUNTA DE EXAMEN: | ||
| - | What backup arrangement should be used for an intranet | ||
| - | web server the contents of which is updated fairly | ||
| - | regularly by different staff? | ||
| - | A.Daily incremental backups with a weekly full backup | ||
| - | tape sent off- site. | ||
| - | B.Monthly full backups with the tape sent off-site. | ||
| - | C.Daily full backups with all tapes sent off-site. | ||
| - | D.Weekly full backups with all tapes sent off-site. | ||
| - | E.Daily full backups with one tape sent off-site per week. | ||
| </ | </ | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | Los dispositivos de cinta utilizan la siguiente nomenclatura: | ||
| + | |||
| + | * ''/ | ||
| + | * ''/ | ||
| + | |||
| + | Backup del directorio ''/ | ||
| + | |||
| + | < | ||
| + | tar –czf /dev/st0 /home | ||
| + | </ | ||
| + | |||
| + | Restauración del directorio ''/ | ||
| + | |||
| + | <code bash> | ||
| + | cd / | ||
| + | mt –f /dev/st0 rewind | ||
| + | tar –xzf /dev/st0 home | ||
| + | </ | ||
| + | |||
| + | ===== Herramientas de Backup de Red ===== | ||
| + | |||
| + | * Amanda (http:// | ||
| + | * Bacula (http:// | ||
| + | * BackupPC (http:// | ||
| + | |||
| ===== Tests ===== | ===== Tests ===== | ||
| Línea 250: | Línea 236: | ||
| Esto estaría creando en destino ''/ | Esto estaría creando en destino ''/ | ||
| + | |||
| + | **Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?** | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | **What backup arrangement should be used for an intranet web server the contents of which is updated fairly regularly by different staff?** | ||
| + | |||
| + | * Daily incremental backups with a weekly full backup tape sent off-site. (**Solución**) | ||
| + | * Monthly full backups with the tape sent off-site. | ||
| + | * Daily full backups with all tapes sent off-site. | ||
| + | * Weekly full backups with all tapes sent off-site. | ||
| + | * Daily full backups with one tape sent off-site per week. | ||
| + | |||
| + | |||
informatica/certificaciones/lpic/lpic-2/206_system_maintenance/206.2.1617906001.txt.gz · Última modificación: por tempwin
