6 # --------------------------------
8 $Lang{Start_Archive} = "Start Archive";
9 $Lang{Stop_Dequeue_Archive} = "Stop/Dequeue Archive";
10 $Lang{Start_Full_Backup} = "Start Full Backup";
11 $Lang{Start_Incr_Backup} = "Start Incr Backup";
12 $Lang{Stop_Dequeue_Backup} = "Stop/Dequeue Backup";
13 $Lang{Restore} = "Restore";
15 $Lang{Type_full} = "full";
16 $Lang{Type_incr} = "incremental";
20 $Lang{Only_privileged_users_can_view_admin_options} = "Only privileged users can view admin options.";
21 $Lang{H_Admin_Options} = "BackupPC Server: Admin Options";
22 $Lang{Admin_Options} = "Admin Options";
23 $Lang{Admin_Options_Page} = <<EOF;
24 \${h1(qq{$Lang{Admin_Options}})}
26 \${h2("Server Control")}
27 <form action="\$MyURL" method="get">
29 <!--<tr><td>Stop the server:<td><input type="submit" name="action" value="Stop">-->
30 <tr><td>Reload the server configuration:<td><input type="submit" name="action" value="Reload">
34 \${h2("Server Configuration")}
36 <li><i>Other options can go here... e.g.,</i>
37 <li>Edit server configuration
41 $Lang{Unable_to_connect_to_BackupPC_server} = "Unable to connect to BackupPC server",
42 "This CGI script (\$MyURL) is unable to connect to the BackupPC"
43 . " server on \$Conf{ServerHost} port \$Conf{ServerPort}. The error"
45 "Perhaps the BackupPC server is not running or there is a "
46 . " configuration error. Please report this to your Sys Admin.";
47 $Lang{Admin_Start_Server} = <<EOF;
48 \${h1(qq{$Lang{Unable_to_connect_to_BackupPC_server}})}
49 <form action="\$MyURL" method="get">
50 The BackupPC server at <tt>\$Conf{ServerHost}</tt> port <tt>\$Conf{ServerPort}</tt>
51 is not currently running (maybe you just stopped it, or haven't yet started it).<br>
52 Do you want to start it?
53 <input type="hidden" name="action" value="startServer">
54 <input type="submit" value="Start Server" name="ignore">
60 $Lang{H_BackupPC_Server_Status} = "BackupPC Server Status";
62 $Lang{BackupPC_Server_Status}= <<EOF;
63 \${h1(qq{$Lang{H_BackupPC_Server_Status}})}
66 \${h2(\"General Server Information\")}
69 <li> The servers PID is \$Info{pid}, on host \$Conf{ServerHost},
70 version \$Info{Version}, started at \$serverStartTime.
71 <li> This status was generated at \$now.
72 <li> The configuration was last loaded at \$configLoadTime.
73 <li> PCs will be next queued at \$nextWakeupTime.
76 <li>\$numBgQueue pending backup requests from last scheduled wakeup,
77 <li>\$numUserQueue pending user backup requests,
78 <li>\$numCmdQueue pending command requests,
80 <li>Pool file system was recently at \$Info{DUlastValue}%
81 (\$DUlastTime), today\'s max is \$Info{DUDailyMax}% (\$DUmaxTime)
82 and yesterday\'s max was \$Info{DUDailyMaxPrev}%.
86 \${h2("Currently Running Jobs")}
88 <table class="tableStnd" border cellspacing="1" cellpadding="3">
89 <tr class="tableheader"><td> Host </td>
94 <td align="center"> PID </td>
95 <td align="center"> Xfer PID </td>
101 \${h2("Failures that need attention")}
103 <table class="tableStnd" border cellspacing="1" cellpadding="3">
104 <tr class="tableheader"><td align="center"> Host </td>
105 <td align="center"> Type </td>
106 <td align="center"> User </td>
107 <td align="center"> Last Try </td>
108 <td align="center"> Details </td>
109 <td align="center"> Error Time </td>
110 <td> Last error (other than no ping) </td></tr>
115 # --------------------------------
116 $Lang{BackupPC__Server_Summary} = "BackupPC: Server Summary";
117 $Lang{BackupPC__Archive} = "BackupPC: Archive";
118 $Lang{BackupPC_Summary} = <<EOF;
120 \${h1(qq{$Lang{BackupPC__Server_Summary}})}
122 This status was generated at \$now.
125 \${h2("Hosts with good Backups")}
127 There are \$hostCntGood hosts that have been backed up, for a total of:
129 <li> \$fullTot full backups of total size \${fullSizeTot}GB
130 (prior to pooling and compression),
131 <li> \$incrTot incr backups of total size \${incrSizeTot}GB
132 (prior to pooling and compression).
135 <table class="tableStnd" border cellpadding="3" cellspacing="1">
136 <tr class="tableheader"><td> Host </td>
137 <td align="center"> User </td>
138 <td align="center"> #Full </td>
139 <td align="center"> Full Age/days </td>
140 <td align="center"> Full Size/GB </td>
141 <td align="center"> Speed MB/sec </td>
142 <td align="center"> #Incr </td>
143 <td align="center"> Incr Age/days </td>
144 <td align="center"> State </td>
145 <td align="center"> Last attempt </td></tr>
149 \${h2("Hosts with no Backups")}
151 There are \$hostCntNone hosts with no backups.
153 <table class="tableStnd" border cellpadding="3" cellspacing="1">
154 <tr class="tableheader"><td> Host </td>
155 <td align="center"> User </td>
156 <td align="center"> #Full </td>
157 <td align="center"> Full Age/days </td>
158 <td align="center"> Full Size/GB </td>
159 <td align="center"> Speed MB/sec </td>
160 <td align="center"> #Incr </td>
161 <td align="center"> Incr Age/days </td>
162 <td align="center"> Current State </td>
163 <td align="center"> Last backup attempt </td></tr>
168 $Lang{BackupPC_Archive} = <<EOF;
169 \${h1(qq{$Lang{BackupPC__Archive}})}
170 <script language="javascript" type="text/javascript">
173 function checkAll(location)
175 for (var i=0;i<document.form1.elements.length;i++)
177 var e = document.form1.elements[i];
178 if ((e.checked || !e.checked) && e.name != \'all\') {
179 if (eval("document.form1."+location+".checked")) {
188 function toggleThis(checkbox)
190 var cb = eval("document.form1."+checkbox);
191 cb.checked = !cb.checked;
197 There are \$hostCntGood hosts that have been backed up for a total size of \${fullSizeTot}GB
199 <form name="form1" method="post" action="\$MyURL">
200 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
201 <input type="hidden" name="type" value="1">
202 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
203 <input type="hidden" name="action" value="Archive">
204 <table class="tableStnd" border cellpadding="3" cellspacing="1">
205 <tr class="tableheader"><td align=center> Host</td>
206 <td align="center"> User </td>
207 <td align="center"> Backup Size </td>
216 $Lang{BackupPC_Archive2} = <<EOF;
217 \${h1(qq{$Lang{BackupPC__Archive}})}
218 About to archive the following hosts
222 <form action="\$MyURL" method="post">
224 <input type="hidden" name="action" value="Archive">
225 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
226 <input type="hidden" name="type" value="2">
227 <input type="hidden" value="0" name="archive_type">
228 <table class="tableStnd" border cellspacing="1" cellpadding="3">
231 <td colspan=2><input type="submit" value="Start the Archive" name=""></td>
237 $Lang{BackupPC_Archive2_location} = <<EOF;
239 <td>Archive Location/Device</td>
240 <td><input type="text" value="\$ArchiveDest" name="archive_device"></td>
244 $Lang{BackupPC_Archive2_compression} = <<EOF;
248 <input type="radio" value="0" name="compression" \$ArchiveCompNone>None<br>
249 <input type="radio" value="1" name="compression" \$ArchiveCompGzip>gzip<br>
250 <input type="radio" value="2" name="compression" \$ArchiveCompBzip2>bzip2
255 $Lang{BackupPC_Archive2_parity} = <<EOF;
257 <td>Number of Parity Files</td>
258 <td><input type="numeric" value="\$ArchivePar" name="par"></td>
262 $Lang{BackupPC_Archive2_split} = <<EOF;
264 <td>Split output into</td>
265 <td><input type="numeric" value="\$ArchiveSplit" name="splitsize">Megabytes</td>
269 # -----------------------------------
270 $Lang{Pool_Stat} = <<EOF;
271 <li>Pool is \${poolSize}GB comprising \$info->{"\${name}FileCnt"} files
272 and \$info->{"\${name}DirCnt"} directories (as of \$poolTime),
273 <li>Pool hashing gives \$info->{"\${name}FileCntRep"} repeated
274 files with longest chain \$info->{"\${name}FileRepMax"},
275 <li>Nightly cleanup removed \$info->{"\${name}FileCntRm"} files of
276 size \${poolRmSize}GB (around \$poolTime),
279 # --------------------------------
280 $Lang{BackupPC__Backup_Requested_on__host} = "BackupPC: Backup Requested on \$host";
281 # --------------------------------
282 $Lang{REPLY_FROM_SERVER} = <<EOF;
285 Reply from server was: \$reply
287 Go back to <a href="\$MyURL?host=\$host">\$host home page</a>.
289 # --------------------------------
290 $Lang{BackupPC__Start_Backup_Confirm_on__host} = "BackupPC: Start Backup Confirm on \$host";
291 # --------------------------------
292 $Lang{Are_you_sure_start} = <<EOF;
293 \${h1("Are you sure?")}
295 You are about to start a \$type backup on \$host.
297 <form action="\$MyURL" method="get">
298 <input type="hidden" name="host" value="\$host">
299 <input type="hidden" name="hostIP" value="\$ipAddr">
300 <input type="hidden" name="doit" value="1">
301 Do you really want to do this?
302 <input type="submit" value="\$In{action}" name="action">
303 <input type="submit" value="No" name="">
306 # --------------------------------
307 $Lang{BackupPC__Stop_Backup_Confirm_on__host} = "BackupPC: Stop Backup Confirm on \$host";
308 # --------------------------------
309 $Lang{Are_you_sure_stop} = <<EOF;
311 \${h1("Are you sure?")}
314 You are about to stop/dequeue backups on \$host;
316 <form action="\$MyURL" method="get">
317 <input type="hidden" name="host" value="\$host">
318 <input type="hidden" name="doit" value="1">
319 Also, please don\'t start another backup for
320 <input type="text" name="backoff" size="10" value="\$backoff"> hours.
322 Do you really want to do this?
323 <input type="submit" value="\$In{action}" name="action">
324 <input type="submit" value="No" name="">
328 # --------------------------------
329 $Lang{Only_privileged_users_can_view_queues_} = "Only privileged users can view queues.";
330 # --------------------------------
331 $Lang{Only_privileged_users_can_archive} = "Only privileged users can Archive.";
332 # --------------------------------
333 $Lang{BackupPC__Queue_Summary} = "BackupPC: Queue Summary";
334 # --------------------------------
335 $Lang{Backup_Queue_Summary} = <<EOF;
336 \${h1("Backup Queue Summary")}
338 \${h2("User Queue Summary")}
340 The following user requests are currently queued:
342 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
343 <tr class="tableheader"><td> Host </td>
350 \${h2("Background Queue Summary")}
352 The following background requests are currently queued:
354 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
355 <tr class="tableheader"><td> Host </td>
361 \${h2("Command Queue Summary")}
363 The following command requests are currently queued:
365 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
366 <tr class="tableheader"><td> Host </td>
369 <td> Command </td></tr>
374 # --------------------------------
375 $Lang{Backup_PC__Log_File__file} = "BackupPC: Log File \$file";
376 $Lang{Log_File__file__comment} = <<EOF;
377 \${h1("Log File \$file \$comment")}
380 # --------------------------------
381 $Lang{Contents_of_log_file} = <<EOF;
382 Contents of log file <tt>\$file</tt>, modified \$mtimeStr \$comment
385 # --------------------------------
386 $Lang{skipped__skipped_lines} = "[ skipped \$skipped lines ]\n";
387 # --------------------------------
388 $Lang{_pre___Can_t_open_log_file__file} = "<pre>\nCan\'t open log file \$file\n";
390 # --------------------------------
391 $Lang{BackupPC__Log_File_History} = "BackupPC: Log File History";
392 $Lang{Log_File_History__hdr} = <<EOF;
393 \${h1("Log File History \$hdr")}
395 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
396 <tr class="tableheader"><td align="center"> File </td>
397 <td align="center"> Size </td>
398 <td align="center"> Modification time </td></tr>
403 # -------------------------------
404 $Lang{Recent_Email_Summary} = <<EOF;
405 \${h1("Recent Email Summary (Reverse time order)")}
407 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
408 <tr class="tableheader"><td align="center"> Recipient </td>
409 <td align="center"> Host </td>
410 <td align="center"> Time </td>
411 <td align="center"> Subject </td></tr>
417 # ------------------------------
418 $Lang{Browse_backup__num_for__host} = "BackupPC: Browse backup \$num for \$host";
420 # ------------------------------
421 $Lang{Restore_Options_for__host} = "BackupPC: Restore Options for \$host";
422 $Lang{Restore_Options_for__host2} = <<EOF;
423 \${h1("Restore Options for \$host")}
425 You have selected the following files/directories from
426 share \$share, backup number #\$num:
431 You have three choices for restoring these files/directories.
432 Please select one of the following options.
434 \${h2("Option 1: Direct Restore")}
438 $Lang{Restore_Options_for__host_Option1} = <<EOF;
439 You can start a restore that will restore these files directly onto
442 <b>Warning:</b> any existing files that match the ones you have
443 selected will be overwritten!
445 <form action="\$MyURL" method="post" name="direct">
446 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
447 <input type="hidden" name="num" value="\$num">
448 <input type="hidden" name="type" value="3">
450 <input type="hidden" value="\$In{action}" name="action">
453 <td>Restore the files to host</td>
454 <td><!--<input type="text" size="40" value="\${EscHTML(\$host)}"
456 <select name="hostDest" onChange="document.direct.shareDest.value=''">
459 <script language="Javascript">
460 function myOpen(URL) {
461 window.open(URL,'','width=500,height=400');
464 <!--<a href="javascript:myOpen('\$MyURL?action=findShares&host='+document.direct.hostDest.options.value)">Search for available shares (NOT IMPLEMENTED)</a>--></td>
466 <td>Restore the files to share</td>
467 <td><input type="text" size="40" value="\${EscHTML(\$share)}"
468 name="shareDest"></td>
470 <td>Restore the files below dir<br>(relative to share)</td>
471 <td valign="top"><input type="text" size="40" maxlength="256"
472 value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
474 <td><input type="submit" value="Start Restore" name=""></td>
479 $Lang{Restore_Options_for__host_Option1_disabled} = <<EOF;
480 Direct restore has been disabled for host \${EscHTML(\$hostDest)}.
481 Please select one of the other restore options.
484 # ------------------------------
485 $Lang{Option_2__Download_Zip_archive} = <<EOF;
487 \${h2("Option 2: Download Zip archive")}
489 You can download a Zip archive containing all the files/directories you have
490 selected. You can then use a local application, such as WinZip,
491 to view or extract any of the files.
493 <b>Warning:</b> depending upon which files/directories you have selected,
494 this archive might be very very large. It might take many minutes to
495 create and transfer the archive, and you will need enough local disk
498 <form action="\$MyURL" method="post">
499 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
500 <input type="hidden" name="num" value="\$num">
501 <input type="hidden" name="type" value="2">
503 <input type="hidden" value="\$In{action}" name="action">
504 <input type="checkbox" value="1" name="relative" checked> Make archive relative
505 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
506 (otherwise archive will contain full paths).
508 Compression (0=off, 1=fast,...,9=best)
509 <input type="text" size="6" value="5" name="compressLevel">
511 <input type="submit" value="Download Zip File" name="">
515 # ------------------------------
517 $Lang{Option_2__Download_Zip_archive2} = <<EOF;
519 \${h2("Option 2: Download Zip archive")}
521 Archive::Zip is not installed so you will not be able to download a
523 Please ask your system adminstrator to install Archive::Zip from
524 <a href="http://www.cpan.org">www.cpan.org</a>.
529 # ------------------------------
530 $Lang{Option_3__Download_Zip_archive} = <<EOF;
531 \${h2("Option 3: Download Tar archive")}
533 You can download a Tar archive containing all the files/directories you
534 have selected. You can then use a local application, such as tar or
535 WinZip to view or extract any of the files.
537 <b>Warning:</b> depending upon which files/directories you have selected,
538 this archive might be very very large. It might take many minutes to
539 create and transfer the archive, and you will need enough local disk
542 <form action="\$MyURL" method="post">
543 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
544 <input type="hidden" name="num" value="\$num">
545 <input type="hidden" name="type" value="1">
547 <input type="hidden" value="\$In{action}" name="action">
548 <input type="checkbox" value="1" name="relative" checked> Make archive relative
549 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
550 (otherwise archive will contain full paths).
552 <input type="submit" value="Download Tar File" name="">
557 # ------------------------------
558 $Lang{Restore_Confirm_on__host} = "BackupPC: Restore Confirm on \$host";
560 $Lang{Are_you_sure} = <<EOF;
561 \${h1("Are you sure?")}
563 You are about to start a restore directly to the machine \$In{hostDest}.
564 The following files will be restored to share \$In{shareDest}, from
568 <tr><td>Original file/dir</td><td>Will be restored to</td></tr>
572 <form action="\$MyURL" method="post">
573 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
574 <input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}">
575 <input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}">
576 <input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}">
577 <input type="hidden" name="num" value="\$num">
578 <input type="hidden" name="type" value="4">
580 Do you really want to do this?
581 <input type="submit" value="\$In{action}" name="action">
582 <input type="submit" value="No" name="">
587 # --------------------------
588 $Lang{Restore_Requested_on__hostDest} = "BackupPC: Restore Requested on \$hostDest";
589 $Lang{Reply_from_server_was___reply} = <<EOF;
592 Reply from server was: \$reply
594 Go back to <a href="\$MyURL?host=\$hostDest">\$hostDest home page</a>.
597 $Lang{BackupPC_Archive_Reply_from_server} = <<EOF;
600 Reply from server was: \$reply
604 # -------------------------
605 $Lang{Host__host_Backup_Summary} = "BackupPC: Host \$host Backup Summary";
607 $Lang{Host__host_Backup_Summary2} = <<EOF;
608 \${h1("Host \$host Backup Summary")}
615 \${h2("User Actions")}
617 <form action="\$MyURL" method="get">
618 <input type="hidden" name="host" value="\$host">
620 <input type="submit" value="$Lang{Start_Full_Backup}" name="action">
621 <input type="submit" value="$Lang{Stop_Dequeue_Backup}" name="action">
624 \${h2("Backup Summary")}
626 Click on the backup number to browse and restore backup files.
628 <table class="tableStnd" border cellspacing="1" cellpadding="3">
629 <tr class="tableheader"><td align="center"> Backup# </td>
630 <td align="center"> Type </td>
631 <td align="center"> Filled </td>
632 <td align="center"> Start Date </td>
633 <td align="center"> Duration/mins </td>
634 <td align="center"> Age/days </td>
635 <td align="center"> Server Backup Path </td>
644 \${h2("Xfer Error Summary")}
646 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
647 <tr class="tableheader"><td align="center"> Backup# </td>
648 <td align="center"> Type </td>
649 <td align="center"> View </td>
650 <td align="center"> #Xfer errs </td>
651 <td align="center"> #bad files </td>
652 <td align="center"> #bad share </td>
653 <td align="center"> #tar errs </td>
659 \${h2("File Size/Count Reuse Summary")}
661 Existing files are those already in the pool; new files are those added
663 Empty files and SMB errors aren\'t counted in the reuse and new counts.
665 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
666 <tr class="tableheader"><td colspan="2" bgcolor="#ffffff"></td>
667 <td align="center" colspan="3"> Totals </td>
668 <td align="center" colspan="2"> Existing Files </td>
669 <td align="center" colspan="2"> New Files </td>
671 <tr class="tableheader">
672 <td align="center"> Backup# </td>
673 <td align="center"> Type </td>
674 <td align="center"> #Files </td>
675 <td align="center"> Size/MB </td>
676 <td align="center"> MB/sec </td>
677 <td align="center"> #Files </td>
678 <td align="center"> Size/MB </td>
679 <td align="center"> #Files </td>
680 <td align="center"> Size/MB </td>
686 \${h2("Compression Summary")}
688 Compression performance for files already in the pool and newly
691 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
692 <tr class="tableheader"><td colspan="3" bgcolor="#ffffff"></td>
693 <td align="center" colspan="3"> Existing Files </td>
694 <td align="center" colspan="3"> New Files </td>
696 <tr class="tableheader"><td align="center"> Backup# </td>
697 <td align="center"> Type </td>
698 <td align="center"> Comp Level </td>
699 <td align="center"> Size/MB </td>
700 <td align="center"> Comp/MB </td>
701 <td align="center"> Comp </td>
702 <td align="center"> Size/MB </td>
703 <td align="center"> Comp/MB </td>
704 <td align="center"> Comp </td>
711 $Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary";
712 $Lang{Host__host_Archive_Summary2} = <<EOF;
713 \${h1("Host \$host Archive Summary")}
720 \${h2("User Actions")}
722 <form action="\$MyURL" method="get">
723 <input type="hidden" name="archivehost" value="\$host">
724 <input type="hidden" name="host" value="\$host">
725 <input type="submit" value="$Lang{Start_Archive}" name="action">
726 <input type="submit" value="$Lang{Stop_Dequeue_Archive}" name="action">
733 # -------------------------
734 $Lang{Error} = "BackupPC: Error";
735 $Lang{Error____head} = <<EOF;
736 \${h1("Error: \$head")}
740 # -------------------------
741 $Lang{NavSectionTitle_} = "Server";
743 # -------------------------
744 $Lang{Backup_browse_for__host} = <<EOF;
745 \${h1("Backup browse for \$host")}
747 <script language="javascript" type="text/javascript">
750 function checkAll(location)
752 for (var i=0;i<document.form1.elements.length;i++)
754 var e = document.form1.elements[i];
755 if ((e.checked || !e.checked) && e.name != \'all\') {
756 if (eval("document.form1."+location+".checked")) {
765 function toggleThis(checkbox)
767 var cb = eval("document.form1."+checkbox);
768 cb.checked = !cb.checked;
774 <form name="form0" method="post" action="\$MyURL">
775 <input type="hidden" name="num" value="\$num">
776 <input type="hidden" name="host" value="\$host">
777 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
778 <input type="hidden" name="action" value="browse">
780 <li> You are browsing backup #\$num, which started around \$backupTime
781 (\$backupAge days ago),
783 <li> Enter directory: <input type="text" name="dir" size="50" maxlength="4096" value="\${EscHTML(\$dir)}"> <input type="submit" value="\$Lang->{Go}" name="Submit">
784 <li> Click on a directory below to navigate into that directory,
785 <li> Click on a file below to restore that file,
786 <li> You can view the backup <a href="\$MyURL?action=dirHistory&host=\${EscURI(\$host)}&share=\$shareURI&dir=\$pathURI">history</a> of the current directory.
790 \${h2("Contents of \${EscHTML(\$dirDisplay)}")}
791 <form name="form1" method="post" action="\$MyURL">
792 <input type="hidden" name="num" value="\$num">
793 <input type="hidden" name="host" value="\$host">
794 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
795 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
796 <input type="hidden" name="action" value="$Lang{Restore}">
799 <tr><td valign="top">
800 <br><table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
804 </td><td valign="top">
806 <table border="0" width="100%" align="left" cellpadding="3" cellspacing="1">
815 This is now in the checkAll row
816 <input type="submit" name="Submit" value="Restore selected files">
821 # ------------------------------
822 $Lang{DirHistory_backup_for__host} = "BackupPC: Directory backup history for \$host";
825 # These two strings are used to build the links for directories and
826 # file versions. Files are appended with a version number.
828 $Lang{DirHistory_dirLink} = "dir";
829 $Lang{DirHistory_fileLink} = "v";
831 $Lang{DirHistory_for__host} = <<EOF;
832 \${h1("Directory backup history for \$host")}
834 This display shows each unique version of files across all
837 <li> Click on a backup number to return to the backup browser,
838 <li> Click on a directory link (\$Lang->{DirHistory_dirLink}) to navigate
840 <li> Click on a file version link (\$Lang->{DirHistory_fileLink}0,
841 \$Lang->{DirHistory_fileLink}1, ...) to download that file,
842 <li> Files with the same contents between different backups have the same
844 <li> Files or directories not present in a particular backup have an
846 <li> Files shown with the same version might have different attributes.
847 Select the backup number to see the file attributes.
850 \${h2("History of \${EscHTML(\$dirDisplay)}")}
853 <table cellspacing="2" cellpadding="3">
854 <tr class="fviewheader"><td>Backup number</td>\$backupNumStr</tr>
855 <tr class="fviewheader"><td>Backup time</td>\$backupTimeStr</tr>
860 # ------------------------------
861 $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host";
863 $Lang{Restore___num_details_for__host2} = <<EOF;
864 \${h1("Restore #\$num Details for \$host")}
866 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="90%">
867 <tr><td class="tableheader"> Number </td><td class="border"> \$Restores[\$i]{num} </td></tr>
868 <tr><td class="tableheader"> Requested by </td><td class="border"> \$RestoreReq{user} </td></tr>
869 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
870 <tr><td class="tableheader"> Result </td><td class="border"> \$Restores[\$i]{result} </td></tr>
871 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Restores[\$i]{errorMsg} </td></tr>
872 <tr><td class="tableheader"> Source host </td><td class="border"> \$RestoreReq{hostSrc} </td></tr>
873 <tr><td class="tableheader"> Source backup num </td><td class="border"> \$RestoreReq{num} </td></tr>
874 <tr><td class="tableheader"> Source share </td><td class="border"> \$RestoreReq{shareSrc} </td></tr>
875 <tr><td class="tableheader"> Destination host </td><td class="border"> \$RestoreReq{hostDest} </td></tr>
876 <tr><td class="tableheader"> Destination share </td><td class="border"> \$RestoreReq{shareDest} </td></tr>
877 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
878 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
879 <tr><td class="tableheader"> Number of files </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr>
880 <tr><td class="tableheader"> Total size </td><td class="border"> \${MB} MB </td></tr>
881 <tr><td class="tableheader"> Transfer rate </td><td class="border"> \$MBperSec MB/sec </td></tr>
882 <tr><td class="tableheader"> TarCreate errors </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr>
883 <tr><td class="tableheader"> Xfer errors </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr>
884 <tr><td class="tableheader"> Xfer log file </td><td class="border">
885 <a href="\$MyURL?action=view&type=RestoreLOG&num=\$Restores[\$i]{num}&host=\$host">View</a>,
886 <a href="\$MyURL?action=view&type=RestoreErr&num=\$Restores[\$i]{num}&host=\$host">Errors</a>
890 \${h1("File/Directory list")}
892 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="100%">
893 <tr class="tableheader"><td>Original file/dir</td><td>Restored to</td></tr>
898 # ------------------------------
899 $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \$host";
901 $Lang{Archive___num_details_for__host2 } = <<EOF;
902 \${h1("Archive #\$num Details for \$host")}
904 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="50%">
905 <tr><td class="tableheader"> Number </td><td class="border"> \$Archives[\$i]{num} </td></tr>
906 <tr><td class="tableheader"> Requested by </td><td class="border"> \$ArchiveReq{user} </td></tr>
907 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
908 <tr><td class="tableheader"> Result </td><td class="border"> \$Archives[\$i]{result} </td></tr>
909 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Archives[\$i]{errorMsg} </td></tr>
910 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
911 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
912 <tr><td class="tableheader"> Xfer log file </td><td class="border">
913 <a href="\$MyURL?action=view&type=ArchiveLOG&num=\$Archives[\$i]{num}&host=\$host">View</a>,
914 <a href="\$MyURL?action=view&type=ArchiveErr&num=\$Archives[\$i]{num}&host=\$host">Errors</a>
920 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
921 <tr class="tableheader"><td>Host</td><td>Backup Number</td></tr>
926 # -----------------------------------
927 $Lang{Email_Summary} = "BackupPC: Email Summary";
929 # -----------------------------------
930 # !! ERROR messages !!
931 # -----------------------------------
932 $Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->new failed: check apache error_log\n";
933 $Lang{Wrong_user__my_userid_is___} =
934 "Wrong user: my userid is \$>, instead of \$uid"
935 . "(\$Conf{BackupPCUser})\n";
936 # $Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries.";
937 $Lang{Only_privileged_users_can_stop_or_start_backups} =
938 "Only privileged users can stop or start backups on"
939 . " \${EscHTML(\$host)}.";
940 $Lang{Invalid_number__num} = "Invalid number \$num";
941 $Lang{Unable_to_open__file__configuration_problem} = "Unable to open \$file: configuration problem?";
942 $Lang{Only_privileged_users_can_view_log_or_config_files} = "Only privileged users can view log or config files.";
943 $Lang{Only_privileged_users_can_view_log_files} = "Only privileged users can view log files.";
944 $Lang{Only_privileged_users_can_view_email_summaries} = "Only privileged users can view email summaries.";
945 $Lang{Only_privileged_users_can_browse_backup_files} = "Only privileged users can browse backup files"
946 . " for host \${EscHTML(\$In{host})}.";
947 $Lang{Empty_host_name} = "Empty host name.";
948 $Lang{Directory___EscHTML} = "Directory \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}"
950 $Lang{Can_t_browse_bad_directory_name2} = "Can\'t browse bad directory name"
951 . " \${EscHTML(\$relDir)}";
952 $Lang{Only_privileged_users_can_restore_backup_files} = "Only privileged users can restore backup files"
953 . " for host \${EscHTML(\$In{host})}.";
954 $Lang{Bad_host_name} = "Bad host name \${EscHTML(\$host)}";
955 $Lang{You_haven_t_selected_any_files__please_go_Back_to} = "You haven\'t selected any files; please go Back to"
956 . " select some files.";
957 $Lang{You_haven_t_selected_any_hosts} = "You haven\'t selected any hosts; please go Back to"
958 . " select some hosts.";
959 $Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any of the file names";
960 $Lang{Host__doesn_t_exist} = "Host \${EscHTML(\$In{hostDest})} doesn\'t exist";
961 $Lang{You_don_t_have_permission_to_restore_onto_host} = "You don\'t have permission to restore onto host"
962 . " \${EscHTML(\$In{hostDest})}";
963 $Lang{Can_t_open_create} = "Can\'t open/create "
964 . "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}";
965 $Lang{Only_privileged_users_can_restore_backup_files2} = "Only privileged users can restore backup files"
966 . " for host \${EscHTML(\$host)}.";
967 $Lang{Empty_host_name} = "Empty host name";
968 $Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}";
969 $Lang{Only_privileged_users_can_view_information_about} = "Only privileged users can view information about"
970 . " host \${EscHTML(\$host)}." ;
971 $Lang{Only_privileged_users_can_view_archive_information} = "Only privileged users can view archive information.";
972 $Lang{Only_privileged_users_can_view_restore_information} = "Only privileged users can view restore information.";
973 $Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscHTML(\$host)} does"
975 $Lang{Archive_number__num_for_host__does_not_exist} = "Archive number \$num for host \${EscHTML(\$host)} does"
977 $Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscHTML(\$host)}";
978 $Lang{host_is_a_DHCP_host} = <<EOF;
979 \$host is a DHCP host, and I don\'t know its IP address. I checked the
980 netbios name of \$ENV{REMOTE_ADDR}\$tryIP, and found that that machine
983 Until I see \$host at a particular DHCP address, you can only
984 start this request from the client machine itself.
987 # ------------------------------------
989 # ------------------------------------
991 $Lang{Backup_requested_on_DHCP__host} = "Backup requested on DHCP \$host (\$In{hostIP}) by"
992 . " \$User from \$ENV{REMOTE_ADDR}";
993 $Lang{Backup_requested_on__host_by__User} = "Backup requested on \$host by \$User";
994 $Lang{Backup_stopped_dequeued_on__host_by__User} = "Backup stopped/dequeued on \$host by \$User";
995 $Lang{Restore_requested_to_host__hostDest__backup___num} = "Restore requested to host \$hostDest, backup #\$num,"
996 . " by \$User from \$ENV{REMOTE_ADDR}";
997 $Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}";
999 # -------------------------------------------------
1000 # ------- Stuff that was forgotten ----------------
1001 # -------------------------------------------------
1003 $Lang{Status} = "Status";
1004 $Lang{PC_Summary} = "PC Summary";
1005 $Lang{LOG_file} = "LOG file";
1006 $Lang{LOG_files} = "LOG files";
1007 $Lang{Old_LOGs} = "Old LOGs";
1008 $Lang{Email_summary} = "Email summary";
1009 $Lang{Config_file} = "Config file";
1010 $Lang{Hosts_file} = "Hosts file";
1011 $Lang{Current_queues} = "Current queues";
1012 $Lang{Documentation} = "Documentation";
1014 #$Lang{Host_or_User_name} = "<small>Host or User name:</small>";
1016 $Lang{Hosts} = "Hosts";
1017 $Lang{Select_a_host} = "Select a host...";
1019 $Lang{There_have_been_no_archives} = "<h2> There have been no archives </h2>\n";
1020 $Lang{This_PC_has_never_been_backed_up} = "<h2> This PC has never been backed up!! </h2>\n";
1021 $Lang{This_PC_is_used_by} = "<li>This PC is used by \${UserLink(\$user)}";
1023 $Lang{Extracting_only_Errors} = "(Extracting only Errors)";
1024 $Lang{XferLOG} = "XferLOG";
1025 $Lang{Errors} = "Errors";
1028 $Lang{Last_email_sent_to__was_at___subject} = <<EOF;
1029 <li>Last email sent to \${UserLink(\$user)} was at \$mailTime, subject "\$subj".
1032 $Lang{The_command_cmd_is_currently_running_for_started} = <<EOF;
1033 <li>The command \$cmd is currently running for \$host, started \$startTime.
1037 $Lang{Host_host_is_queued_on_the_background_queue_will_be_backed_up_soon} = <<EOF;
1038 <li>Host \$host is queued on the background queue (will be backed up soon).
1042 $Lang{Host_host_is_queued_on_the_user_queue__will_be_backed_up_soon} = <<EOF;
1043 <li>Host \$host is queued on the user queue (will be backed up soon).
1047 $Lang{A_command_for_host_is_on_the_command_queue_will_run_soon} = <<EOF;
1048 <li>A command for \$host is on the command queue (will run soon).
1052 $Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <<EOF;
1053 <li>Last status is state \"\$Lang->{\$StatusHost{state}}\"\$reason as of \$startTime.
1057 $Lang{Last_error_is____EscHTML_StatusHost_error} = <<EOF;
1058 <li>Last error is \"\${EscHTML(\$StatusHost{error})}\".
1062 $Lang{Pings_to_host_have_failed_StatusHost_deadCnt__consecutive_times} = <<EOF;
1063 <li>Pings to \$host have failed \$StatusHost{deadCnt} consecutive times.
1067 $Lang{Prior_to_that__pings} = "Prior to that, pings";
1070 $Lang{priorStr_to_host_have_succeeded_StatusHostaliveCnt_consecutive_times} = <<EOF;
1071 <li>\$priorStr to \$host have succeeded \$StatusHost{aliveCnt}
1075 $Lang{Because__host_has_been_on_the_network_at_least__Conf_BlackoutGoodCnt_consecutive_times___} = <<EOF;
1076 <li>Because \$host has been on the network at least \$Conf{BlackoutGoodCnt}
1077 consecutive times, it will not be backed up from \$blackoutStr.
1080 $Lang{__time0_to__time1_on__days} = "\$t0 to \$t1 on \$days";
1082 $Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
1083 <li>Backups are deferred for \$hours hours
1084 (<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">change this number</a>).
1087 $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}";
1089 # $Lang{Host_Inhost} = "Host \$In{host}";
1091 $Lang{checkAll} = <<EOF;
1092 <tr><td class="fviewborder">
1093 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Select all
1094 </td><td colspan="5" align="center" class="fviewborder">
1095 <input type="submit" name="Submit" value="Restore selected files">
1099 $Lang{checkAllHosts} = <<EOF;
1100 <tr><td class="fviewborder">
1101 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Select all
1102 </td><td colspan="2" align="center" class="fviewborder">
1103 <input type="submit" name="Submit" value="Archive selected hosts">
1107 $Lang{fileHeader} = <<EOF;
1108 <tr class="fviewheader"><td align=center> Name</td>
1109 <td align="center"> Type</td>
1110 <td align="center"> Mode</td>
1111 <td align="center"> #</td>
1112 <td align="center"> Size</td>
1113 <td align="center"> Date modified</td>
1117 $Lang{Home} = "Home";
1118 $Lang{Browse} = "Browse backups";
1119 $Lang{Last_bad_XferLOG} = "Last bad XferLOG";
1120 $Lang{Last_bad_XferLOG_errors_only} = "Last bad XferLOG (errors only)";
1122 $Lang{This_display_is_merged_with_backup} = <<EOF;
1123 <li> This display is merged with backup #\$numF.
1126 $Lang{Visit_this_directory_in_backup} = <<EOF;
1127 <li> Select the backup you wish to view: <select onChange="window.location=this.value">\$otherDirs </select>
1130 $Lang{Restore_Summary} = <<EOF;
1131 \${h2("Restore Summary")}
1133 Click on the restore number for more details.
1134 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1135 <tr class="tableheader"><td align="center"> Restore# </td>
1136 <td align="center"> Result </td>
1137 <td align="right"> Start Date</td>
1138 <td align="right"> Dur/mins</td>
1139 <td align="right"> #files </td>
1140 <td align="right"> MB </td>
1141 <td align="right"> #tar errs </td>
1142 <td align="right"> #xferErrs </td>
1149 $Lang{Archive_Summary} = <<EOF;
1150 \${h2("Archive Summary")}
1152 Click on the archive number for more details.
1153 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1154 <tr class="tableheader"><td align="center"> Archive# </td>
1155 <td align="center"> Result </td>
1156 <td align="right"> Start Date</td>
1157 <td align="right"> Dur/mins</td>
1164 $Lang{BackupPC__Documentation} = "BackupPC: Documentation";
1169 $Lang{The_directory_is_empty} = <<EOF;
1170 <tr><td bgcolor="#ffffff">The directory \${EscHTML(\$dirDisplay)} is empty
1177 $Lang{backupType_full} = "full";
1178 $Lang{backupType_incr} = "incr";
1179 $Lang{backupType_partial} = "partial";
1181 $Lang{failed} = "failed";
1182 $Lang{success} = "success";
1186 # Hosts states and reasons
1187 $Lang{Status_idle} = "idle";
1188 $Lang{Status_backup_starting} = "backup starting";
1189 $Lang{Status_backup_in_progress} = "backup in progress";
1190 $Lang{Status_restore_starting} = "restore starting";
1191 $Lang{Status_restore_in_progress} = "restore in progress";
1192 $Lang{Status_link_pending} = "link pending";
1193 $Lang{Status_link_running} = "link running";
1195 $Lang{Reason_backup_done} = "backup done";
1196 $Lang{Reason_restore_done} = "restore done";
1197 $Lang{Reason_archive_done} = "archive done";
1198 $Lang{Reason_nothing_to_do} = "nothing to do";
1199 $Lang{Reason_backup_failed} = "backup failed";
1200 $Lang{Reason_restore_failed} = "restore failed";
1201 $Lang{Reason_archive_failed} = "archive failed";
1202 $Lang{Reason_no_ping} = "no ping";
1203 $Lang{Reason_backup_canceled_by_user} = "backup canceled by user";
1204 $Lang{Reason_restore_canceled_by_user} = "restore canceled by user";
1205 $Lang{Reason_archive_canceled_by_user} = "archive canceled by user";
1211 $Lang{EMailNoBackupEverSubj} = "BackupPC: no backups of \$host have succeeded";
1212 $Lang{EMailNoBackupEverMesg} = <<'EOF';
1219 Your PC ($host) has never been successfully backed up by our
1220 PC backup software. PC backups should occur automatically
1221 when your PC is connected to the network. You should contact
1222 computer support if:
1224 - Your PC has been regularly connected to the network, meaning
1225 there is some configuration or setup problem preventing
1226 backups from occurring.
1228 - You don't want your PC backed up and you want these email
1231 Otherwise, please make sure your PC is connected to the network
1232 next time you are in the office.
1236 http://backuppc.sourceforge.net
1240 $Lang{EMailNoBackupRecentSubj} = "BackupPC: no recent backups on \$host";
1241 $Lang{EMailNoBackupRecentMesg} = <<'EOF';
1248 Your PC ($host) has not been successfully backed up for $days days.
1249 Your PC has been correctly backed up $numBackups times from $firstTime to $days
1250 ago. PC backups should occur automatically when your PC is connected
1253 If your PC has been connected for more than a few hours to the
1254 network during the last $days days you should contact IS to find
1255 out why backups are not working.
1257 Otherwise, if you are out of the office, there's not much you can
1258 do, other than manually copying especially critical files to other
1259 media. You should be aware that any files you have created or
1260 changed in the last $days days (including all new email and
1261 attachments) cannot be restored if your PC disk crashes.
1265 http://backuppc.sourceforge.net
1269 $Lang{EMailOutlookBackupSubj} = "BackupPC: Outlook files on \$host need to be backed up";
1270 $Lang{EMailOutlookBackupMesg} = <<'EOF';
1277 The Outlook files on your PC have $howLong.
1278 These files contain all your email, attachments, contact and calendar
1279 information. Your PC has been correctly backed up $numBackups times from
1280 $firstTime to $lastTime days ago. However, Outlook locks all its files when
1281 it is running, preventing these files from being backed up.
1283 It is recommended you backup the Outlook files when you are connected
1284 to the network by exiting Outlook and all other applications, and,
1285 using just your browser, go to this link:
1289 Select "Start Incr Backup" twice to start a new incremental backup.
1290 You can select "Return to $host page" and then hit "reload" to check
1291 the status of the backup. It should take just a few minutes to
1296 http://backuppc.sourceforge.net
1299 $Lang{howLong_not_been_backed_up} = "not been backed up successfully";
1300 $Lang{howLong_not_been_backed_up_for_days_days} = "not been backed up for \$days days";