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_General_Info}= <<EOF;
63 \${h2(\"General Server Information\")}
66 <li> The servers PID is \$Info{pid}, on host \$Conf{ServerHost},
67 version \$Info{Version}, started at \$serverStartTime.
68 <li> This status was generated at \$now.
69 <li> The configuration was last loaded at \$configLoadTime.
70 <li> PCs will be next queued at \$nextWakeupTime.
73 <li>\$numBgQueue pending backup requests from last scheduled wakeup,
74 <li>\$numUserQueue pending user backup requests,
75 <li>\$numCmdQueue pending command requests,
77 <li>Pool file system was recently at \$Info{DUlastValue}%
78 (\$DUlastTime), today\'s max is \$Info{DUDailyMax}% (\$DUmaxTime)
79 and yesterday\'s max was \$Info{DUDailyMaxPrev}%.
84 $Lang{BackupPC_Server_Status} = <<EOF;
85 \${h1(qq{$Lang{H_BackupPC_Server_Status}})}
90 \${h2("Currently Running Jobs")}
92 <table class="tableStnd" border cellspacing="1" cellpadding="3">
93 <tr class="tableheader"><td> Host </td>
98 <td align="center"> PID </td>
99 <td align="center"> Xfer PID </td>
105 \${h2("Failures that need attention")}
107 <table class="tableStnd" border cellspacing="1" cellpadding="3">
108 <tr class="tableheader"><td align="center"> Host </td>
109 <td align="center"> Type </td>
110 <td align="center"> User </td>
111 <td align="center"> Last Try </td>
112 <td align="center"> Details </td>
113 <td align="center"> Error Time </td>
114 <td> Last error (other than no ping) </td></tr>
119 # --------------------------------
120 $Lang{BackupPC__Server_Summary} = "BackupPC: Server Summary";
121 $Lang{BackupPC__Archive} = "BackupPC: Archive";
122 $Lang{BackupPC_Summary} = <<EOF;
124 \${h1(qq{$Lang{BackupPC__Server_Summary}})}
126 This status was generated at \$now.
129 \${h2("Hosts with good Backups")}
131 There are \$hostCntGood hosts that have been backed up, for a total of:
133 <li> \$fullTot full backups of total size \${fullSizeTot}GB
134 (prior to pooling and compression),
135 <li> \$incrTot incr backups of total size \${incrSizeTot}GB
136 (prior to pooling and compression).
139 <table class="tableStnd" border cellpadding="3" cellspacing="1">
140 <tr class="tableheader"><td> Host </td>
141 <td align="center"> User </td>
142 <td align="center"> #Full </td>
143 <td align="center"> Full Age/days </td>
144 <td align="center"> Full Size/GB </td>
145 <td align="center"> Speed MB/sec </td>
146 <td align="center"> #Incr </td>
147 <td align="center"> Incr Age/days </td>
148 <td align="center"> State </td>
149 <td align="center"> Last attempt </td></tr>
153 \${h2("Hosts with no Backups")}
155 There are \$hostCntNone hosts with no backups.
157 <table class="tableStnd" border cellpadding="3" cellspacing="1">
158 <tr class="tableheader"><td> Host </td>
159 <td align="center"> User </td>
160 <td align="center"> #Full </td>
161 <td align="center"> Full Age/days </td>
162 <td align="center"> Full Size/GB </td>
163 <td align="center"> Speed MB/sec </td>
164 <td align="center"> #Incr </td>
165 <td align="center"> Incr Age/days </td>
166 <td align="center"> Current State </td>
167 <td align="center"> Last backup attempt </td></tr>
172 $Lang{BackupPC_Archive} = <<EOF;
173 \${h1(qq{$Lang{BackupPC__Archive}})}
174 <script language="javascript" type="text/javascript">
177 function checkAll(location)
179 for (var i=0;i<document.form1.elements.length;i++)
181 var e = document.form1.elements[i];
182 if ((e.checked || !e.checked) && e.name != \'all\') {
183 if (eval("document.form1."+location+".checked")) {
192 function toggleThis(checkbox)
194 var cb = eval("document.form1."+checkbox);
195 cb.checked = !cb.checked;
201 There are \$hostCntGood hosts that have been backed up for a total size of \${fullSizeTot}GB
203 <form name="form1" method="post" action="\$MyURL">
204 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
205 <input type="hidden" name="type" value="1">
206 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
207 <input type="hidden" name="action" value="Archive">
208 <table class="tableStnd" border cellpadding="3" cellspacing="1">
209 <tr class="tableheader"><td align=center> Host</td>
210 <td align="center"> User </td>
211 <td align="center"> Backup Size </td>
220 $Lang{BackupPC_Archive2} = <<EOF;
221 \${h1(qq{$Lang{BackupPC__Archive}})}
222 About to archive the following hosts
226 <form action="\$MyURL" method="post">
228 <input type="hidden" name="action" value="Archive">
229 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
230 <input type="hidden" name="type" value="2">
231 <input type="hidden" value="0" name="archive_type">
232 <table class="tableStnd" border cellspacing="1" cellpadding="3">
235 <td colspan=2><input type="submit" value="Start the Archive" name=""></td>
241 $Lang{BackupPC_Archive2_location} = <<EOF;
243 <td>Archive Location/Device</td>
244 <td><input type="text" value="\$ArchiveDest" name="archive_device"></td>
248 $Lang{BackupPC_Archive2_compression} = <<EOF;
252 <input type="radio" value="0" name="compression" \$ArchiveCompNone>None<br>
253 <input type="radio" value="1" name="compression" \$ArchiveCompGzip>gzip<br>
254 <input type="radio" value="2" name="compression" \$ArchiveCompBzip2>bzip2
259 $Lang{BackupPC_Archive2_parity} = <<EOF;
261 <td>Percentage of Parity Data (0 = disable, 5 = typical)</td>
262 <td><input type="numeric" value="\$ArchivePar" name="par"></td>
266 $Lang{BackupPC_Archive2_split} = <<EOF;
268 <td>Split output into</td>
269 <td><input type="numeric" value="\$ArchiveSplit" name="splitsize">Megabytes</td>
273 # -----------------------------------
274 $Lang{Pool_Stat} = <<EOF;
275 <li>Pool is \${poolSize}GB comprising \$info->{"\${name}FileCnt"} files
276 and \$info->{"\${name}DirCnt"} directories (as of \$poolTime),
277 <li>Pool hashing gives \$info->{"\${name}FileCntRep"} repeated
278 files with longest chain \$info->{"\${name}FileRepMax"},
279 <li>Nightly cleanup removed \$info->{"\${name}FileCntRm"} files of
280 size \${poolRmSize}GB (around \$poolTime),
283 # --------------------------------
284 $Lang{BackupPC__Backup_Requested_on__host} = "BackupPC: Backup Requested on \$host";
285 # --------------------------------
286 $Lang{REPLY_FROM_SERVER} = <<EOF;
289 Reply from server was: \$reply
291 Go back to <a href="\$MyURL?host=\$host">\$host home page</a>.
293 # --------------------------------
294 $Lang{BackupPC__Start_Backup_Confirm_on__host} = "BackupPC: Start Backup Confirm on \$host";
295 # --------------------------------
296 $Lang{Are_you_sure_start} = <<EOF;
297 \${h1("Are you sure?")}
299 You are about to start a \$type backup on \$host.
301 <form action="\$MyURL" method="get">
302 <input type="hidden" name="host" value="\$host">
303 <input type="hidden" name="hostIP" value="\$ipAddr">
304 <input type="hidden" name="doit" value="1">
305 Do you really want to do this?
306 <input type="submit" value="\$In{action}" name="action">
307 <input type="submit" value="No" name="">
310 # --------------------------------
311 $Lang{BackupPC__Stop_Backup_Confirm_on__host} = "BackupPC: Stop Backup Confirm on \$host";
312 # --------------------------------
313 $Lang{Are_you_sure_stop} = <<EOF;
315 \${h1("Are you sure?")}
318 You are about to stop/dequeue backups on \$host;
320 <form action="\$MyURL" method="get">
321 <input type="hidden" name="host" value="\$host">
322 <input type="hidden" name="doit" value="1">
323 Also, please don\'t start another backup for
324 <input type="text" name="backoff" size="10" value="\$backoff"> hours.
326 Do you really want to do this?
327 <input type="submit" value="\$In{action}" name="action">
328 <input type="submit" value="No" name="">
332 # --------------------------------
333 $Lang{Only_privileged_users_can_view_queues_} = "Only privileged users can view queues.";
334 # --------------------------------
335 $Lang{Only_privileged_users_can_archive} = "Only privileged users can Archive.";
336 # --------------------------------
337 $Lang{BackupPC__Queue_Summary} = "BackupPC: Queue Summary";
338 # --------------------------------
339 $Lang{Backup_Queue_Summary} = <<EOF;
340 \${h1("Backup Queue Summary")}
342 \${h2("User Queue Summary")}
344 The following user requests are currently queued:
346 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
347 <tr class="tableheader"><td> Host </td>
354 \${h2("Background Queue Summary")}
356 The following background requests are currently queued:
358 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
359 <tr class="tableheader"><td> Host </td>
365 \${h2("Command Queue Summary")}
367 The following command requests are currently queued:
369 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
370 <tr class="tableheader"><td> Host </td>
373 <td> Command </td></tr>
378 # --------------------------------
379 $Lang{Backup_PC__Log_File__file} = "BackupPC: Log File \$file";
380 $Lang{Log_File__file__comment} = <<EOF;
381 \${h1("Log File \$file \$comment")}
384 # --------------------------------
385 $Lang{Contents_of_log_file} = <<EOF;
386 Contents of log file <tt>\$file</tt>, modified \$mtimeStr \$comment
389 # --------------------------------
390 $Lang{skipped__skipped_lines} = "[ skipped \$skipped lines ]\n";
391 # --------------------------------
392 $Lang{_pre___Can_t_open_log_file__file} = "<pre>\nCan\'t open log file \$file\n";
394 # --------------------------------
395 $Lang{BackupPC__Log_File_History} = "BackupPC: Log File History";
396 $Lang{Log_File_History__hdr} = <<EOF;
397 \${h1("Log File History \$hdr")}
399 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
400 <tr class="tableheader"><td align="center"> File </td>
401 <td align="center"> Size </td>
402 <td align="center"> Modification time </td></tr>
407 # -------------------------------
408 $Lang{Recent_Email_Summary} = <<EOF;
409 \${h1("Recent Email Summary (Reverse time order)")}
411 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
412 <tr class="tableheader"><td align="center"> Recipient </td>
413 <td align="center"> Host </td>
414 <td align="center"> Time </td>
415 <td align="center"> Subject </td></tr>
421 # ------------------------------
422 $Lang{Browse_backup__num_for__host} = "BackupPC: Browse backup \$num for \$host";
424 # ------------------------------
425 $Lang{Restore_Options_for__host} = "BackupPC: Restore Options for \$host";
426 $Lang{Restore_Options_for__host2} = <<EOF;
427 \${h1("Restore Options for \$host")}
429 You have selected the following files/directories from
430 share \$share, backup number #\$num:
435 You have three choices for restoring these files/directories.
436 Please select one of the following options.
438 \${h2("Option 1: Direct Restore")}
442 $Lang{Restore_Options_for__host_Option1} = <<EOF;
443 You can start a restore that will restore these files directly onto
446 <b>Warning:</b> any existing files that match the ones you have
447 selected will be overwritten!
449 <form action="\$MyURL" method="post" name="direct">
450 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
451 <input type="hidden" name="num" value="\$num">
452 <input type="hidden" name="type" value="3">
454 <input type="hidden" value="\$In{action}" name="action">
457 <td>Restore the files to host</td>
458 <td><!--<input type="text" size="40" value="\${EscHTML(\$host)}"
460 <select name="hostDest" onChange="document.direct.shareDest.value=''">
463 <script language="Javascript">
464 function myOpen(URL) {
465 window.open(URL,'','width=500,height=400');
468 <!--<a href="javascript:myOpen('\$MyURL?action=findShares&host='+document.direct.hostDest.options.value)">Search for available shares (NOT IMPLEMENTED)</a>--></td>
470 <td>Restore the files to share</td>
471 <td><input type="text" size="40" value="\${EscHTML(\$share)}"
472 name="shareDest"></td>
474 <td>Restore the files below dir<br>(relative to share)</td>
475 <td valign="top"><input type="text" size="40" maxlength="256"
476 value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
478 <td><input type="submit" value="Start Restore" name=""></td>
483 $Lang{Restore_Options_for__host_Option1_disabled} = <<EOF;
484 Direct restore has been disabled for host \${EscHTML(\$hostDest)}.
485 Please select one of the other restore options.
488 # ------------------------------
489 $Lang{Option_2__Download_Zip_archive} = <<EOF;
491 \${h2("Option 2: Download Zip archive")}
493 You can download a Zip archive containing all the files/directories you have
494 selected. You can then use a local application, such as WinZip,
495 to view or extract any of the files.
497 <b>Warning:</b> depending upon which files/directories you have selected,
498 this archive might be very very large. It might take many minutes to
499 create and transfer the archive, and you will need enough local disk
502 <form action="\$MyURL" method="post">
503 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
504 <input type="hidden" name="num" value="\$num">
505 <input type="hidden" name="type" value="2">
507 <input type="hidden" value="\$In{action}" name="action">
508 <input type="checkbox" value="1" name="relative" checked> Make archive relative
509 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
510 (otherwise archive will contain full paths).
512 Compression (0=off, 1=fast,...,9=best)
513 <input type="text" size="6" value="5" name="compressLevel">
515 <input type="submit" value="Download Zip File" name="">
519 # ------------------------------
521 $Lang{Option_2__Download_Zip_archive2} = <<EOF;
523 \${h2("Option 2: Download Zip archive")}
525 Archive::Zip is not installed so you will not be able to download a
527 Please ask your system adminstrator to install Archive::Zip from
528 <a href="http://www.cpan.org">www.cpan.org</a>.
533 # ------------------------------
534 $Lang{Option_3__Download_Zip_archive} = <<EOF;
535 \${h2("Option 3: Download Tar archive")}
537 You can download a Tar archive containing all the files/directories you
538 have selected. You can then use a local application, such as tar or
539 WinZip to view or extract any of the files.
541 <b>Warning:</b> depending upon which files/directories you have selected,
542 this archive might be very very large. It might take many minutes to
543 create and transfer the archive, and you will need enough local disk
546 <form action="\$MyURL" method="post">
547 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
548 <input type="hidden" name="num" value="\$num">
549 <input type="hidden" name="type" value="1">
551 <input type="hidden" value="\$In{action}" name="action">
552 <input type="checkbox" value="1" name="relative" checked> Make archive relative
553 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
554 (otherwise archive will contain full paths).
556 <input type="submit" value="Download Tar File" name="">
561 # ------------------------------
562 $Lang{Restore_Confirm_on__host} = "BackupPC: Restore Confirm on \$host";
564 $Lang{Are_you_sure} = <<EOF;
565 \${h1("Are you sure?")}
567 You are about to start a restore directly to the machine \$In{hostDest}.
568 The following files will be restored to share \$In{shareDest}, from
572 <tr><td>Original file/dir</td><td>Will be restored to</td></tr>
576 <form action="\$MyURL" method="post">
577 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
578 <input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}">
579 <input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}">
580 <input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}">
581 <input type="hidden" name="num" value="\$num">
582 <input type="hidden" name="type" value="4">
584 Do you really want to do this?
585 <input type="submit" value="\$In{action}" name="action">
586 <input type="submit" value="No" name="">
591 # --------------------------
592 $Lang{Restore_Requested_on__hostDest} = "BackupPC: Restore Requested on \$hostDest";
593 $Lang{Reply_from_server_was___reply} = <<EOF;
596 Reply from server was: \$reply
598 Go back to <a href="\$MyURL?host=\$hostDest">\$hostDest home page</a>.
601 $Lang{BackupPC_Archive_Reply_from_server} = <<EOF;
604 Reply from server was: \$reply
608 # -------------------------
609 $Lang{Host__host_Backup_Summary} = "BackupPC: Host \$host Backup Summary";
611 $Lang{Host__host_Backup_Summary2} = <<EOF;
612 \${h1("Host \$host Backup Summary")}
619 \${h2("User Actions")}
621 <form action="\$MyURL" method="get">
622 <input type="hidden" name="host" value="\$host">
624 <input type="submit" value="$Lang{Start_Full_Backup}" name="action">
625 <input type="submit" value="$Lang{Stop_Dequeue_Backup}" name="action">
628 \${h2("Backup Summary")}
630 Click on the backup number to browse and restore backup files.
632 <table class="tableStnd" border cellspacing="1" cellpadding="3">
633 <tr class="tableheader"><td align="center"> Backup# </td>
634 <td align="center"> Type </td>
635 <td align="center"> Filled </td>
636 <td align="center"> Start Date </td>
637 <td align="center"> Duration/mins </td>
638 <td align="center"> Age/days </td>
639 <td align="center"> Server Backup Path </td>
648 \${h2("Xfer Error Summary")}
650 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
651 <tr class="tableheader"><td align="center"> Backup# </td>
652 <td align="center"> Type </td>
653 <td align="center"> View </td>
654 <td align="center"> #Xfer errs </td>
655 <td align="center"> #bad files </td>
656 <td align="center"> #bad share </td>
657 <td align="center"> #tar errs </td>
663 \${h2("File Size/Count Reuse Summary")}
665 Existing files are those already in the pool; new files are those added
667 Empty files and SMB errors aren\'t counted in the reuse and new counts.
669 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
670 <tr class="tableheader"><td colspan="2" bgcolor="#ffffff"></td>
671 <td align="center" colspan="3"> Totals </td>
672 <td align="center" colspan="2"> Existing Files </td>
673 <td align="center" colspan="2"> New Files </td>
675 <tr class="tableheader">
676 <td align="center"> Backup# </td>
677 <td align="center"> Type </td>
678 <td align="center"> #Files </td>
679 <td align="center"> Size/MB </td>
680 <td align="center"> MB/sec </td>
681 <td align="center"> #Files </td>
682 <td align="center"> Size/MB </td>
683 <td align="center"> #Files </td>
684 <td align="center"> Size/MB </td>
690 \${h2("Compression Summary")}
692 Compression performance for files already in the pool and newly
695 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
696 <tr class="tableheader"><td colspan="3" bgcolor="#ffffff"></td>
697 <td align="center" colspan="3"> Existing Files </td>
698 <td align="center" colspan="3"> New Files </td>
700 <tr class="tableheader"><td align="center"> Backup# </td>
701 <td align="center"> Type </td>
702 <td align="center"> Comp Level </td>
703 <td align="center"> Size/MB </td>
704 <td align="center"> Comp/MB </td>
705 <td align="center"> Comp </td>
706 <td align="center"> Size/MB </td>
707 <td align="center"> Comp/MB </td>
708 <td align="center"> Comp </td>
715 $Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary";
716 $Lang{Host__host_Archive_Summary2} = <<EOF;
717 \${h1("Host \$host Archive Summary")}
724 \${h2("User Actions")}
726 <form action="\$MyURL" method="get">
727 <input type="hidden" name="archivehost" value="\$host">
728 <input type="hidden" name="host" value="\$host">
729 <input type="submit" value="$Lang{Start_Archive}" name="action">
730 <input type="submit" value="$Lang{Stop_Dequeue_Archive}" name="action">
737 # -------------------------
738 $Lang{Error} = "BackupPC: Error";
739 $Lang{Error____head} = <<EOF;
740 \${h1("Error: \$head")}
744 # -------------------------
745 $Lang{NavSectionTitle_} = "Server";
747 # -------------------------
748 $Lang{Backup_browse_for__host} = <<EOF;
749 \${h1("Backup browse for \$host")}
751 <script language="javascript" type="text/javascript">
754 function checkAll(location)
756 for (var i=0;i<document.form1.elements.length;i++)
758 var e = document.form1.elements[i];
759 if ((e.checked || !e.checked) && e.name != \'all\') {
760 if (eval("document.form1."+location+".checked")) {
769 function toggleThis(checkbox)
771 var cb = eval("document.form1."+checkbox);
772 cb.checked = !cb.checked;
778 <form name="form0" method="post" action="\$MyURL">
779 <input type="hidden" name="num" value="\$num">
780 <input type="hidden" name="host" value="\$host">
781 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
782 <input type="hidden" name="action" value="browse">
784 <li> You are browsing backup #\$num, which started around \$backupTime
785 (\$backupAge days ago),
787 <li> Enter directory: <input type="text" name="dir" size="50" maxlength="4096" value="\${EscHTML(\$dir)}"> <input type="submit" value="\$Lang->{Go}" name="Submit">
788 <li> Click on a directory below to navigate into that directory,
789 <li> Click on a file below to restore that file,
790 <li> You can view the backup <a href="\$MyURL?action=dirHistory&host=\${EscURI(\$host)}&share=\$shareURI&dir=\$pathURI">history</a> of the current directory.
794 \${h2("Contents of \${EscHTML(\$dirDisplay)}")}
795 <form name="form1" method="post" action="\$MyURL">
796 <input type="hidden" name="num" value="\$num">
797 <input type="hidden" name="host" value="\$host">
798 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
799 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
800 <input type="hidden" name="action" value="$Lang{Restore}">
803 <tr><td valign="top">
804 <br><table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
808 </td><td valign="top">
810 <table border="0" width="100%" align="left" cellpadding="3" cellspacing="1">
819 This is now in the checkAll row
820 <input type="submit" name="Submit" value="Restore selected files">
825 # ------------------------------
826 $Lang{DirHistory_backup_for__host} = "BackupPC: Directory backup history for \$host";
829 # These two strings are used to build the links for directories and
830 # file versions. Files are appended with a version number.
832 $Lang{DirHistory_dirLink} = "dir";
833 $Lang{DirHistory_fileLink} = "v";
835 $Lang{DirHistory_for__host} = <<EOF;
836 \${h1("Directory backup history for \$host")}
838 This display shows each unique version of files across all
841 <li> Click on a backup number to return to the backup browser,
842 <li> Click on a directory link (\$Lang->{DirHistory_dirLink}) to navigate
844 <li> Click on a file version link (\$Lang->{DirHistory_fileLink}0,
845 \$Lang->{DirHistory_fileLink}1, ...) to download that file,
846 <li> Files with the same contents between different backups have the same
848 <li> Files or directories not present in a particular backup have an
850 <li> Files shown with the same version might have different attributes.
851 Select the backup number to see the file attributes.
854 \${h2("History of \${EscHTML(\$dirDisplay)}")}
857 <table cellspacing="2" cellpadding="3">
858 <tr class="fviewheader"><td>Backup number</td>\$backupNumStr</tr>
859 <tr class="fviewheader"><td>Backup time</td>\$backupTimeStr</tr>
864 # ------------------------------
865 $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host";
867 $Lang{Restore___num_details_for__host2} = <<EOF;
868 \${h1("Restore #\$num Details for \$host")}
870 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="90%">
871 <tr><td class="tableheader"> Number </td><td class="border"> \$Restores[\$i]{num} </td></tr>
872 <tr><td class="tableheader"> Requested by </td><td class="border"> \$RestoreReq{user} </td></tr>
873 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
874 <tr><td class="tableheader"> Result </td><td class="border"> \$Restores[\$i]{result} </td></tr>
875 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Restores[\$i]{errorMsg} </td></tr>
876 <tr><td class="tableheader"> Source host </td><td class="border"> \$RestoreReq{hostSrc} </td></tr>
877 <tr><td class="tableheader"> Source backup num </td><td class="border"> \$RestoreReq{num} </td></tr>
878 <tr><td class="tableheader"> Source share </td><td class="border"> \$RestoreReq{shareSrc} </td></tr>
879 <tr><td class="tableheader"> Destination host </td><td class="border"> \$RestoreReq{hostDest} </td></tr>
880 <tr><td class="tableheader"> Destination share </td><td class="border"> \$RestoreReq{shareDest} </td></tr>
881 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
882 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
883 <tr><td class="tableheader"> Number of files </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr>
884 <tr><td class="tableheader"> Total size </td><td class="border"> \${MB} MB </td></tr>
885 <tr><td class="tableheader"> Transfer rate </td><td class="border"> \$MBperSec MB/sec </td></tr>
886 <tr><td class="tableheader"> TarCreate errors </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr>
887 <tr><td class="tableheader"> Xfer errors </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr>
888 <tr><td class="tableheader"> Xfer log file </td><td class="border">
889 <a href="\$MyURL?action=view&type=RestoreLOG&num=\$Restores[\$i]{num}&host=\$host">View</a>,
890 <a href="\$MyURL?action=view&type=RestoreErr&num=\$Restores[\$i]{num}&host=\$host">Errors</a>
894 \${h1("File/Directory list")}
896 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="100%">
897 <tr class="tableheader"><td>Original file/dir</td><td>Restored to</td></tr>
902 # ------------------------------
903 $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \$host";
905 $Lang{Archive___num_details_for__host2 } = <<EOF;
906 \${h1("Archive #\$num Details for \$host")}
908 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
909 <tr><td class="tableheader"> Number </td><td class="border"> \$Archives[\$i]{num} </td></tr>
910 <tr><td class="tableheader"> Requested by </td><td class="border"> \$ArchiveReq{user} </td></tr>
911 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
912 <tr><td class="tableheader"> Result </td><td class="border"> \$Archives[\$i]{result} </td></tr>
913 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Archives[\$i]{errorMsg} </td></tr>
914 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
915 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
916 <tr><td class="tableheader"> Xfer log file </td><td class="border">
917 <a href="\$MyURL?action=view&type=ArchiveLOG&num=\$Archives[\$i]{num}&host=\$host">View</a>,
918 <a href="\$MyURL?action=view&type=ArchiveErr&num=\$Archives[\$i]{num}&host=\$host">Errors</a>
924 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
925 <tr class="tableheader"><td>Host</td><td>Backup Number</td></tr>
930 # -----------------------------------
931 $Lang{Email_Summary} = "BackupPC: Email Summary";
933 # -----------------------------------
934 # !! ERROR messages !!
935 # -----------------------------------
936 $Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->new failed: check apache error_log\n";
937 $Lang{Wrong_user__my_userid_is___} =
938 "Wrong user: my userid is \$>, instead of \$uid"
939 . "(\$Conf{BackupPCUser})\n";
940 # $Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries.";
941 $Lang{Only_privileged_users_can_stop_or_start_backups} =
942 "Only privileged users can stop or start backups on"
943 . " \${EscHTML(\$host)}.";
944 $Lang{Invalid_number__num} = "Invalid number \$num";
945 $Lang{Unable_to_open__file__configuration_problem} = "Unable to open \$file: configuration problem?";
946 $Lang{Only_privileged_users_can_view_log_or_config_files} = "Only privileged users can view log or config files.";
947 $Lang{Only_privileged_users_can_view_log_files} = "Only privileged users can view log files.";
948 $Lang{Only_privileged_users_can_view_email_summaries} = "Only privileged users can view email summaries.";
949 $Lang{Only_privileged_users_can_browse_backup_files} = "Only privileged users can browse backup files"
950 . " for host \${EscHTML(\$In{host})}.";
951 $Lang{Empty_host_name} = "Empty host name.";
952 $Lang{Directory___EscHTML} = "Directory \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}"
954 $Lang{Can_t_browse_bad_directory_name2} = "Can\'t browse bad directory name"
955 . " \${EscHTML(\$relDir)}";
956 $Lang{Only_privileged_users_can_restore_backup_files} = "Only privileged users can restore backup files"
957 . " for host \${EscHTML(\$In{host})}.";
958 $Lang{Bad_host_name} = "Bad host name \${EscHTML(\$host)}";
959 $Lang{You_haven_t_selected_any_files__please_go_Back_to} = "You haven\'t selected any files; please go Back to"
960 . " select some files.";
961 $Lang{You_haven_t_selected_any_hosts} = "You haven\'t selected any hosts; please go Back to"
962 . " select some hosts.";
963 $Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any of the file names";
964 $Lang{Host__doesn_t_exist} = "Host \${EscHTML(\$In{hostDest})} doesn\'t exist";
965 $Lang{You_don_t_have_permission_to_restore_onto_host} = "You don\'t have permission to restore onto host"
966 . " \${EscHTML(\$In{hostDest})}";
967 $Lang{Can_t_open_create} = "Can\'t open/create "
968 . "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}";
969 $Lang{Only_privileged_users_can_restore_backup_files2} = "Only privileged users can restore backup files"
970 . " for host \${EscHTML(\$host)}.";
971 $Lang{Empty_host_name} = "Empty host name";
972 $Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}";
973 $Lang{Only_privileged_users_can_view_information_about} = "Only privileged users can view information about"
974 . " host \${EscHTML(\$host)}." ;
975 $Lang{Only_privileged_users_can_view_archive_information} = "Only privileged users can view archive information.";
976 $Lang{Only_privileged_users_can_view_restore_information} = "Only privileged users can view restore information.";
977 $Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscHTML(\$host)} does"
979 $Lang{Archive_number__num_for_host__does_not_exist} = "Archive number \$num for host \${EscHTML(\$host)} does"
981 $Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscHTML(\$host)}";
982 $Lang{host_is_a_DHCP_host} = <<EOF;
983 \$host is a DHCP host, and I don\'t know its IP address. I checked the
984 netbios name of \$ENV{REMOTE_ADDR}\$tryIP, and found that that machine
987 Until I see \$host at a particular DHCP address, you can only
988 start this request from the client machine itself.
991 # ------------------------------------
993 # ------------------------------------
995 $Lang{Backup_requested_on_DHCP__host} = "Backup requested on DHCP \$host (\$In{hostIP}) by"
996 . " \$User from \$ENV{REMOTE_ADDR}";
997 $Lang{Backup_requested_on__host_by__User} = "Backup requested on \$host by \$User";
998 $Lang{Backup_stopped_dequeued_on__host_by__User} = "Backup stopped/dequeued on \$host by \$User";
999 $Lang{Restore_requested_to_host__hostDest__backup___num} = "Restore requested to host \$hostDest, backup #\$num,"
1000 . " by \$User from \$ENV{REMOTE_ADDR}";
1001 $Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}";
1003 # -------------------------------------------------
1004 # ------- Stuff that was forgotten ----------------
1005 # -------------------------------------------------
1007 $Lang{Status} = "Status";
1008 $Lang{PC_Summary} = "PC Summary";
1009 $Lang{LOG_file} = "LOG file";
1010 $Lang{LOG_files} = "LOG files";
1011 $Lang{Old_LOGs} = "Old LOGs";
1012 $Lang{Email_summary} = "Email summary";
1013 $Lang{Config_file} = "Config file";
1014 $Lang{Hosts_file} = "Hosts file";
1015 $Lang{Current_queues} = "Current queues";
1016 $Lang{Documentation} = "Documentation";
1018 #$Lang{Host_or_User_name} = "<small>Host or User name:</small>";
1020 $Lang{Hosts} = "Hosts";
1021 $Lang{Select_a_host} = "Select a host...";
1023 $Lang{There_have_been_no_archives} = "<h2> There have been no archives </h2>\n";
1024 $Lang{This_PC_has_never_been_backed_up} = "<h2> This PC has never been backed up!! </h2>\n";
1025 $Lang{This_PC_is_used_by} = "<li>This PC is used by \${UserLink(\$user)}";
1027 $Lang{Extracting_only_Errors} = "(Extracting only Errors)";
1028 $Lang{XferLOG} = "XferLOG";
1029 $Lang{Errors} = "Errors";
1032 $Lang{Last_email_sent_to__was_at___subject} = <<EOF;
1033 <li>Last email sent to \${UserLink(\$user)} was at \$mailTime, subject "\$subj".
1036 $Lang{The_command_cmd_is_currently_running_for_started} = <<EOF;
1037 <li>The command \$cmd is currently running for \$host, started \$startTime.
1041 $Lang{Host_host_is_queued_on_the_background_queue_will_be_backed_up_soon} = <<EOF;
1042 <li>Host \$host is queued on the background queue (will be backed up soon).
1046 $Lang{Host_host_is_queued_on_the_user_queue__will_be_backed_up_soon} = <<EOF;
1047 <li>Host \$host is queued on the user queue (will be backed up soon).
1051 $Lang{A_command_for_host_is_on_the_command_queue_will_run_soon} = <<EOF;
1052 <li>A command for \$host is on the command queue (will run soon).
1056 $Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <<EOF;
1057 <li>Last status is state \"\$Lang->{\$StatusHost{state}}\"\$reason as of \$startTime.
1061 $Lang{Last_error_is____EscHTML_StatusHost_error} = <<EOF;
1062 <li>Last error is \"\${EscHTML(\$StatusHost{error})}\".
1066 $Lang{Pings_to_host_have_failed_StatusHost_deadCnt__consecutive_times} = <<EOF;
1067 <li>Pings to \$host have failed \$StatusHost{deadCnt} consecutive times.
1071 $Lang{Prior_to_that__pings} = "Prior to that, pings";
1074 $Lang{priorStr_to_host_have_succeeded_StatusHostaliveCnt_consecutive_times} = <<EOF;
1075 <li>\$priorStr to \$host have succeeded \$StatusHost{aliveCnt}
1079 $Lang{Because__host_has_been_on_the_network_at_least__Conf_BlackoutGoodCnt_consecutive_times___} = <<EOF;
1080 <li>Because \$host has been on the network at least \$Conf{BlackoutGoodCnt}
1081 consecutive times, it will not be backed up from \$blackoutStr.
1084 $Lang{__time0_to__time1_on__days} = "\$t0 to \$t1 on \$days";
1086 $Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
1087 <li>Backups are deferred for \$hours hours
1088 (<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">change this number</a>).
1091 $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}";
1093 # $Lang{Host_Inhost} = "Host \$In{host}";
1095 $Lang{checkAll} = <<EOF;
1096 <tr><td class="fviewborder">
1097 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Select all
1098 </td><td colspan="5" align="center" class="fviewborder">
1099 <input type="submit" name="Submit" value="Restore selected files">
1103 $Lang{checkAllHosts} = <<EOF;
1104 <tr><td class="fviewborder">
1105 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Select all
1106 </td><td colspan="2" align="center" class="fviewborder">
1107 <input type="submit" name="Submit" value="Archive selected hosts">
1111 $Lang{fileHeader} = <<EOF;
1112 <tr class="fviewheader"><td align=center> Name</td>
1113 <td align="center"> Type</td>
1114 <td align="center"> Mode</td>
1115 <td align="center"> #</td>
1116 <td align="center"> Size</td>
1117 <td align="center"> Date modified</td>
1121 $Lang{Home} = "Home";
1122 $Lang{Browse} = "Browse backups";
1123 $Lang{Last_bad_XferLOG} = "Last bad XferLOG";
1124 $Lang{Last_bad_XferLOG_errors_only} = "Last bad XferLOG (errors only)";
1126 $Lang{This_display_is_merged_with_backup} = <<EOF;
1127 <li> This display is merged with backup #\$numF.
1130 $Lang{Visit_this_directory_in_backup} = <<EOF;
1131 <li> Select the backup you wish to view: <select onChange="window.location=this.value">\$otherDirs </select>
1134 $Lang{Restore_Summary} = <<EOF;
1135 \${h2("Restore Summary")}
1137 Click on the restore number for more details.
1138 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1139 <tr class="tableheader"><td align="center"> Restore# </td>
1140 <td align="center"> Result </td>
1141 <td align="right"> Start Date</td>
1142 <td align="right"> Dur/mins</td>
1143 <td align="right"> #files </td>
1144 <td align="right"> MB </td>
1145 <td align="right"> #tar errs </td>
1146 <td align="right"> #xferErrs </td>
1153 $Lang{Archive_Summary} = <<EOF;
1154 \${h2("Archive Summary")}
1156 Click on the archive number for more details.
1157 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1158 <tr class="tableheader"><td align="center"> Archive# </td>
1159 <td align="center"> Result </td>
1160 <td align="right"> Start Date</td>
1161 <td align="right"> Dur/mins</td>
1168 $Lang{BackupPC__Documentation} = "BackupPC: Documentation";
1173 $Lang{The_directory_is_empty} = <<EOF;
1174 <tr><td bgcolor="#ffffff">The directory \${EscHTML(\$dirDisplay)} is empty
1181 $Lang{backupType_full} = "full";
1182 $Lang{backupType_incr} = "incr";
1183 $Lang{backupType_partial} = "partial";
1185 $Lang{failed} = "failed";
1186 $Lang{success} = "success";
1190 # Hosts states and reasons
1191 $Lang{Status_idle} = "idle";
1192 $Lang{Status_backup_starting} = "backup starting";
1193 $Lang{Status_backup_in_progress} = "backup in progress";
1194 $Lang{Status_restore_starting} = "restore starting";
1195 $Lang{Status_restore_in_progress} = "restore in progress";
1196 $Lang{Status_link_pending} = "link pending";
1197 $Lang{Status_link_running} = "link running";
1199 $Lang{Reason_backup_done} = "backup done";
1200 $Lang{Reason_restore_done} = "restore done";
1201 $Lang{Reason_archive_done} = "archive done";
1202 $Lang{Reason_nothing_to_do} = "nothing to do";
1203 $Lang{Reason_backup_failed} = "backup failed";
1204 $Lang{Reason_restore_failed} = "restore failed";
1205 $Lang{Reason_archive_failed} = "archive failed";
1206 $Lang{Reason_no_ping} = "no ping";
1207 $Lang{Reason_backup_canceled_by_user} = "backup canceled by user";
1208 $Lang{Reason_restore_canceled_by_user} = "restore canceled by user";
1209 $Lang{Reason_archive_canceled_by_user} = "archive canceled by user";
1215 $Lang{EMailNoBackupEverSubj} = "BackupPC: no backups of \$host have succeeded";
1216 $Lang{EMailNoBackupEverMesg} = <<'EOF';
1223 Your PC ($host) has never been successfully backed up by our
1224 PC backup software. PC backups should occur automatically
1225 when your PC is connected to the network. You should contact
1226 computer support if:
1228 - Your PC has been regularly connected to the network, meaning
1229 there is some configuration or setup problem preventing
1230 backups from occurring.
1232 - You don't want your PC backed up and you want these email
1235 Otherwise, please make sure your PC is connected to the network
1236 next time you are in the office.
1240 http://backuppc.sourceforge.net
1244 $Lang{EMailNoBackupRecentSubj} = "BackupPC: no recent backups on \$host";
1245 $Lang{EMailNoBackupRecentMesg} = <<'EOF';
1252 Your PC ($host) has not been successfully backed up for $days days.
1253 Your PC has been correctly backed up $numBackups times from $firstTime to $days
1254 ago. PC backups should occur automatically when your PC is connected
1257 If your PC has been connected for more than a few hours to the
1258 network during the last $days days you should contact IS to find
1259 out why backups are not working.
1261 Otherwise, if you are out of the office, there's not much you can
1262 do, other than manually copying especially critical files to other
1263 media. You should be aware that any files you have created or
1264 changed in the last $days days (including all new email and
1265 attachments) cannot be restored if your PC disk crashes.
1269 http://backuppc.sourceforge.net
1273 $Lang{EMailOutlookBackupSubj} = "BackupPC: Outlook files on \$host need to be backed up";
1274 $Lang{EMailOutlookBackupMesg} = <<'EOF';
1281 The Outlook files on your PC have $howLong.
1282 These files contain all your email, attachments, contact and calendar
1283 information. Your PC has been correctly backed up $numBackups times from
1284 $firstTime to $lastTime days ago. However, Outlook locks all its files when
1285 it is running, preventing these files from being backed up.
1287 It is recommended you backup the Outlook files when you are connected
1288 to the network by exiting Outlook and all other applications, and,
1289 using just your browser, go to this link:
1293 Select "Start Incr Backup" twice to start a new incremental backup.
1294 You can select "Return to $host page" and then hit "reload" to check
1295 the status of the backup. It should take just a few minutes to
1300 http://backuppc.sourceforge.net
1303 $Lang{howLong_not_been_backed_up} = "not been backed up successfully";
1304 $Lang{howLong_not_been_backed_up_for_days_days} = "not been backed up for \$days days";