1 |
#!/bin/perl |
2 |
|
3 |
#my %lang; |
4 |
|
5 |
#use strict; |
6 |
|
7 |
# -------------------------------- |
8 |
|
9 |
$Lang{Start_Archive} = "Comenzar archivado"; |
10 |
$Lang{Stop_Dequeue_Archive} = "Parar/anular archivado"; |
11 |
$Lang{Start_Full_Backup} = "Comenzar copia de seguridad completa"; |
12 |
$Lang{Start_Incr_Backup} = "Comenzar copia de seguridad incremental"; |
13 |
$Lang{Stop_Dequeue_Backup} = "Parar/anular copia de seguridad"; |
14 |
$Lang{Restore} = "Restaurar"; |
15 |
|
16 |
$Lang{Type_full} = "completo"; |
17 |
$Lang{Type_incr} = "incremental"; |
18 |
|
19 |
# ----- |
20 |
|
21 |
$Lang{Only_privileged_users_can_view_admin_options} = "Sólo los superusuarios pueden ver las opciones de administración."; |
22 |
$Lang{H_Admin_Options} = "Servidor BackupPC: Opciones de administración"; |
23 |
$Lang{Admin_Options} = "Opciones de administración"; |
24 |
$Lang{Admin_Options_Page} = <<EOF; |
25 |
\${h1(qq{$Lang{Admin_Options}})} |
26 |
<br> |
27 |
\${h2("Control del Servidor")} |
28 |
<form action="\$MyURL" method="get"> |
29 |
<table class="tableStnd"> |
30 |
<!--<tr><td>Para el servidor:<td><input type="submit" name="action" value="Stop">--> |
31 |
<tr><td>Actualizar configuración del servidor:<td><input type="submit" name="action" value="Reload"> |
32 |
</table> |
33 |
</form> |
34 |
<!-- |
35 |
\${h2("Server Configuration")} |
36 |
<ul> |
37 |
<li><i>Espacio para otras opciones... e.j.,</i> |
38 |
<li>Editar configuración del servidor |
39 |
</ul> |
40 |
--> |
41 |
EOF |
42 |
$Lang{Unable_to_connect_to_BackupPC_server} = "Imposible conectar al servidor BackupPC", |
43 |
"Este script CGI (\$MyURL) no puede conectar al servidor BackupPC" |
44 |
. " en \$Conf{ServerHost} puerto \$Conf{ServerPort}. El error" |
45 |
. " fué: \$err.", |
46 |
"Quizá el servidor BackupPC no está activo o hay un " |
47 |
. " error de configuración. Por favor informe a su administrador de sistemas."; |
48 |
$Lang{Admin_Start_Server} = <<EOF; |
49 |
\${h1(qq{$Lang{Unable_to_connect_to_BackupPC_server}})} |
50 |
<form action="\$MyURL" method="get"> |
51 |
El servidor BackupPC en <tt>\$Conf{ServerHost}</tt> port <tt>\$Conf{ServerPort}</tt> |
52 |
no está en funcionamiento ahora (puede haberlo detenido o no haberlo arrancado aún).<br> |
53 |
¿Quiere inicializarlo? |
54 |
<input type="hidden" name="action" value="startServer"> |
55 |
<input type="submit" value="Start Server" name="ignore"> |
56 |
</form> |
57 |
EOF |
58 |
|
59 |
# ----- |
60 |
|
61 |
$Lang{H_BackupPC_Server_Status} = "Estado del Servidor BackupPC"; |
62 |
|
63 |
$Lang{BackupPC_Server_Status_General_Info}= <<EOF; |
64 |
\${h2(\"Información General del servidor\")} |
65 |
|
66 |
<ul> |
67 |
<li> El PID del servidor es \$Info{pid}, en el host \$Conf{ServerHost}, |
68 |
version \$Info{Version}, iniciado el \$serverStartTime. |
69 |
<li> Esta información de estado se ha generado el \$now. |
70 |
<li> La última configuración ha sido cargada a las \$configLoadTime |
71 |
<li> La cola de PC´s se activará de nuevo el \$nextWakeupTime. |
72 |
<li> Información adicional: |
73 |
<ul> |
74 |
<li>\$numBgQueue solicitudes pendientes de copia de seguridad desde la última activación programada, |
75 |
<li>\$numUserQueue solicitudes pendientes de copia de seguridad de usuarios, |
76 |
<li>\$numCmdQueue solicitudes de comandos pendientes , |
77 |
\$poolInfo |
78 |
<li>El sistema de archivos estaba recientemente al \$Info{DUlastValue}% |
79 |
(\$DUlastTime), el máximo de hoy es \$Info{DUDailyMax}% (\$DUmaxTime) |
80 |
y el máximo de ayer era \$Info{DUDailyMaxPrev}%. |
81 |
</ul> |
82 |
</ul> |
83 |
EOF |
84 |
|
85 |
$Lang{BackupPC_Server_Status} = <<EOF; |
86 |
\${h1(qq{$Lang{H_BackupPC_Server_Status}})} |
87 |
|
88 |
<p> |
89 |
\$generalInfo |
90 |
|
91 |
\${h2("Trabajos en Ejecución")} |
92 |
<p> |
93 |
<table class="tableStnd" border cellspacing="1" cellpadding="3"> |
94 |
<tr class="tableheader"><td> Host </td> |
95 |
<td> Tipo </td> |
96 |
<td> Usuario </td> |
97 |
<td> Hora de Inicio </td> |
98 |
<td> Comando </td> |
99 |
<td align="center"> PID </td> |
100 |
<td align="center"> Transfer. PID </td> |
101 |
</tr> |
102 |
\$jobStr |
103 |
</table> |
104 |
<p> |
105 |
|
106 |
\${h2("Fallos que Precisan Atención")} |
107 |
<p> |
108 |
<table class="tableStnd" border cellspacing="1" cellpadding="3"> |
109 |
<tr class="tableheader"><td align="center"> Host </td> |
110 |
<td align="center"> Tipo </td> |
111 |
<td align="center"> Usuario </td> |
112 |
<td align="center"> Ultimo Intento </td> |
113 |
<td align="center"> Detalles </td> |
114 |
<td align="center"> Hora del error </td> |
115 |
<td> Ultimo error (ping no incluido) </td></tr> |
116 |
\$statusStr |
117 |
</table> |
118 |
EOF |
119 |
|
120 |
# -------------------------------- |
121 |
$Lang{BackupPC__Server_Summary} = "BackupPC: Resumen del Servidor"; |
122 |
$Lang{BackupPC__Archive} = "BackupPC: Archivo"; |
123 |
$Lang{BackupPC_Summary}=<<EOF; |
124 |
|
125 |
\${h1(qq{$Lang{BackupPC__Server_Summary}})} |
126 |
<p> |
127 |
Este status ha sido generado el \$now. |
128 |
</p> |
129 |
|
130 |
\${h2("Hosts con Buenas Copias de Seguridad")} |
131 |
<p> |
132 |
Il y a \$hostCntGood hosts tienen copia de seguridad, de un total de : |
133 |
<ul> |
134 |
<li> \$fullTot copias de seguridad completas con tamaño total de \${fullSizeTot} GB |
135 |
(antes de agrupar y comprimir), |
136 |
<li> \$incrTot copias de seguridad incrementales con tamaño total de \${incrSizeTot} GB |
137 |
(antes de agrupar y comprimir). |
138 |
</ul> |
139 |
</p> |
140 |
<table class="tableStnd" border cellpadding="3" cellspacing="1"> |
141 |
<tr class="tableheader"><td> Host </td> |
142 |
<td align="center"> Usuario </td> |
143 |
<td align="center"> #Completo </td> |
144 |
<td align="center"> Completo Antig./Días </td> |
145 |
<td align="center"> Completo Tamaño/GB </td> |
146 |
<td align="center"> Velocidad MB/sec </td> |
147 |
<td align="center"> #Incrementales </td> |
148 |
<td align="center"> Incrementales Antig/Días </td> |
149 |
<td align="center"> Estado </td> |
150 |
<td align="center"> Ultimo Intento </td></tr> |
151 |
\$strGood |
152 |
</table> |
153 |
<br><br> |
154 |
\${h2("Hosts Sin Copias de Seguridad")} |
155 |
<p> |
156 |
Hay \$hostCntNone hosts sin copias de seguridad. |
157 |
<p> |
158 |
<table class="tableStnd" border cellpadding="3" cellspacing="1"> |
159 |
<tr class="tableheader"><td> Host </td> |
160 |
<td align="center"> Usuario </td> |
161 |
<td align="center"> #Completo </td> |
162 |
<td align="center"> Completo Antig./Días </td> |
163 |
<td align="center"> Completo Tamaño/GB </td> |
164 |
<td align="center"> Velocidad MB/sec </td> |
165 |
<td align="center"> #Incrementales </td> |
166 |
<td align="center"> Incrementales Antig/Días </td> |
167 |
<td align="center"> Estado </td> |
168 |
<td align="center"> Ultimo Intento </td></tr> |
169 |
\$strNone |
170 |
</table> |
171 |
EOF |
172 |
|
173 |
$Lang{BackupPC_Archive} = <<EOF; |
174 |
\${h1(qq{$Lang{BackupPC__Archive}})} |
175 |
<script language="javascript" type="text/javascript"> |
176 |
<!-- |
177 |
|
178 |
function checkAll(location) |
179 |
{ |
180 |
for (var i=0;i<document.form1.elements.length;i++) |
181 |
{ |
182 |
var e = document.form1.elements[i]; |
183 |
if ((e.checked || !e.checked) && e.name != \'all\') { |
184 |
if (eval("document.form1."+location+".checked")) { |
185 |
e.checked = true; |
186 |
} else { |
187 |
e.checked = false; |
188 |
} |
189 |
} |
190 |
} |
191 |
} |
192 |
|
193 |
function toggleThis(checkbox) |
194 |
{ |
195 |
var cb = eval("document.form1."+checkbox); |
196 |
cb.checked = !cb.checked; |
197 |
} |
198 |
|
199 |
//--> |
200 |
</script> |
201 |
|
202 |
Hay \$hostCntGood hosts que tienen copia de seguridad con un tamaño total de \${fullSizeTot}GB |
203 |
<p> |
204 |
<form name="form1" method="post" action="\$MyURL"> |
205 |
<input type="hidden" name="fcbMax" value="\$checkBoxCnt"> |
206 |
<input type="hidden" name="type" value="1"> |
207 |
<input type="hidden" name="host" value="\${EscHTML(\$archHost)}"> |
208 |
<input type="hidden" name="action" value="Archive"> |
209 |
<table class="tableStnd" border cellpadding="3" cellspacing="1"> |
210 |
<tr class="tableheader"><td align=center> Host</td> |
211 |
<td align="center"> User </td> |
212 |
<td align="center"> Backup Size </td> |
213 |
\$strGood |
214 |
\$checkAllHosts |
215 |
</table> |
216 |
</form> |
217 |
<p> |
218 |
|
219 |
EOF |
220 |
|
221 |
$Lang{BackupPC_Archive2} = <<EOF; |
222 |
\${h1(qq{$Lang{BackupPC__Archive}})} |
223 |
Se va a hacer copia de seguridad de los siguientes hosts |
224 |
<ul> |
225 |
\$HostListStr |
226 |
</ul> |
227 |
<form action="\$MyURL" method="post"> |
228 |
\$hiddenStr |
229 |
<input type="hidden" name="action" value="Archive"> |
230 |
<input type="hidden" name="host" value="\${EscHTML(\$archHost)}"> |
231 |
<input type="hidden" name="type" value="2"> |
232 |
<input type="hidden" value="0" name="archive_type"> |
233 |
<table class="tableStnd" border cellspacing="1" cellpadding="3"> |
234 |
\$paramStr |
235 |
<tr> |
236 |
<td colspan=2><input type="submit" value="Start the Archive" name=""></td> |
237 |
</tr> |
238 |
</form> |
239 |
</table> |
240 |
EOF |
241 |
|
242 |
$Lang{BackupPC_Archive2_location} = <<EOF; |
243 |
<tr> |
244 |
<td>Ubicación de archivo/Dispositivo</td> |
245 |
<td><input type="text" value="\$ArchiveDest" name="archive_device"></td> |
246 |
</tr> |
247 |
EOF |
248 |
|
249 |
$Lang{BackupPC_Archive2_compression} = <<EOF; |
250 |
<tr> |
251 |
<td>Compression</td> |
252 |
<td> |
253 |
<input type="radio" value="0" name="compression" \$ArchiveCompNone>None<br> |
254 |
<input type="radio" value="1" name="compression" \$ArchiveCompGzip>gzip<br> |
255 |
<input type="radio" value="2" name="compression" \$ArchiveCompBzip2>bzip2 |
256 |
</td> |
257 |
</tr> |
258 |
EOF |
259 |
|
260 |
$Lang{BackupPC_Archive2_parity} = <<EOF; |
261 |
<tr> |
262 |
<td>Porcentaje de datos de paridad (0 = deshabilitado, 5 = normal)</td> |
263 |
<td><input type="numeric" value="\$ArchivePar" name="par"></td> |
264 |
</tr> |
265 |
EOF |
266 |
|
267 |
$Lang{BackupPC_Archive2_split} = <<EOF; |
268 |
<tr> |
269 |
<td>Dividir resultado en</td> |
270 |
<td><input type="numeric" value="\$ArchiveSplit" name="splitsize">Megabytes</td> |
271 |
</tr> |
272 |
EOF |
273 |
|
274 |
# ----------------------------------- |
275 |
$Lang{Pool_Stat} = <<EOF; |
276 |
<li>El grupo tiene \${poolSize}GB incluyendo \$info->{"\${name}FileCnt"} archivos |
277 |
y \$info->{"\${name}DirCnt"} directorios (as of \$poolTime), |
278 |
<li>El procesamiento del grupo da \$info->{"\${name}FileCntRep"} archivos |
279 |
repetidos cuya cadena más larga es \$info->{"\${name}FileRepMax"}, |
280 |
<li>El proceso de limpieza nocturna ha eliminado \$info->{"\${name}FileCntRm"} archivos de |
281 |
tamaño \${poolRmSize}GB (around \$poolTime), |
282 |
EOF |
283 |
|
284 |
# -------------------------------- |
285 |
$Lang{BackupPC__Backup_Requested_on__host} = "BackupPC: Copia de Seguridad Solicitada en \$host"; |
286 |
# -------------------------------- |
287 |
$Lang{REPLY_FROM_SERVER} = <<EOF; |
288 |
\${h1(\$str)} |
289 |
<p> |
290 |
La respuesta del servidor fué: \$reply |
291 |
<p> |
292 |
Volver a <a href="\$MyURL?host=\$host">\$host home page</a>. |
293 |
EOF |
294 |
# -------------------------------- |
295 |
$Lang{BackupPC__Start_Backup_Confirm_on__host} = "BackupPC: Confirme inicio de copia de seguridad en \$host"; |
296 |
# -------------------------------- |
297 |
$Lang{Are_you_sure_start} = <<EOF; |
298 |
\${h1("¿Está seguro?")} |
299 |
<p> |
300 |
Va a hacer comenzar una copia de seguridad \$type en \$host. |
301 |
|
302 |
<form action="\$MyURL" method="get"> |
303 |
<input type="hidden" name="host" value="\$host"> |
304 |
<input type="hidden" name="hostIP" value="\$ipAddr"> |
305 |
<input type="hidden" name="doit" value="1"> |
306 |
¿Realmente quiere hacer esto? |
307 |
<input type="submit" value="\$In{action}" name="action"> |
308 |
<input type="submit" value="No" name=""> |
309 |
</form> |
310 |
EOF |
311 |
# -------------------------------- |
312 |
$Lang{BackupPC__Stop_Backup_Confirm_on__host} = "BackupPC: Confirmación de Parada de Copia de Seguridad en \$host"; |
313 |
# -------------------------------- |
314 |
$Lang{Are_you_sure_stop} = <<EOF; |
315 |
|
316 |
\${h1("¿Está seguro?")} |
317 |
|
318 |
<p> |
319 |
Está a punto de parar/quitar de la cola las copias de seguridad en \$host; |
320 |
|
321 |
<form action="\$MyURL" method="get"> |
322 |
<input type="hidden" name="host" value="\$host"> |
323 |
<input type="hidden" name="doit" value="1"> |
324 |
Asimismo, por favor no empiece otra copia de seguridad durante |
325 |
<input type="text" name="backoff" size="10" value="\$backoff"> horas. |
326 |
<p> |
327 |
¿Realmente quiere hacer esto? |
328 |
<input type="submit" value="\$In{action}" name="action"> |
329 |
<input type="submit" value="No" name=""> |
330 |
</form> |
331 |
|
332 |
EOF |
333 |
# -------------------------------- |
334 |
$Lang{Only_privileged_users_can_view_queues_} = "Sólo los administradores pueden ver las colas."; |
335 |
# -------------------------------- |
336 |
$Lang{Only_privileged_users_can_archive} = "Sólo los administradores pueden archivar."; |
337 |
# -------------------------------- |
338 |
$Lang{BackupPC__Queue_Summary} = "BackupPC: Resumen de la Cola"; |
339 |
# -------------------------------- |
340 |
$Lang{Backup_Queue_Summary} = <<EOF; |
341 |
\${h1("Resumen de la Cola de Copias de Seguridad")} |
342 |
<br><br> |
343 |
\${h2("Resumen de la Cola de Usuarios")} |
344 |
<p> |
345 |
Las siguientes solicitudes de usuarios están actualmente en cola: |
346 |
</p> |
347 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
348 |
<tr class="tableheader"><td> Host </td> |
349 |
<td> Hora Sol. </td> |
350 |
<td> Usuario </td></tr> |
351 |
\$strUser |
352 |
</table> |
353 |
<br><br> |
354 |
|
355 |
\${h2("Resumen de Cola en Segundo Plano")} |
356 |
<p> |
357 |
Las siguientes solicitudes en segundo plano están actualmente en cola: |
358 |
</p> |
359 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
360 |
<tr class="tableheader"><td> Host </td> |
361 |
<td> Hora Sol. </td> |
362 |
<td> Usuario </td></tr> |
363 |
\$strBg |
364 |
</table> |
365 |
<br><br> |
366 |
\${h2("Resumen de Cola de Comandos")} |
367 |
<p> |
368 |
Los siguientes comandos están actualmente en cola: |
369 |
</p> |
370 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
371 |
<tr class="tableheader"><td> Host </td> |
372 |
<td> Hora Sol. </td> |
373 |
<td> Usuario </td> |
374 |
<td> Comando </td></tr> |
375 |
\$strCmd |
376 |
</table> |
377 |
EOF |
378 |
|
379 |
# -------------------------------- |
380 |
$Lang{Backup_PC__Log_File__file} = "BackupPC: Archivo de Registro \$file"; |
381 |
$Lang{Log_File__file__comment} = <<EOF; |
382 |
\${h1("Log File \$file \$comment")} |
383 |
<p> |
384 |
EOF |
385 |
# -------------------------------- |
386 |
$Lang{Contents_of_log_file} = <<EOF; |
387 |
Contenido del archivo de registro <tt>\$file</tt>, modificado \$mtimeStr \$comment |
388 |
EOF |
389 |
|
390 |
# -------------------------------- |
391 |
$Lang{skipped__skipped_lines} = "[ saltadas \$skipped lineas ]\n"; |
392 |
# -------------------------------- |
393 |
$Lang{_pre___Can_t_open_log_file__file} = "<pre>\nNo puedo abrir el archivo de registro \$file\n"; |
394 |
|
395 |
# -------------------------------- |
396 |
$Lang{BackupPC__Log_File_History} = "BackupPC: Historial de Archivo de Registro"; |
397 |
$Lang{Log_File_History__hdr} = <<EOF; |
398 |
\${h1("Historial de Archivo de Registro \$hdr")} |
399 |
<p> |
400 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
401 |
<tr class="tableheader"><td align="center"> File </td> |
402 |
<td align="center"> Size </td> |
403 |
<td align="center"> Hora Modificación </td></tr> |
404 |
\$str |
405 |
</table> |
406 |
EOF |
407 |
|
408 |
# ------------------------------- |
409 |
$Lang{Recent_Email_Summary} = <<EOF; |
410 |
\${h1("Resumen de Mensajes Recientes (Orden de tiempo inverso)")} |
411 |
<p> |
412 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
413 |
<tr class="tableheader"><td align="center"> Destinatario </td> |
414 |
<td align="center"> Host </td> |
415 |
<td align="center"> Hora </td> |
416 |
<td align="center"> Asunto </td></tr> |
417 |
\$str |
418 |
</table> |
419 |
EOF |
420 |
|
421 |
|
422 |
# ------------------------------ |
423 |
$Lang{Browse_backup__num_for__host} = "BackupPC: Hojear copia de seguridad \$num de \$host"; |
424 |
|
425 |
# ------------------------------ |
426 |
$Lang{Restore_Options_for__host} = "BackupPC: Opciones de restauración para \$host"; |
427 |
$Lang{Restore_Options_for__host2} = <<EOF; |
428 |
\${h1("Opciones de restauración para \$host")} |
429 |
<p> |
430 |
Ha seleccionado los siguientes archivos/directorios de |
431 |
la unidad \$share, copia número #\$num: |
432 |
<ul> |
433 |
\$fileListStr |
434 |
</ul> |
435 |
</p><p> |
436 |
Tiene tres opciones para restaurar estos archivos/directorios. |
437 |
Por favor, seleccione una de las siguientes opciones. |
438 |
</p> |
439 |
\${h2("Opción 1: Restauración Directa")} |
440 |
<p> |
441 |
EOF |
442 |
|
443 |
$Lang{Restore_Options_for__host_Option1} = <<EOF; |
444 |
Puede empezar un proceso que restaurará estos archivos directamente en |
445 |
\$host. |
446 |
</p><p> |
447 |
<b>¡Atención!:</b> ¡Cualquier archivo existente con el mismo nombre que los que ha |
448 |
seleccionado será sobreescrito! |
449 |
</p> |
450 |
<form action="\$MyURL" method="post" name="direct"> |
451 |
<input type="hidden" name="host" value="\${EscHTML(\$host)}"> |
452 |
<input type="hidden" name="num" value="\$num"> |
453 |
<input type="hidden" name="type" value="3"> |
454 |
\$hiddenStr |
455 |
<input type="hidden" value="\$In{action}" name="action"> |
456 |
<table border="0"> |
457 |
<tr> |
458 |
<td>Restaurar los archivos al host</td> |
459 |
<td><!--<input type="text" size="40" value="\${EscHTML(\$host)}" |
460 |
name="hostDest">--> |
461 |
<select name="hostDest" onChange="document.direct.shareDest.value=''"> |
462 |
\$hostDestSel |
463 |
</select> |
464 |
<script language="Javascript"> |
465 |
function myOpen(URL) { |
466 |
window.open(URL,'','width=500,height=400'); |
467 |
} |
468 |
</script> |
469 |
<!--<a href="javascript:myOpen('\$MyURL?action=findShares&host='+document.direct.hostDest.options.value)">Search for available shares (NOT IMPLEMENTED)</a>--></td> |
470 |
</tr><tr> |
471 |
<td>Restaurar los archivos a la unidad</td> |
472 |
<td><input type="text" size="40" value="\${EscHTML(\$share)}" |
473 |
name="shareDest"></td> |
474 |
</tr><tr> |
475 |
<td>Restaurar los archivos bajo el directorio<br>(relativo a la unidad)</td> |
476 |
<td valign="top"><input type="text" size="40" maxlength="256" |
477 |
value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td> |
478 |
</tr><tr> |
479 |
<td><input type="submit" value="Start Restore" name=""></td> |
480 |
</table> |
481 |
</form> |
482 |
EOF |
483 |
|
484 |
$Lang{Restore_Options_for__host_Option1_disabled} = <<EOF; |
485 |
Se ha deshabilitado la restauración directa para el host \${EscHTML(\$hostDest)}. |
486 |
Por favor seleccione una de las otras opciones de restauración. |
487 |
EOF |
488 |
|
489 |
# ------------------------------ |
490 |
$Lang{Option_2__Download_Zip_archive} = <<EOF; |
491 |
<p> |
492 |
\${h2("Opción 2: Descargar archivo Zip")} |
493 |
<p> |
494 |
Puede descargar un archivo comprimido (.zip) conteniendo todos los archivos y directorios que |
495 |
ha seleccionado. Después puede hacer uso de una aplicación local, como WinZip, |
496 |
para ver o extraer cualquiera de los archivos. |
497 |
</p><p> |
498 |
<b>¡Atención!:</b> Dependiendo de que archivos/carpetas haya seleccionado, |
499 |
este archivo puede ser muy grande. Podría tardar muchos minutos en |
500 |
crear y transferir el archivo. Además necesitará suficiente espacio el el disco |
501 |
local para almacenarlo. |
502 |
</p> |
503 |
<form action="\$MyURL" method="post"> |
504 |
<input type="hidden" name="host" value="\${EscHTML(\$host)}"> |
505 |
<input type="hidden" name="num" value="\$num"> |
506 |
<input type="hidden" name="type" value="2"> |
507 |
\$hiddenStr |
508 |
<input type="hidden" value="\$In{action}" name="action"> |
509 |
<input type="checkbox" value="1" name="relative" checked> Hacer archivo relativo |
510 |
a \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} |
511 |
(en caso contrario el archivo contendrá las rutas completas). |
512 |
<br> |
513 |
Compresión (0=desactivada, 1=rápida,...,9=máxima) |
514 |
<input type="text" size="6" value="5" name="compressLevel"> |
515 |
<br> |
516 |
<input type="submit" value="Download Zip File" name=""> |
517 |
</form> |
518 |
EOF |
519 |
|
520 |
# ------------------------------ |
521 |
|
522 |
$Lang{Option_2__Download_Zip_archive2} = <<EOF; |
523 |
<p> |
524 |
\${h2("Opción 2: Descargar archivo Zip")} |
525 |
<p> |
526 |
El programa Archive::Zip no está instalado, de modo que no podrá descargar un |
527 |
archivo comprimido zip. |
528 |
Por favor, solicite a su administrador de sistemas que instale Archive::Zip de |
529 |
<a href="http://www.cpan.org">www.cpan.org</a>. |
530 |
</p> |
531 |
EOF |
532 |
|
533 |
|
534 |
# ------------------------------ |
535 |
$Lang{Option_3__Download_Zip_archive} = <<EOF; |
536 |
\${h2("Opción 3: Descargar archivo Tar")} |
537 |
<p> |
538 |
Puede descargar un archivo comprimido (.Tar) conteniendo todos los archivos y |
539 |
directorios que ha seleccionado. Después puede hacer uso de una aplicación |
540 |
local, como Tar o WinZip,para ver o extraer cualquiera de los archivos. |
541 |
</p><p> |
542 |
<b>¡Atención!:</b> Dependiendo de que archivos/carpetas haya seleccionado, |
543 |
este archivo puede ser muy grande. Podría tardar muchos minutos |
544 |
crear y transferir el archivo. Además necesitará suficiente espacio el el disco |
545 |
local para almacenarlo. |
546 |
</p> |
547 |
<form action="\$MyURL" method="post"> |
548 |
<input type="hidden" name="host" value="\${EscHTML(\$host)}"> |
549 |
<input type="hidden" name="num" value="\$num"> |
550 |
<input type="hidden" name="type" value="1"> |
551 |
\$hiddenStr |
552 |
<input type="hidden" value="\$In{action}" name="action"> |
553 |
<input type="checkbox" value="1" name="relative" checked> Hacer el archivo |
554 |
relativo a \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} |
555 |
(en caso contrario el archivo contendrá las rutas completas). |
556 |
<br> |
557 |
<input type="submit" value="Download Tar File" name=""> |
558 |
</form> |
559 |
EOF |
560 |
|
561 |
|
562 |
# ------------------------------ |
563 |
$Lang{Restore_Confirm_on__host} = "BackupPC: Confirme restauración en \$host"; |
564 |
|
565 |
$Lang{Are_you_sure} = <<EOF; |
566 |
\${h1("¿Está seguro?")} |
567 |
<p> |
568 |
Está a punto de comenzar una restauración directamente a la máquina \$In{hostDest}. |
569 |
Los siguientes archivos serán restaurados en la unidad \$In{shareDest}, de |
570 |
la copia de seguridad número \$num: |
571 |
<p> |
572 |
<table border> |
573 |
<tr><td>Archivo/Dir Original </td><td>Será restaurado a</td></tr> |
574 |
\$fileListStr |
575 |
</table> |
576 |
|
577 |
<form action="\$MyURL" method="post"> |
578 |
<input type="hidden" name="host" value="\${EscHTML(\$host)}"> |
579 |
<input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}"> |
580 |
<input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}"> |
581 |
<input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}"> |
582 |
<input type="hidden" name="num" value="\$num"> |
583 |
<input type="hidden" name="type" value="4"> |
584 |
\$hiddenStr |
585 |
¿Realmente quiere hacer esto? |
586 |
<input type="submit" value="\$In{action}" name="action"> |
587 |
<input type="submit" value="No" name=""> |
588 |
</form> |
589 |
EOF |
590 |
|
591 |
|
592 |
# -------------------------- |
593 |
$Lang{Restore_Requested_on__hostDest} = "BackupPC: Restauración solicitada en \$hostDest"; |
594 |
$Lang{Reply_from_server_was___reply} = <<EOF; |
595 |
\${h1(\$str)} |
596 |
<p> |
597 |
La respuesta del servidor fué: \$reply |
598 |
<p> |
599 |
volver a <a href="\$MyURL?host=\$hostDest">\$hostDest home page</a>. |
600 |
EOF |
601 |
|
602 |
$Lang{BackupPC_Archive_Reply_from_server} = <<EOF; |
603 |
\${h1(\$str)} |
604 |
<p> |
605 |
La respuesta del servidor fué: \$reply |
606 |
EOF |
607 |
|
608 |
# ------------------------- |
609 |
$Lang{Host__host_Backup_Summary} = "BackupPC: Host \$host Resumen de Copia de Seguridad"; |
610 |
|
611 |
$Lang{Host__host_Backup_Summary2} = <<EOF; |
612 |
\${h1("Host \$host Backup Summary")} |
613 |
<p> |
614 |
\$warnStr |
615 |
<ul> |
616 |
\$statusStr |
617 |
</ul> |
618 |
</p> |
619 |
\${h2("Acciones del Usuario")} |
620 |
<p> |
621 |
<form action="\$MyURL" method="get"> |
622 |
<input type="hidden" name="host" value="\$host"> |
623 |
\$startIncrStr |
624 |
<input type="submit" value="$Lang{Start_Full_Backup}" name="action"> |
625 |
<input type="submit" value="$Lang{Stop_Dequeue_Backup}" name="action"> |
626 |
</form> |
627 |
</p> |
628 |
\${h2("Resumen de Copia de Seguridad")} |
629 |
<p> |
630 |
Haga click en el número de copia de seguridad para revisar y restaurar archivos. |
631 |
</p> |
632 |
<table class="tableStnd" border cellspacing="1" cellpadding="3"> |
633 |
<tr class="tableheader"><td align="center"> Copia Nº </td> |
634 |
<td align="center"> Tipo </td> |
635 |
<td align="center"> Completo </td> |
636 |
<td align="center"> Fecha Inicio </td> |
637 |
<td align="center"> Duracion/mn </td> |
638 |
<td align="center"> Antigüedad/dias </td> |
639 |
<td align="center"> Ruta a la Copia en el Servidor </td> |
640 |
</tr> |
641 |
\$str |
642 |
</table> |
643 |
<p> |
644 |
|
645 |
\$restoreStr |
646 |
</p> |
647 |
<br><br> |
648 |
\${h2("Resumen de Errores de Transferencia")} |
649 |
<br><br> |
650 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
651 |
<tr class="tableheader"><td align="center"> Copia Nº </td> |
652 |
<td align="center"> Tipo </td> |
653 |
<td align="center"> Ver </td> |
654 |
<td align="center"> Nº Xfer errs </td> |
655 |
<td align="center"> Nº err. archivos </td> |
656 |
<td align="center"> Nº err. unidades </td> |
657 |
<td align="center"> Nº err. tar </td> |
658 |
</tr> |
659 |
\$errStr |
660 |
</table> |
661 |
<br><br> |
662 |
|
663 |
\${h2("Resumen de Total/Tamaño de Archivos Reutilizados")} |
664 |
<p> |
665 |
Los archivos existentes son aquellos que ya están en el lote; los nuevos son |
666 |
aquellos que se han añadido al lote. |
667 |
Los archivos vacíos y los errores SMB no cuentan en las cifras de reutilizados |
668 |
ni en la de nuevos. |
669 |
</p> |
670 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
671 |
<tr class="tableheader"><td colspan="2" bgcolor="#ffffff"></td> |
672 |
<td align="center" colspan="3"> Totales </td> |
673 |
<td align="center" colspan="2"> Archivos Existentes </td> |
674 |
<td align="center" colspan="2"> Archivos Nuevos </td> |
675 |
</tr> |
676 |
<tr class="tableheader"> |
677 |
<td align="center"> Copia Nº </td> |
678 |
<td align="center"> Tipo </td> |
679 |
<td align="center"> Nº Archivos </td> |
680 |
<td align="center"> Tamaño/MB </td> |
681 |
<td align="center"> MB/sg </td> |
682 |
<td align="center"> Nº Archivos </td> |
683 |
<td align="center"> Tamaño/MB </td> |
684 |
<td align="center"> Nº Archivos </td> |
685 |
<td align="center"> Tamaño/MB </td> |
686 |
</tr> |
687 |
\$sizeStr |
688 |
</table> |
689 |
<br><br> |
690 |
|
691 |
\${h2("Resumen de Compresión")} |
692 |
<p> |
693 |
Efectividad de compresión para los archivos ya existentes en el lote y los |
694 |
archivos nuevos comprimidos. |
695 |
</p> |
696 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
697 |
<tr class="tableheader"><td colspan="3" bgcolor="#ffffff"></td> |
698 |
<td align="center" colspan="3"> Archivos Existentes </td> |
699 |
<td align="center" colspan="3"> Archivos Nuevos </td> |
700 |
</tr> |
701 |
<tr class="tableheader"><td align="center"> Copia Nº </td> |
702 |
<td align="center"> Tipo </td> |
703 |
<td align="center"> Nivel Comp </td> |
704 |
<td align="center"> Tamaño/MB </td> |
705 |
<td align="center"> Comp/MB </td> |
706 |
<td align="center"> Comp </td> |
707 |
<td align="center"> Tamaño/MB </td> |
708 |
<td align="center"> Comp/MB </td> |
709 |
<td align="center"> Comp </td> |
710 |
</tr> |
711 |
\$compStr |
712 |
</table> |
713 |
<br><br> |
714 |
EOF |
715 |
|
716 |
$Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary"; |
717 |
$Lang{Host__host_Archive_Summary2} = <<EOF; |
718 |
\${h1("Resumen de archivo del Host \$host")} |
719 |
<p> |
720 |
\$warnStr |
721 |
<ul> |
722 |
\$statusStr |
723 |
</ul> |
724 |
|
725 |
\${h2("Acciones de usuario")} |
726 |
<p> |
727 |
<form action="\$MyURL" method="get"> |
728 |
<input type="hidden" name="archivehost" value="\$host"> |
729 |
<input type="hidden" name="host" value="\$host"> |
730 |
<input type="submit" value="$Lang{Start_Archive}" name="action"> |
731 |
<input type="submit" value="$Lang{Stop_Dequeue_Archive}" name="action"> |
732 |
</form> |
733 |
|
734 |
\$ArchiveStr |
735 |
|
736 |
EOF |
737 |
|
738 |
# ------------------------- |
739 |
$Lang{Error} = "BackupPC: Error"; |
740 |
$Lang{Error____head} = <<EOF; |
741 |
\${h1("Error: \$head")} |
742 |
<p>\$mesg</p> |
743 |
EOF |
744 |
|
745 |
# ------------------------- |
746 |
$Lang{NavSectionTitle_} = "Servidor"; |
747 |
|
748 |
# ------------------------- |
749 |
$Lang{Backup_browse_for__host} = <<EOF; |
750 |
\${h1("Revisar Copia de seguridad de \$host")} |
751 |
|
752 |
<script language="javascript" type="text/javascript"> |
753 |
<!-- |
754 |
|
755 |
function checkAll(location) |
756 |
{ |
757 |
for (var i=0;i<document.form1.elements.length;i++) |
758 |
{ |
759 |
var e = document.form1.elements[i]; |
760 |
if ((e.checked || !e.checked) && e.name != \'all\') { |
761 |
if (eval("document.form1."+location+".checked")) { |
762 |
e.checked = true; |
763 |
} else { |
764 |
e.checked = false; |
765 |
} |
766 |
} |
767 |
} |
768 |
} |
769 |
|
770 |
function toggleThis(checkbox) |
771 |
{ |
772 |
var cb = eval("document.form1."+checkbox); |
773 |
cb.checked = !cb.checked; |
774 |
} |
775 |
|
776 |
//--> |
777 |
</script> |
778 |
|
779 |
<form name="form0" method="post" action="\$MyURL"> |
780 |
<input type="hidden" name="num" value="\$num"> |
781 |
<input type="hidden" name="host" value="\$host"> |
782 |
<input type="hidden" name="share" value="\${EscHTML(\$share)}"> |
783 |
<input type="hidden" name="action" value="browse"> |
784 |
<ul> |
785 |
<li> Está revisando la copia de seguridad Nº\$num, que comenzó hacia las \$backupTime |
786 |
(hace \$backupAge dias), |
787 |
\$filledBackup |
788 |
<li> Introduzca el directorio: <input type="text" name="dir" size="50" maxlength="4096" value="\${EscHTML(\$dir)}"> <input type="submit" value="\$Lang->{Go}" name="Submit"> |
789 |
<li> Haga click en uno de los directorios de abajo para revisar sus contenidos, |
790 |
<li> Haga click en un archivo para restaurarlo, |
791 |
<li> Puede ver la copia de seguridad <a href="\$MyURL?action=dirHistory&host=\${EscURI(\$host)}&share=\$shareURI&dir=\$pathURI">history</a> del directorio actual. |
792 |
</ul> |
793 |
</form> |
794 |
|
795 |
\${h2("Contenido de \${EscHTML(\$dirDisplay)}")} |
796 |
<form name="form1" method="post" action="\$MyURL"> |
797 |
<input type="hidden" name="num" value="\$num"> |
798 |
<input type="hidden" name="host" value="\$host"> |
799 |
<input type="hidden" name="share" value="\${EscHTML(\$share)}"> |
800 |
<input type="hidden" name="fcbMax" value="\$checkBoxCnt"> |
801 |
<input type="hidden" name="action" value="$Lang{Restore}"> |
802 |
<br> |
803 |
<table width="100%"> |
804 |
<tr><td valign="top"> |
805 |
<br><table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"> |
806 |
\$dirStr |
807 |
</table> |
808 |
</td><td width="3%"> |
809 |
</td><td valign="top"> |
810 |
<br> |
811 |
<table border="0" width="100%" align="left" cellpadding="3" cellspacing="1"> |
812 |
\$fileHeader |
813 |
\$topCheckAll |
814 |
\$fileStr |
815 |
\$checkAll |
816 |
</table> |
817 |
</td></tr></table> |
818 |
<br> |
819 |
<!-- |
820 |
This is now in the checkAll row |
821 |
<input type="submit" name="Submit" value="Restore selected files"> |
822 |
--> |
823 |
</form> |
824 |
EOF |
825 |
|
826 |
# ------------------------------ |
827 |
$Lang{DirHistory_backup_for__host} = "BackupPC: Histórico de copia de seguridad del directorio en \$host"; |
828 |
|
829 |
# |
830 |
# These two strings are used to build the links for directories and |
831 |
# file versions. Files are appended with a version number. |
832 |
# |
833 |
$Lang{DirHistory_dirLink} = "dir"; |
834 |
$Lang{DirHistory_fileLink} = "v"; |
835 |
|
836 |
$Lang{DirHistory_for__host} = <<EOF; |
837 |
\${h1("Histórico de copia de seguridad del directorio en \$host")} |
838 |
<p> |
839 |
Esta pantalla muestra cada versión única de archivos de entre todas |
840 |
las copias de seguridad: |
841 |
<ul> |
842 |
<li> Haga click en un número de copia de seguridad para volver al explorador de copias de seguridad, |
843 |
<li> Haga click en un vínculo de directorio (\$Lang->{DirHistory_dirLink}) para navegar |
844 |
en ese directorio, |
845 |
<li> Haga click en un vínculo de versión de archivo (\$Lang->{DirHistory_fileLink}0, |
846 |
\$Lang->{DirHistory_fileLink}1, ...) para descargar ese archivo, |
847 |
<li> Los archivos con diferentes contenidos entre distintas copias de seguridad tienen el mismo |
848 |
número de versión, |
849 |
<li> Los archivos o directorios que no existen en una copia concreta tienen una |
850 |
celda vacía. |
851 |
<li> Los archivos mostrados con la misma versión pueden tener diferentes atributos. |
852 |
Seleccione el número de copia de seguridad para ver los atributos del archivo. |
853 |
</ul> |
854 |
|
855 |
\${h2("History of \${EscHTML(\$dirDisplay)}")} |
856 |
|
857 |
<br> |
858 |
<table cellspacing="2" cellpadding="3"> |
859 |
<tr class="fviewheader"><td>Backup number</td>\$backupNumStr</tr> |
860 |
<tr class="fviewheader"><td>Backup time</td>\$backupTimeStr</tr> |
861 |
\$fileStr |
862 |
</table> |
863 |
EOF |
864 |
|
865 |
# ------------------------------ |
866 |
$Lang{Restore___num_details_for__host} = "BackupPC: Detalles de la restauración Nº\$num de \$host"; |
867 |
|
868 |
$Lang{Restore___num_details_for__host2} = <<EOF; |
869 |
\${h1("Detalles de la restauración Nº\$num de \$host")} |
870 |
<p> |
871 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="90%"> |
872 |
<tr><td class="tableheader"> Número </td><td class="border"> \$Restores[\$i]{num} </td></tr> |
873 |
<tr><td class="tableheader"> Solicitado por </td><td class="border"> \$RestoreReq{user} </td></tr> |
874 |
<tr><td class="tableheader"> Hora Petición </td><td class="border"> \$reqTime </td></tr> |
875 |
<tr><td class="tableheader"> Resultado </td><td class="border"> \$Restores[\$i]{result} </td></tr> |
876 |
<tr><td class="tableheader"> Mensaje de Error </td><td class="border"> \$Restores[\$i]{errorMsg} </td></tr> |
877 |
<tr><td class="tableheader"> Host Origen </td><td class="border"> \$RestoreReq{hostSrc} </td></tr> |
878 |
<tr><td class="tableheader"> Nº copia origen </td><td class="border"> \$RestoreReq{num} </td></tr> |
879 |
<tr><td class="tableheader"> Unidad origen </td><td class="border"> \$RestoreReq{shareSrc} </td></tr> |
880 |
<tr><td class="tableheader"> Host destino </td><td class="border"> \$RestoreReq{hostDest} </td></tr> |
881 |
<tr><td class="tableheader"> Unidad destino </td><td class="border"> \$RestoreReq{shareDest} </td></tr> |
882 |
<tr><td class="tableheader"> Hora comienzo </td><td class="border"> \$startTime </td></tr> |
883 |
<tr><td class="tableheader"> Duración </td><td class="border"> \$duration min </td></tr> |
884 |
<tr><td class="tableheader"> Número de archivos </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr> |
885 |
<tr><td class="tableheader"> Tamaño total </td><td class="border"> \${MB} MB </td></tr> |
886 |
<tr><td class="tableheader"> Tasa de transferencia </td><td class="border"> \$MBperSec MB/sec </td></tr> |
887 |
<tr><td class="tableheader"> Errores creación Tar </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr> |
888 |
<tr><td class="tableheader"> Errores de transferencia </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr> |
889 |
<tr><td class="tableheader"> Archivo registro de transferencia </td><td class="border"> |
890 |
<a href="\$MyURL?action=view&type=RestoreLOG&num=\$Restores[\$i]{num}&host=\$host">View</a>, |
891 |
<a href="\$MyURL?action=view&type=RestoreErr&num=\$Restores[\$i]{num}&host=\$host">Errors</a> |
892 |
</tr></tr> |
893 |
</table> |
894 |
</p> |
895 |
\${h1("Lista de Archivos/Directorios")} |
896 |
<p> |
897 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="100%"> |
898 |
<tr class="tableheader"><td>Dir/archivo original</td><td>Restaurado a</td></tr> |
899 |
\$fileListStr |
900 |
</table> |
901 |
EOF |
902 |
|
903 |
# ------------------------------ |
904 |
$Lang{Archive___num_details_for__host} = "BackupPC: Copia de seguridad #\$num .Detalles de \$host"; |
905 |
|
906 |
$Lang{Archive___num_details_for__host2 } = <<EOF; |
907 |
\${h1("Copia de seguridad #\$num Detalles de \$host")} |
908 |
<p> |
909 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
910 |
<tr><td class="tableheader"> Número </td><td class="border"> \$Archives[\$i]{num} </td></tr> |
911 |
<tr><td class="tableheader"> Solicitado por </td><td class="border"> \$ArchiveReq{user} </td></tr> |
912 |
<tr><td class="tableheader"> Hora petición </td><td class="border"> \$reqTime </td></tr> |
913 |
<tr><td class="tableheader"> Resultado </td><td class="border"> \$Archives[\$i]{result} </td></tr> |
914 |
<tr><td class="tableheader"> Mensaje de error </td><td class="border"> \$Archives[\$i]{errorMsg} </td></tr> |
915 |
<tr><td class="tableheader"> Hora comienzo </td><td class="border"> \$startTime </td></tr> |
916 |
<tr><td class="tableheader"> Duración </td><td class="border"> \$duration min </td></tr> |
917 |
<tr><td class="tableheader"> Archivo registro Xfer </td><td class="border"> |
918 |
<a href="\$MyURL?action=view&type=ArchiveLOG&num=\$Archives[\$i]{num}&host=\$host">View</a>, |
919 |
<a href="\$MyURL?action=view&type=ArchiveErr&num=\$Archives[\$i]{num}&host=\$host">Errors</a> |
920 |
</tr></tr> |
921 |
</table> |
922 |
<p> |
923 |
\${h1("Host list")} |
924 |
<p> |
925 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
926 |
<tr class="tableheader"><td>Host</td><td>Copia de seguridad número</td></tr> |
927 |
\$HostListStr |
928 |
</table> |
929 |
EOF |
930 |
|
931 |
# ----------------------------------- |
932 |
$Lang{Email_Summary} = "BackupPC: Resumen de Correos"; |
933 |
|
934 |
# ----------------------------------- |
935 |
# !! ERROR messages !! |
936 |
# ----------------------------------- |
937 |
$Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->nuevo ha fallado: revise el error_log de apache\n"; |
938 |
$Lang{Wrong_user__my_userid_is___} = |
939 |
"Usuario erróneo: mi userid es \$>, en lugar de \$uid" |
940 |
. "(\$Conf{BackupPCUser})\n"; |
941 |
# $Lang{Only_privileged_users_can_view_PC_summaries} = "Sólo los usuarios autorizados pueden ver los resúmenes de PC´s."; |
942 |
$Lang{Only_privileged_users_can_stop_or_start_backups} = |
943 |
"Sólo los usuarios autorizados pueden comenzar a detener las copias" |
944 |
. " \${EscHTML(\$host)}."; |
945 |
$Lang{Invalid_number__num} = "Número no válido \$num"; |
946 |
$Lang{Unable_to_open__file__configuration_problem} = "No puedo abrir \$file: ¿problema de configuración?"; |
947 |
$Lang{Only_privileged_users_can_view_log_or_config_files} = "Sólo los usuarios autorizados pueden ver registros o archivos de configuración."; |
948 |
$Lang{Only_privileged_users_can_view_log_files} = "Sólo los usuarios autorizados pueden ver archivos de registro."; |
949 |
$Lang{Only_privileged_users_can_view_email_summaries} = "Sólo los usuarios autorizados pueden ver resúmenes de correo."; |
950 |
$Lang{Only_privileged_users_can_browse_backup_files} = "Sólo los usuarios autorizados pueden revisar los archivos de las copias de seguridad" |
951 |
. " for host \${EscHTML(\$In{host})}."; |
952 |
$Lang{Empty_host_name} = "Número de host vacío."; |
953 |
$Lang{Directory___EscHTML} = "El directorio \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}" |
954 |
. " está vacío"; |
955 |
$Lang{Can_t_browse_bad_directory_name2} = "No puedo mostrar un nombre de directorio erróneo" |
956 |
. " \${EscHTML(\$relDir)}"; |
957 |
$Lang{Only_privileged_users_can_restore_backup_files} = "Sólo los usuarios autorizados pueden restaurar copias de seguridad" |
958 |
. " para el host \${EscHTML(\$In{host})}."; |
959 |
$Lang{Bad_host_name} = "Nombre de host erróneo \${EscHTML(\$host)}"; |
960 |
$Lang{You_haven_t_selected_any_files__please_go_Back_to} = "No ha seleccionado nigún archivo; por favor, vuelva a" |
961 |
. " seleccione algunos archivos."; |
962 |
$Lang{You_haven_t_selected_any_hosts} = "No ha seleccionado ningún host; por favor vuelva a" |
963 |
. " select some hosts."; |
964 |
$Lang{Nice_try__but_you_can_t_put} = "Buen intento, pero no puede usar \'..\' en los nombres de archivo"; |
965 |
$Lang{Host__doesn_t_exist} = "El Host \${EscHTML(\$In{hostDest})} no existe"; |
966 |
$Lang{You_don_t_have_permission_to_restore_onto_host} = "No tiene autorización para restaurar en el host" |
967 |
. " \${EscHTML(\$In{hostDest})}"; |
968 |
$Lang{Can_t_open_create} = "No puedo abrir/crear " |
969 |
. "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}"; |
970 |
$Lang{Only_privileged_users_can_restore_backup_files2} = "Sólo los usuarios autorizados pueden restaurar copias de seguridad" |
971 |
. " del host \${EscHTML(\$host)}."; |
972 |
$Lang{Empty_host_name} = "Nombre de host vacío"; |
973 |
$Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}"; |
974 |
$Lang{Only_privileged_users_can_view_information_about} = "Sólo los usuarios autorizados pueden ver información del" |
975 |
. " host \${EscHTML(\$host)}." ; |
976 |
$Lang{Only_privileged_users_can_view_archive_information} = "Sólo los administradores pueden ver información de archivo."; |
977 |
$Lang{Only_privileged_users_can_view_restore_information} = "Sólo los usuarios autorizados pueden ver información de restauración."; |
978 |
$Lang{Restore_number__num_for_host__does_not_exist} = "El número de restauración \$num del host \${EscHTML(\$host)} " |
979 |
. " no existe."; |
980 |
$Lang{Archive_number__num_for_host__does_not_exist} = "La copia de seguridad \$num del host \${EscHTML(\$host)} " |
981 |
. " no existe."; |
982 |
$Lang{Can_t_find_IP_address_for} = "No puedo encontrar la dirección IP de \${EscHTML(\$host)}"; |
983 |
$Lang{host_is_a_DHCP_host} = <<EOF; |
984 |
\$host es un host DHCP y yo no conozco su dirección IP. He comprobado el |
985 |
nombre netbios de \$ENV{REMOTE_ADDR}\$tryIP, y he verificado que esa máquina |
986 |
no es \$host. |
987 |
<p> |
988 |
Hasta que vea \$host en una dirección DHCP concreta, sólo puede |
989 |
comenzar este proceso desde la propia máquina cliente. |
990 |
EOF |
991 |
|
992 |
# ------------------------------------ |
993 |
# !! Server Mesg !! |
994 |
# ------------------------------------ |
995 |
|
996 |
$Lang{Backup_requested_on_DHCP__host} = "Copia de seguridad solicitada en DHCP \$host (\$In{hostIP}) por" |
997 |
. " \$User desde \$ENV{REMOTE_ADDR}"; |
998 |
$Lang{Backup_requested_on__host_by__User} = "Copia de seguridad solicitada en \$host por \$User"; |
999 |
$Lang{Backup_stopped_dequeued_on__host_by__User} = "Copia de seguridad detenida/desprogramada en \$host por \$User"; |
1000 |
$Lang{Restore_requested_to_host__hostDest__backup___num} = "Restauración solicitada para el host \$hostDest, copia de seguridad #\$num," |
1001 |
. " por \$User desde \$ENV{REMOTE_ADDR}"; |
1002 |
$Lang{Archive_requested} = "Archivo solicitado por \$User desde \$ENV{REMOTE_ADDR}"; |
1003 |
|
1004 |
# ------------------------------------------------- |
1005 |
# ------- Stuff that was forgotten ---------------- |
1006 |
# ------------------------------------------------- |
1007 |
|
1008 |
$Lang{Status} = "Estado"; |
1009 |
$Lang{PC_Summary} = "Resumen PC"; |
1010 |
$Lang{LOG_file} = "Archivo Registro"; |
1011 |
$Lang{LOG_files} = "Archivos de registro"; |
1012 |
$Lang{Old_LOGs} = "Registros antiguos"; |
1013 |
$Lang{Email_summary} = "Resumen correo"; |
1014 |
$Lang{Config_file} = "Archivo configuración"; |
1015 |
$Lang{Hosts_file} = "Archivo Hosts"; |
1016 |
$Lang{Current_queues} = "Colas actuales"; |
1017 |
$Lang{Documentation} = "Documentación"; |
1018 |
|
1019 |
#$Lang{Host_or_User_name} = "<small>Host o usuario:</small>"; |
1020 |
$Lang{Go} = "Aceptar"; |
1021 |
$Lang{Hosts} = "Hosts"; |
1022 |
$Lang{Select_a_host} = "Seleccione un host..."; |
1023 |
|
1024 |
$Lang{There_have_been_no_archives} = "<h2> No ha habido archivos </h2>\n"; |
1025 |
$Lang{This_PC_has_never_been_backed_up} = "<h2> !Nunca se ha hecho copia de seguridad de este PC! </h2>\n"; |
1026 |
$Lang{This_PC_is_used_by} = "<li>This PC es utilizado por \${UserLink(\$user)}"; |
1027 |
|
1028 |
$Lang{Extracting_only_Errors} = "(Extrayendo sólo Errores)"; |
1029 |
$Lang{XferLOG} = "TransfREG"; |
1030 |
$Lang{Errors} = "Errores"; |
1031 |
|
1032 |
# ------------ |
1033 |
$Lang{Last_email_sent_to__was_at___subject} = <<EOF; |
1034 |
<li>El último mensaje enviado a \${UserLink(\$user)} fué a las \$mailTime, asunto "\$subj". |
1035 |
EOF |
1036 |
# ------------ |
1037 |
$Lang{The_command_cmd_is_currently_running_for_started} = <<EOF; |
1038 |
<li>El comando \$cmd está ejecutandose para \$host, comenzado a \$startTime. |
1039 |
EOF |
1040 |
|
1041 |
# ----------- |
1042 |
$Lang{Host_host_is_queued_on_the_background_queue_will_be_backed_up_soon} = <<EOF; |
1043 |
<li>El host \$host está en cola en la cola en segundo plano (pronto tendrá copia de seguridad). |
1044 |
EOF |
1045 |
|
1046 |
# ---------- |
1047 |
$Lang{Host_host_is_queued_on_the_user_queue__will_be_backed_up_soon} = <<EOF; |
1048 |
<li>Host \$host está en cola en la cola de usuarios (pronto tendrá copia de seguridad). |
1049 |
EOF |
1050 |
|
1051 |
# --------- |
1052 |
$Lang{A_command_for_host_is_on_the_command_queue_will_run_soon} = <<EOF; |
1053 |
<li>Un comando para \$host está en la cola de comandos (se ejecutará pronto). |
1054 |
EOF |
1055 |
|
1056 |
# -------- |
1057 |
$Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <<EOF; |
1058 |
<li>El último estado fué \"\$Lang->{\$StatusHost{state}}\"\$reason a las \$startTime. |
1059 |
EOF |
1060 |
|
1061 |
# -------- |
1062 |
$Lang{Last_error_is____EscHTML_StatusHost_error} = <<EOF; |
1063 |
<li>El último error fué \"\${EscHTML(\$StatusHost{error})}\". |
1064 |
EOF |
1065 |
|
1066 |
# ------ |
1067 |
$Lang{Pings_to_host_have_failed_StatusHost_deadCnt__consecutive_times} = <<EOF; |
1068 |
<li>Los pings a \$host han fallado \$StatusHost{deadCnt} veces consecutivas. |
1069 |
EOF |
1070 |
|
1071 |
# ----- |
1072 |
$Lang{Prior_to_that__pings} = "Antes de eso, pings"; |
1073 |
|
1074 |
# ----- |
1075 |
$Lang{priorStr_to_host_have_succeeded_StatusHostaliveCnt_consecutive_times} = <<EOF; |
1076 |
<li>\$priorStr a \$host han tenido éxito \$StatusHost{aliveCnt} |
1077 |
veces consecutivas. |
1078 |
EOF |
1079 |
|
1080 |
$Lang{Because__host_has_been_on_the_network_at_least__Conf_BlackoutGoodCnt_consecutive_times___} = <<EOF; |
1081 |
<li>Dado que \$host ha estado en la red al menos \$Conf{BlackoutGoodCnt} |
1082 |
veces consecutivas, no se le realizará copia de seguridad desde \$blackoutStr. |
1083 |
EOF |
1084 |
|
1085 |
$Lang{__time0_to__time1_on__days} = "\$t0 hasta \$t1 en \$days"; |
1086 |
|
1087 |
$Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF; |
1088 |
<li>Las copias de seguridad se retrasarán durante \$hours hours |
1089 |
(<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">Cambie este número</a>). |
1090 |
EOF |
1091 |
|
1092 |
$Lang{tryIP} = " y \$StatusHost{dhcpHostIP}"; |
1093 |
|
1094 |
#$Lang{Host_Inhost} = "Host \$In{host}"; |
1095 |
|
1096 |
$Lang{checkAll} = <<EOF; |
1097 |
<tr><td class="fviewborder"> |
1098 |
<input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Seleccionar todo |
1099 |
</td><td colspan="5" align="center" class="fviewborder"> |
1100 |
<input type="submit" name="Submit" value="Restaurar los archivos seleccionados"> |
1101 |
</td></tr> |
1102 |
EOF |
1103 |
|
1104 |
$Lang{checkAllHosts} = <<EOF; |
1105 |
<tr><td class="fviewborder"> |
1106 |
<input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Seleccionar todo |
1107 |
</td><td colspan="2" align="center" class="fviewborder"> |
1108 |
<input type="submit" name="Submit" value="Archivar los hosts seleccionados"> |
1109 |
</td></tr> |
1110 |
EOF |
1111 |
|
1112 |
$Lang{fileHeader} = <<EOF; |
1113 |
<tr class="fviewheader"><td align=center> Nombre</td> |
1114 |
<td align="center"> Tipo</td> |
1115 |
<td align="center"> Modo</td> |
1116 |
<td align="center"> Nº</td> |
1117 |
<td align="center"> Tamaño</td> |
1118 |
<td align="center"> Hora Mod.</td> |
1119 |
</tr> |
1120 |
EOF |
1121 |
|
1122 |
$Lang{Home} = "Principal"; |
1123 |
$Lang{Browse} = "Explorar copias de seguridad"; |
1124 |
$Lang{Last_bad_XferLOG} = "Ultimo error en registro de transferencia"; |
1125 |
$Lang{Last_bad_XferLOG_errors_only} = "Ultimo error en registro de transferencia (errores sólo)"; |
1126 |
|
1127 |
$Lang{This_display_is_merged_with_backup} = <<EOF; |
1128 |
<li> Esta pantalla está unida a la copia de seguridad Nº\$numF. |
1129 |
EOF |
1130 |
|
1131 |
$Lang{Visit_this_directory_in_backup} = <<EOF; |
1132 |
<li> Seleccione la copia de seguridad que desea ver: <select onChange="window.location=this.value">\$otherDirs </select> |
1133 |
EOF |
1134 |
|
1135 |
$Lang{Restore_Summary} = <<EOF; |
1136 |
\${h2("Resumen de Restauración")} |
1137 |
<p> |
1138 |
Haga click en el número de restauración para ver sus detalles. |
1139 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
1140 |
<tr class="tableheader"><td align="center"> Restauración Nº </td> |
1141 |
<td align="center"> Resultado </td> |
1142 |
<td align="right"> Fecha Inicio</td> |
1143 |
<td align="right"> Dur/mins</td> |
1144 |
<td align="right"> Nº Archivos </td> |
1145 |
<td align="right"> MB </td> |
1146 |
<td align="right"> Nº Err. Tar </td> |
1147 |
<td align="right"> Nº Err. Transf.#xferErrs </td> |
1148 |
</tr> |
1149 |
\$restoreStr |
1150 |
</table> |
1151 |
<p> |
1152 |
EOF |
1153 |
|
1154 |
$Lang{Archive_Summary} = <<EOF; |
1155 |
\${h2("Archive Summary")} |
1156 |
<p> |
1157 |
Click on the archive number for more details. |
1158 |
<table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"> |
1159 |
<tr class="tableheader"><td align="center"> Archive# </td> |
1160 |
<td align="center"> Resultado </td> |
1161 |
<td align="right"> Hora comienzo</td> |
1162 |
<td align="right"> Dur/mins</td> |
1163 |
</tr> |
1164 |
\$ArchiveStr |
1165 |
</table> |
1166 |
<p> |
1167 |
EOF |
1168 |
|
1169 |
$Lang{BackupPC__Documentation} = "BackupPC: Documentacion"; |
1170 |
|
1171 |
$Lang{No} = "no"; |
1172 |
$Lang{Yes} = "si"; |
1173 |
|
1174 |
$Lang{The_directory_is_empty} = <<EOF; |
1175 |
<tr><td bgcolor="#ffffff">El directorio \${EscHTML(\$dirDisplay)} está vacio |
1176 |
</td></tr> |
1177 |
EOF |
1178 |
|
1179 |
#$Lang{on} = "activo"; |
1180 |
$Lang{off} = "inactivo"; |
1181 |
|
1182 |
$Lang{backupType_full} = "completo"; |
1183 |
$Lang{backupType_incr} = "incremental"; |
1184 |
$Lang{backupType_partial} = "parcial"; |
1185 |
|
1186 |
$Lang{failed} = "fallido"; |
1187 |
$Lang{success} = "éxito"; |
1188 |
$Lang{and} = "y"; |
1189 |
|
1190 |
# ------ |
1191 |
# Hosts states and reasons |
1192 |
$Lang{Status_idle} = "inactivo"; |
1193 |
$Lang{Status_backup_starting} = "comenzando copia de seguridad"; |
1194 |
$Lang{Status_backup_in_progress} = "copia de seguridad ejecutándose"; |
1195 |
$Lang{Status_restore_starting} = "comenzando restauración"; |
1196 |
$Lang{Status_restore_in_progress} = "restauración ejecutándose"; |
1197 |
$Lang{Status_link_pending} = "conexión pendiente"; |
1198 |
$Lang{Status_link_running} = "conexión en curso"; |
1199 |
|
1200 |
$Lang{Reason_backup_done} = "copia de seguridad realizada"; |
1201 |
$Lang{Reason_restore_done} = "restauración realizada"; |
1202 |
$Lang{Reason_archive_done} = "archivado realizado"; |
1203 |
$Lang{Reason_nothing_to_do} = "nada por hacer"; |
1204 |
$Lang{Reason_backup_failed} = "copia de seguridad fallida"; |
1205 |
$Lang{Reason_restore_failed} = "restauración fallida"; |
1206 |
$Lang{Reason_archive_failed} = "ha fallado el archivado"; |
1207 |
$Lang{Reason_no_ping} = "no hay ping"; |
1208 |
$Lang{Reason_backup_canceled_by_user} = "copia cancelada por el usuario"; |
1209 |
$Lang{Reason_restore_canceled_by_user} = "restauración cancelada por el usuario"; |
1210 |
$Lang{Reason_archive_canceled_by_user} = "archivado cancelado por el usuario"; |
1211 |
|
1212 |
# --------- |
1213 |
# Email messages |
1214 |
|
1215 |
# No backup ever |
1216 |
$Lang{EMailNoBackupEverSubj} = "BackupPC: ningúna copia de \$host ha tenido éxito"; |
1217 |
$Lang{EMailNoBackupEverMesg} = <<'EOF'; |
1218 |
To: $user$domain |
1219 |
cc: |
1220 |
Subject: $subj |
1221 |
|
1222 |
Estimado $userName, |
1223 |
|
1224 |
Su PC ($host) nunca ha completado una copia de seguridad mediante nuestro |
1225 |
programa de copias de seguridad. Las copias de seguridad deberían ejecutarse |
1226 |
automáticamente cuando su PC se conecta a la red. Debería contactar con su |
1227 |
soporte técnico si: |
1228 |
|
1229 |
- Su ordenador ha estado conectado a la red con regularidad. Esto implicaría |
1230 |
que existe algún problema de instalación o configuración que impide que se |
1231 |
realicen las copias de seguridad. |
1232 |
|
1233 |
- No desea realizar copias de seguridad y no quiere recibir más mensajes |
1234 |
como éste. |
1235 |
|
1236 |
De no ser así, asegúrese de que su PC está conectado a la red la próxima vez |
1237 |
que esté en la oficina. |
1238 |
|
1239 |
Saludos: |
1240 |
Agente BackupPC |
1241 |
http://backuppc.sourceforge.net |
1242 |
EOF |
1243 |
|
1244 |
# No recent backup |
1245 |
$Lang{EMailNoBackupRecentSubj} = "BackupPC: no hay copias de seguridad recientes de \$host"; |
1246 |
$Lang{EMailNoBackupRecentMesg} = <<'EOF'; |
1247 |
To: $user$domain |
1248 |
cc: |
1249 |
Subject: $subj |
1250 |
|
1251 |
Estimado $userName, |
1252 |
|
1253 |
No se ha podido completar ninguna copia de seguridad de su PC ($host) durante |
1254 |
$days días. |
1255 |
Su PC ha realizado copias de seguridad correctas $numBackups veces desde |
1256 |
$firstTime hasta hace $days días. |
1257 |
Las copias de seguridad deberían efectuarse automáticamente cuando su PC está |
1258 |
conectado a la red. |
1259 |
|
1260 |
Si su PC ha estado conectado durante algunas horas a la red durante los últimos |
1261 |
$days días debería contactar con su soporte técnico para ver porqué las copias |
1262 |
de seguridad no funcionan adecuadamente. |
1263 |
|
1264 |
Por otro lado, si está fuera de la oficina, no hay mucho que se pueda hacer al |
1265 |
respecto salvo copiar manualmente los archivos especialmente críticos a otro |
1266 |
soporte físico. Debería estar al corriente de que cualquier archivo que haya |
1267 |
creado o modificado en los últimos $days días (incluyendo todo el correo nuevo |
1268 |
y archivos adjuntos) no pueden ser restaurados si su disco se avería. |
1269 |
|
1270 |
Saludos: |
1271 |
Agente BackupPC |
1272 |
http://backuppc.sourceforge.net |
1273 |
EOF |
1274 |
|
1275 |
# Old Outlook files |
1276 |
$Lang{EMailOutlookBackupSubj} = "BackupPC: Los archivos de Outlook de \$host necesitan ser copiados"; |
1277 |
$Lang{EMailOutlookBackupMesg} = <<'EOF'; |
1278 |
To: $user$domain |
1279 |
cc: |
1280 |
Subject: $subj |
1281 |
|
1282 |
Estimado $userName, |
1283 |
|
1284 |
Los archivos de Outlook de su PC tienen $howLong. |
1285 |
Estos archivos contienen todo su correo, adjuntos, contactos e información de |
1286 |
su agenda. Su PC ha sido correctamente salvaguardado $numBackups veces desde |
1287 |
$firstTime hasta hace $lastTime días. Sin embargo, Outlook bloquea todos sus |
1288 |
archivos mientras funciona, impidiendo que pueda hacerse copia de seguridad de |
1289 |
los mismos. |
1290 |
|
1291 |
Se le recomienda hacer copia de seguridad de los archivos de Outlook cuando esté |
1292 |
conectado a la red cerrando Outlook y el resto de aplicaciones y utilizando su |
1293 |
navegador de internet. Haga click en este vínculo: |
1294 |
|
1295 |
$CgiURL?host=$host |
1296 |
|
1297 |
Seleccione "Comenzar copia de seguridad incremental" dos veces para comenzar |
1298 |
una neva copia de seguridad incremental. |
1299 |
Puede seleccionar "Volver a la página de $host " y hacer click en "refrescar" |
1300 |
para ver el estado del proceso de copia de seguridad. Debería llevarle sólo |
1301 |
unos minutos completar el proceso. |
1302 |
|
1303 |
Saludos: |
1304 |
Agente BackupPC |
1305 |
http://backuppc.sourceforge.net |
1306 |
EOF |
1307 |
|
1308 |
$Lang{howLong_not_been_backed_up} = "no se le ha realizado una copia de seguridad con éxito"; |
1309 |
$Lang{howLong_not_been_backed_up_for_days_days} = "no se le ha realizado una copia de seguridad durante \$days días"; |
1310 |
|
1311 |
#end of lang_en.pm |
1312 |
|