Qué vas a conseguir
Una copia que está fuera de la red y fuera del edificio, que se puede leer y de la que sabes qué contiene. En una empresa de retail la cinta suele vivir en la oficina central: el servidor del ERP, los ficheros de departamento y la copia de las bases de datos de ventas que llegan cada noche de las tiendas. La cinta no es la primera línea de restauración (para eso está el disco), es la copia que sobrevive a un ransomware o a un incendio. Y el trabajo es sobre todo de rutina: cambiar cintas, apuntar, comprobar.
Antes de empezar
- Una librería o autocargador LTO (LTO-8 o LTO-9 son lo habitual hoy) con lector de códigos de barras, conectada al servidor de backup.
- El software de copia con la librería dada de alta (en los ejemplos, Veeam Backup & Replication con trabajos de cinta).
- Cintas de datos suficientes para la rotación, más un 20 % de reserva, y cintas de limpieza compatibles.
- Una persona responsable y una suplente para el cambio de cintas: en la oficina central no siempre hay alguien de IT a primera hora.
- Un acuerdo con la empresa de custodia (o una caja fuerte ignífuga en otra sede) y su registro de entregas.
1. La rotación GFS
GFS (abuelo, padre, hijo) combina cintas que se reutilizan pronto con otras que se guardan mucho tiempo:
| Serie | Cuándo se escribe | Cuánto se guarda | Dónde está |
|---|---|---|---|
| Diaria | Lunes a jueves por la noche | 2 semanas | Librería o armario de la oficina |
| Semanal | Viernes por la noche | 5 semanas | Custodia externa |
| Mensual | Último viernes del mes | 12 meses | Custodia externa |
| Anual | Cierre del ejercicio | Lo que pida la ley o la auditoría | Custodia externa |
- En Veeam, la rotación se define en el media pool: uno estándar para las diarias y uno GFS para semanales, mensuales y anuales, cada uno con su retención.
- La retención la decide negocio y finanzas, no IT. Apunta quién lo aprobó.
- Una cinta WORM (escritura única) para la mensual o la anual tiene sentido si la auditoría lo pide: no se puede borrar ni con permisos de administrador.
2. Etiquetas, custodia y cifrado
- Código de barras en cada cinta: seis caracteres más el tipo de soporte, por ejemplo
HQ0012L9para una LTO-9. Nunca se escribe a mano sobre la etiqueta. - Un registro de movimientos: qué cinta sale, cuándo, quién la entrega y quién la recibe. La empresa de custodia firma; tú guardas la copia.
- Las cintas que salen de la oficina van cifradas. Las unidades LTO cifran por hardware con AES-256; en Veeam se activa en las opciones del media pool con una contraseña.
- La contraseña de cifrado va al gestor de contraseñas del equipo y a un sobre cerrado en la caja fuerte. Sin ella, la cinta no vale nada, tampoco para ti.
En Veeam, los vaults reflejan dónde está cada cinta que no está en la librería. Mueve la cinta al vault de custodia cuando sale, y sabrás qué pedir de vuelta sin buscar en una hoja.
3. La revisión diaria de los trabajos
Cada mañana, antes de las 10:00, alguien mira:
- El resultado de los trabajos de cinta de la noche: Success, Warning o Failed.
- Los Warning también se leen: un fichero bloqueado o una máquina que no se copió son copias incompletas.
- Que la cinta usada es la que tocaba según el calendario y que el tamaño escrito es parecido al de otros días. Una copia de 40 GB donde siempre hay 1,2 TB no es una buena noticia.
- Qué cintas hay que sacar hoy para la custodia y cuáles vuelven.
Get-VBRTapeJob | Select-Object Name, LastResult, LastStateName LastResult LastState---- ---------- ---------Cinta-Diaria-Oficina Success StoppedCinta-Semanal-Oficina Failed StoppedCinta-Mensual-Oficina Success StoppedEl mismo resumen sirve para una alerta: si algún trabajo no está en Success, se abre un ticket automático antes de que llegue nadie.
4. El ticket: "el trabajo de backup ha fallado: la cinta está protegida / sin caducar / no está en la librería"
Viernes, 8:30. El trabajo semanal de la noche ha fallado o se ha quedado esperando cinta.
- Protegida contra escritura: la pestaña física de la cinta está en la posición de bloqueo. Se saca, se cambia la pestaña y se vuelve a meter, después de comprobar que no es una cinta que alguien protegió a propósito (una mensual que debía ir a custodia).
- Sin caducar: la cinta pertenece a un media set cuya retención no ha terminado, así que el software no la sobrescribe. Es lo correcto. El problema es que no hay cintas libres: falta reserva, o volvieron de custodia cintas que aún no tocaba. Se mete una cinta libre o se añade una nueva al pool.
- No está en la librería: la cinta del calendario sigue en custodia o en el cajón de alguien. Se mete una libre del mismo pool y se anota el cambio.
- Cinta desconocida: tras meter cintas nuevas o devueltas, lanza Inventory para que la librería las lea. Si vienen de otro sistema, Catalog lee su contenido.
- Al resolver, relanza el trabajo y no lo dejes para el lunes: la copia de la semana es la que va a custodia.
5. La prueba de restauración mensual
Una copia que nunca se ha restaurado no es una copia. Una vez al mes:
- Elige una cinta de custodia (no la de anoche) y pídela de vuelta.
- Restaura algo concreto y comprobable: una carpeta de un departamento, una base de datos de ventas a un servidor de pruebas o una máquina virtual completa a una red aislada.
- Comprueba que se abre: el fichero se lee, la base de datos arranca, la máquina inicia.
- Apunta en el registro: cinta, qué se restauró, cuánto tardó y quién lo validó.
El tiempo de restauración es el dato que pedirá dirección cuando haya un problema real. Con LTO-9, leer varios TB lleva horas: que nadie descubra ese número en mitad de una crisis.
6. Limpieza y errores de la unidad
- La unidad pide limpieza cuando lo necesita (alerta TapeAlert o aviso en la librería). Programa la limpieza automática si la librería lo permite, con una cinta de limpieza en una ranura reservada.
- Una cinta de limpieza tiene un número limitado de usos (unos 50). Apunta cuándo se cambió.
- Si los errores de lectura o escritura se repiten con varias cintas, el problema es la unidad: limpia y, si sigue, llama al soporte del fabricante con el registro de la librería.
- Si se repiten con una sola cinta, esa cinta se retira, se destruye de forma segura y se registra.
- Las cintas se guardan verticales, en su caja, lejos del calor y de imanes. Una cinta que vuelve de custodia en pleno verano se aclimata unas horas antes de usarla.
Siguientes pasos
- La guía de Veeam Backup explica los trabajos y repositorios en disco que la cinta complementa.
- Backup y DR/BCP sitúa la cinta dentro del plan de continuidad y la regla 3-2-1.
- ISO 27001/NIS2/RGPD en IT cubre la custodia, el cifrado y la destrucción de soportes.
- Windows Server ayuda con el servidor de backup y su almacenamiento.
¿Falta algo o en tu entorno es distinto? Escríbeme y lo corrijo.
What you'll get
A copy that is off the network and out of the building, that can be read and whose content you know. In a retail company, tape usually lives at head office: the ERP server, department file shares and the copy of the sales databases that arrive each night from the stores. Tape isn't the first line of restore (disk is), it's the copy that survives ransomware or a fire. And the job is mostly routine: swap tapes, log, check.
Before you start
- An LTO library or autoloader (LTO-8 or LTO-9 are the usual today) with a barcode reader, attached to the backup server.
- The backup software with the library registered (in the examples, Veeam Backup & Replication with tape jobs).
- Enough data tapes for the rotation, plus a 20% spare, and compatible cleaning cartridges.
- One person in charge and a deputy for tape swaps: head office doesn't always have someone from IT first thing.
- An agreement with the off-site custody company (or a fire safe at another site) and its delivery log.
1. GFS rotation
GFS (grandfather, father, son) combines tapes that are reused soon with others kept for a long time:
| Set | When it's written | How long it's kept | Where it is |
|---|---|---|---|
| Daily | Monday to Thursday nights | 2 weeks | Library or office cabinet |
| Weekly | Friday night | 5 weeks | Off-site custody |
| Monthly | Last Friday of the month | 12 months | Off-site custody |
| Yearly | Financial year end | Whatever law or audit requires | Off-site custody |
- In Veeam, rotation is defined in the media pool: a standard one for dailies and a GFS one for weeklies, monthlies and yearlies, each with its retention.
- Retention is decided by the business and finance, not IT. Record who approved it.
- A WORM (write once) tape for the monthly or yearly makes sense if audit asks for it: it can't be erased even with administrator rights.
2. Labels, custody and encryption
- A barcode on every tape: six characters plus the media type, for example
HQ0012L9for an LTO-9. Never write by hand on the label. - A movement log: which tape leaves, when, who hands it over and who receives it. The custody company signs; you keep the copy.
- Tapes leaving the office are encrypted. LTO drives encrypt in hardware with AES-256; in Veeam it is turned on in the media pool options with a password.
- The encryption password goes in the team's password manager and in a sealed envelope in the safe. Without it, the tape is worthless, to you too.
In Veeam, vaults reflect where each tape outside the library is. Move the tape to the custody vault when it leaves, and you'll know what to ask back for without searching a spreadsheet.
3. The daily job check
Every morning, before 10:00, someone looks at:
- The result of last night's tape jobs: Success, Warning or Failed.
- Warnings get read too: a locked file or a machine that wasn't copied means an incomplete copy.
- That the tape used is the one the calendar said and that the size written is similar to other days. A 40 GB copy where there are always 1.2 TB is not good news.
- Which tapes go to custody today and which come back.
Get-VBRTapeJob | Select-Object Name, LastResult, LastStateName LastResult LastState---- ---------- ---------Tape-Daily-Office Success StoppedTape-Weekly-Office Failed StoppedTape-Monthly-Office Success StoppedThe same summary works as an alert: if any job isn't Success, an automatic ticket is raised before anyone arrives.
4. The ticket: "the backup job failed: tape is write-protected / not expired / not in the library"
Friday, 8:30. Last night's weekly job failed or is stuck waiting for a tape.
- Write-protected: the tape's physical tab is in the locked position. Take it out, flip the tab and put it back, after checking it isn't a tape someone protected on purpose (a monthly that should have gone to custody).
- Not expired: the tape belongs to a media set whose retention hasn't ended, so the software won't overwrite it. That's correct. The problem is there are no free tapes: not enough spares, or tapes came back from custody too early. Insert a free tape or add a new one to the pool.
- Not in the library: the calendar's tape is still in custody or in someone's drawer. Insert a free one from the same pool and log the change.
- Unknown tape: after inserting new or returned tapes, run Inventory so the library reads them. If they come from another system, Catalog reads their content.
- Once fixed, rerun the job and don't leave it until Monday: the week's copy is the one that goes to custody.
5. The monthly restore test
A copy that has never been restored isn't a copy. Once a month:
- Pick a tape from custody (not last night's) and ask for it back.
- Restore something specific and verifiable: a department folder, a sales database to a test server or a full virtual machine to an isolated network.
- Check it opens: the file reads, the database starts, the machine boots.
- Record it in the log: tape, what was restored, how long it took and who validated it.
Restore time is the figure management will ask for when there's a real problem. With LTO-9, reading several TB takes hours: don't let anyone discover that number in the middle of a crisis.
6. Cleaning and drive errors
- The drive asks for cleaning when it needs it (a TapeAlert flag or a warning on the library). Schedule automatic cleaning if the library supports it, with a cleaning cartridge in a reserved slot.
- A cleaning cartridge has a limited number of uses (around 50). Record when it was replaced.
- If read or write errors repeat across several tapes, the problem is the drive: clean it and, if it continues, call the manufacturer's support with the library log.
- If they repeat with a single tape, retire that tape, destroy it securely and log it.
- Tapes are stored upright, in their case, away from heat and magnets. A tape back from custody in mid-summer acclimatises for a few hours before use.
Next steps
- The Veeam Backup guide explains the disk jobs and repositories that tape complements.
- Backup and DR/BCP places tape within the continuity plan and the 3-2-1 rule.
- ISO 27001/NIS2/RGPD in IT covers custody, encryption and media disposal.
- Windows Server helps with the backup server and its storage.
Is something missing, or different in your environment? Get in touch and I'll fix it.
Tech Career Lab · newsletter
¿Te ha servido? Cada dos semanas envío una idea práctica para perfiles IT: LinkedIn, proyectos, networking y procesos de selección.Found this useful? Every two weeks I send one practical idea for IT professionals: LinkedIn, projects, networking and hiring processes.
Apúntate y llévate las 33 ideasSign up and get the 33 ideas →