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 name="ReloadForm" action="\$MyURL" method="get">
28 <input type="hidden" name="action" value="">
29 <table class="tableStnd">
30 <tr><td>Reload the server configuration:<td><input type="button" value="Reload"
31 onClick="document.ReloadForm.action.value='Reload';
32 document.ReloadForm.submit();">
36 \${h2("Server Configuration")}
38 <li><i>Other options can go here... e.g.,</i>
39 <li>Edit server configuration
43 $Lang{Unable_to_connect_to_BackupPC_server} = "Unable to connect to BackupPC server",
44 "This CGI script (\$MyURL) is unable to connect to the BackupPC"
45 . " server on \$Conf{ServerHost} port \$Conf{ServerPort}. The error"
47 "Perhaps the BackupPC server is not running or there is a "
48 . " configuration error. Please report this to your Sys Admin.";
49 $Lang{Admin_Start_Server} = <<EOF;
50 \${h1(qq{$Lang{Unable_to_connect_to_BackupPC_server}})}
51 <form action="\$MyURL" method="get">
52 The BackupPC server at <tt>\$Conf{ServerHost}</tt> port <tt>\$Conf{ServerPort}</tt>
53 is not currently running (maybe you just stopped it, or haven't yet started it).<br>
54 Do you want to start it?
55 <input type="hidden" name="action" value="startServer">
56 <input type="submit" value="Start Server" name="ignore">
62 $Lang{H_BackupPC_Server_Status} = "BackupPC Server Status";
64 $Lang{BackupPC_Server_Status_General_Info}= <<EOF;
65 \${h2(\"General Server Information\")}
68 <li> The servers PID is \$Info{pid}, on host \$Conf{ServerHost},
69 version \$Info{Version}, started at \$serverStartTime.
70 <li> This status was generated at \$now.
71 <li> The configuration was last loaded at \$configLoadTime.
72 <li> PCs will be next queued at \$nextWakeupTime.
75 <li>\$numBgQueue pending backup requests from last scheduled wakeup,
76 <li>\$numUserQueue pending user backup requests,
77 <li>\$numCmdQueue pending command requests,
79 <li>Pool file system was recently at \$Info{DUlastValue}%
80 (\$DUlastTime), today\'s max is \$Info{DUDailyMax}% (\$DUmaxTime)
81 and yesterday\'s max was \$Info{DUDailyMaxPrev}%.
86 $Lang{BackupPC_Server_Status} = <<EOF;
87 \${h1(qq{$Lang{H_BackupPC_Server_Status}})}
92 \${h2("Currently Running Jobs")}
94 <table class="tableStnd" border cellspacing="1" cellpadding="3">
95 <tr class="tableheader"><td> Host </td>
100 <td align="center"> PID </td>
101 <td align="center"> Xfer PID </td>
107 \${h2("Failures that need attention")}
109 <table class="tableStnd" border cellspacing="1" cellpadding="3">
110 <tr class="tableheader"><td align="center"> Host </td>
111 <td align="center"> Type </td>
112 <td align="center"> User </td>
113 <td align="center"> Last Try </td>
114 <td align="center"> Details </td>
115 <td align="center"> Error Time </td>
116 <td> Last error (other than no ping) </td></tr>
121 # --------------------------------
122 $Lang{BackupPC__Server_Summary} = "BackupPC: Host Summary";
123 $Lang{BackupPC__Archive} = "BackupPC: Archive";
124 $Lang{BackupPC_Summary} = <<EOF;
126 \${h1(qq{$Lang{BackupPC__Server_Summary}})}
129 <li>This status was generated at \$now.
130 <li>Pool file system was recently at \$Info{DUlastValue}%
131 (\$DUlastTime), today\'s max is \$Info{DUDailyMax}% (\$DUmaxTime)
132 and yesterday\'s max was \$Info{DUDailyMaxPrev}%.
136 \${h2("Hosts with good Backups")}
138 There are \$hostCntGood hosts that have been backed up, for a total of:
140 <li> \$fullTot full backups of total size \${fullSizeTot}GB
141 (prior to pooling and compression),
142 <li> \$incrTot incr backups of total size \${incrSizeTot}GB
143 (prior to pooling and compression).
146 <table class="sortable" id="host_summary_backups" border cellpadding="3" cellspacing="1">
147 <tr class="tableheader"><td> Host </td>
148 <td align="center"> User </td>
149 <td align="center"> #Full </td>
150 <td align="center"> Full Age (days) </td>
151 <td align="center"> Full Size (GB) </td>
152 <td align="center"> Speed (MB/s) </td>
153 <td align="center"> #Incr </td>
154 <td align="center"> Incr Age (days) </td>
155 <td align="center"> Last Backup (days) </td>
156 <td align="center"> State </td>
157 <td align="center"> #Xfer errs </td>
158 <td align="center"> Last attempt </td></tr>
162 \${h2("Hosts with no Backups")}
164 There are \$hostCntNone hosts with no backups.
166 <table class="sortable" id="host_summary_nobackups" border cellpadding="3" cellspacing="1">
167 <tr class="tableheader"><td> Host </td>
168 <td align="center"> User </td>
169 <td align="center"> #Full </td>
170 <td align="center"> Full Age (days) </td>
171 <td align="center"> Full Size (GB) </td>
172 <td align="center"> Speed (MB/s) </td>
173 <td align="center"> #Incr </td>
174 <td align="center"> Incr Age/days </td>
175 <td align="center"> Last Backup (days) </td>
176 <td align="center"> State </td>
177 <td align="center"> #Xfer errs </td>
178 <td align="center"> Last attempt </td></tr>
183 $Lang{BackupPC_Archive} = <<EOF;
184 \${h1(qq{$Lang{BackupPC__Archive}})}
185 <script language="javascript" type="text/javascript">
188 function checkAll(location)
190 for (var i=0;i<document.form1.elements.length;i++)
192 var e = document.form1.elements[i];
193 if ((e.checked || !e.checked) && e.name != \'all\') {
194 if (eval("document.form1."+location+".checked")) {
203 function toggleThis(checkbox)
205 var cb = eval("document.form1."+checkbox);
206 cb.checked = !cb.checked;
212 There are \$hostCntGood hosts that have been backed up for a total size of \${fullSizeTot}GB
214 <form name="form1" method="post" action="\$MyURL">
215 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
216 <input type="hidden" name="type" value="1">
217 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
218 <input type="hidden" name="action" value="Archive">
219 <table class="tableStnd" border cellpadding="3" cellspacing="1">
220 <tr class="tableheader"><td align=center> Host</td>
221 <td align="center"> User </td>
222 <td align="center"> Backup Size </td>
231 $Lang{BackupPC_Archive2} = <<EOF;
232 \${h1(qq{$Lang{BackupPC__Archive}})}
233 About to archive the following hosts
237 <form action="\$MyURL" method="post">
239 <input type="hidden" name="action" value="Archive">
240 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
241 <input type="hidden" name="type" value="2">
242 <input type="hidden" value="0" name="archive_type">
243 <table class="tableStnd" border cellspacing="1" cellpadding="3">
246 <td colspan=2><input type="submit" value="Start the Archive" name="ignore"></td>
252 $Lang{BackupPC_Archive2_location} = <<EOF;
254 <td>Archive Location/Device</td>
255 <td><input type="text" value="\$ArchiveDest" name="archive_device"></td>
259 $Lang{BackupPC_Archive2_compression} = <<EOF;
263 <input type="radio" value="0" name="compression" \$ArchiveCompNone>None<br>
264 <input type="radio" value="1" name="compression" \$ArchiveCompGzip>gzip<br>
265 <input type="radio" value="2" name="compression" \$ArchiveCompBzip2>bzip2
270 $Lang{BackupPC_Archive2_parity} = <<EOF;
272 <td>Percentage of Parity Data (0 = disable, 5 = typical)</td>
273 <td><input type="numeric" value="\$ArchivePar" name="par"></td>
277 $Lang{BackupPC_Archive2_split} = <<EOF;
279 <td>Split output into</td>
280 <td><input type="numeric" value="\$ArchiveSplit" name="splitsize">Megabytes</td>
284 # -----------------------------------
285 $Lang{Pool_Stat} = <<EOF;
286 <li>Pool is \${poolSize}GB comprising \$info->{"\${name}FileCnt"} files
287 and \$info->{"\${name}DirCnt"} directories (as of \$poolTime),
288 <li>Pool hashing gives \$info->{"\${name}FileCntRep"} repeated
289 files with longest chain \$info->{"\${name}FileRepMax"},
290 <li>Nightly cleanup removed \$info->{"\${name}FileCntRm"} files of
291 size \${poolRmSize}GB (around \$poolTime),
294 # --------------------------------
295 $Lang{BackupPC__Backup_Requested_on__host} = "BackupPC: Backup Requested on \$host";
296 # --------------------------------
297 $Lang{REPLY_FROM_SERVER} = <<EOF;
300 Reply from server was: \$reply
302 Go back to <a href="\$MyURL?host=\$host">\$host home page</a>.
304 # --------------------------------
305 $Lang{BackupPC__Start_Backup_Confirm_on__host} = "BackupPC: Start Backup Confirm on \$host";
306 # --------------------------------
307 $Lang{Are_you_sure_start} = <<EOF;
308 \${h1("Are you sure?")}
310 You are about to start a \$type backup on \$host.
312 <form name="Confirm" action="\$MyURL" method="get">
313 <input type="hidden" name="host" value="\$host">
314 <input type="hidden" name="hostIP" value="\$ipAddr">
315 <input type="hidden" name="doit" value="1">
316 <input type="hidden" name="action" value="">
317 Do you really want to do this?
318 <input type="button" value="\$buttonText"
319 onClick="document.Confirm.action.value='\$In{action}';
320 document.Confirm.submit();">
321 <input type="submit" value="No" name="ignore">
324 # --------------------------------
325 $Lang{BackupPC__Stop_Backup_Confirm_on__host} = "BackupPC: Stop Backup Confirm on \$host";
326 # --------------------------------
327 $Lang{Are_you_sure_stop} = <<EOF;
329 \${h1("Are you sure?")}
332 You are about to stop/dequeue backups on \$host;
334 <form name="Confirm" action="\$MyURL" method="get">
335 <input type="hidden" name="host" value="\$host">
336 <input type="hidden" name="doit" value="1">
337 <input type="hidden" name="action" value="">
338 Also, please don\'t start another backup for
339 <input type="text" name="backoff" size="10" value="\$backoff"> hours.
341 Do you really want to do this?
342 <input type="button" value="\$buttonText"
343 onClick="document.Confirm.action.value='\$In{action}';
344 document.Confirm.submit();">
345 <input type="submit" value="No" name="ignore">
349 # --------------------------------
350 $Lang{Only_privileged_users_can_view_queues_} = "Only privileged users can view queues.";
351 # --------------------------------
352 $Lang{Only_privileged_users_can_archive} = "Only privileged users can Archive.";
353 # --------------------------------
354 $Lang{BackupPC__Queue_Summary} = "BackupPC: Queue Summary";
355 # --------------------------------
356 $Lang{Backup_Queue_Summary} = <<EOF;
357 \${h1("Backup Queue Summary")}
359 \${h2("User Queue Summary")}
361 The following user requests are currently queued:
363 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
364 <tr class="tableheader"><td> Host </td>
371 \${h2("Background Queue Summary")}
373 The following background requests are currently queued:
375 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
376 <tr class="tableheader"><td> Host </td>
382 \${h2("Command Queue Summary")}
384 The following command requests are currently queued:
386 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
387 <tr class="tableheader"><td> Host </td>
390 <td> Command </td></tr>
395 # --------------------------------
396 $Lang{Backup_PC__Log_File__file} = "BackupPC: File \$file";
397 $Lang{Log_File__file__comment} = <<EOF;
398 \${h1("File \$file \$comment")}
401 # --------------------------------
402 $Lang{Contents_of_log_file} = <<EOF;
403 Contents of file <tt>\$file</tt>, modified \$mtimeStr \$comment
406 # --------------------------------
407 $Lang{skipped__skipped_lines} = "[ skipped \$skipped lines ]\n";
408 # --------------------------------
409 $Lang{_pre___Can_t_open_log_file__file} = "<pre>\nCan\'t open log file \$file\n";
411 # --------------------------------
412 $Lang{BackupPC__Log_File_History} = "BackupPC: Log File History";
413 $Lang{Log_File_History__hdr} = <<EOF;
414 \${h1("Log File History \$hdr")}
416 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
417 <tr class="tableheader"><td align="center"> File </td>
418 <td align="center"> Size </td>
419 <td align="center"> Modification time </td></tr>
424 # -------------------------------
425 $Lang{Recent_Email_Summary} = <<EOF;
426 \${h1("Recent Email Summary (Reverse time order)")}
428 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
429 <tr class="tableheader"><td align="center"> Recipient </td>
430 <td align="center"> Host </td>
431 <td align="center"> Time </td>
432 <td align="center"> Subject </td></tr>
438 # ------------------------------
439 $Lang{Browse_backup__num_for__host} = "BackupPC: Browse backup \$num for \$host";
441 # ------------------------------
442 $Lang{Restore_Options_for__host} = "BackupPC: Restore Options for \$host";
443 $Lang{Restore_Options_for__host2} = <<EOF;
444 \${h1("Restore Options for \$host")}
446 You have selected the following files/directories from
447 share \$share, backup number #\$num:
452 You have three choices for restoring these files/directories.
453 Please select one of the following options.
455 \${h2("Option 1: Direct Restore")}
459 $Lang{Restore_Options_for__host_Option1} = <<EOF;
460 You can start a restore that will restore these files directly onto
463 <b>Warning:</b> any existing files that match the ones you have
464 selected will be overwritten!
466 <form action="\$MyURL" method="post" name="direct">
467 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
468 <input type="hidden" name="num" value="\$num">
469 <input type="hidden" name="type" value="3">
471 <input type="hidden" value="\$In{action}" name="action">
472 <table class="tableStnd" border="0">
474 <td>Restore the files to host</td>
475 <td><!--<input type="text" size="40" value="\${EscHTML(\$host)}"
477 <select name="hostDest" onChange="document.direct.shareDest.value=''">
480 <script language="Javascript">
481 function myOpen(URL) {
482 window.open(URL,'','width=500,height=400');
485 <!--<a href="javascript:myOpen('\$MyURL?action=findShares&host='+document.direct.hostDest.options.value)">Search for available shares (NOT IMPLEMENTED)</a>--></td>
487 <td>Restore the files to share</td>
488 <td><input type="text" size="40" value="\${EscHTML(\$share)}"
489 name="shareDest"></td>
491 <td>Restore the files below dir<br>(relative to share)</td>
492 <td valign="top"><input type="text" size="40" maxlength="256"
493 value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
495 <td><input type="submit" value="Start Restore" name="ignore"></td>
500 $Lang{Restore_Options_for__host_Option1_disabled} = <<EOF;
501 Direct restore has been disabled for host \${EscHTML(\$hostDest)}.
502 Please select one of the other restore options.
505 # ------------------------------
506 $Lang{Option_2__Download_Zip_archive} = <<EOF;
508 \${h2("Option 2: Download Zip archive")}
510 You can download a Zip archive containing all the files/directories you have
511 selected. You can then use a local application, such as WinZip,
512 to view or extract any of the files.
514 <b>Warning:</b> depending upon which files/directories you have selected,
515 this archive might be very very large. It might take many minutes to
516 create and transfer the archive, and you will need enough local disk
519 <form action="\$MyURL" method="post">
520 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
521 <input type="hidden" name="num" value="\$num">
522 <input type="hidden" name="type" value="2">
524 <input type="hidden" value="\$In{action}" name="action">
525 <input type="checkbox" value="1" name="relative" checked> Make archive relative
526 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
527 (otherwise archive will contain full paths).
529 Compression (0=off, 1=fast,...,9=best)
530 <input type="text" size="6" value="5" name="compressLevel">
532 <input type="submit" value="Download Zip File" name="ignore">
536 # ------------------------------
538 $Lang{Option_2__Download_Zip_archive2} = <<EOF;
540 \${h2("Option 2: Download Zip archive")}
542 Archive::Zip is not installed so you will not be able to download a
544 Please ask your system adminstrator to install Archive::Zip from
545 <a href="http://www.cpan.org">www.cpan.org</a>.
550 # ------------------------------
551 $Lang{Option_3__Download_Zip_archive} = <<EOF;
552 \${h2("Option 3: Download Tar archive")}
554 You can download a Tar archive containing all the files/directories you
555 have selected. You can then use a local application, such as tar or
556 WinZip to view or extract any of the files.
558 <b>Warning:</b> depending upon which files/directories you have selected,
559 this archive might be very very large. It might take many minutes to
560 create and transfer the archive, and you will need enough local disk
563 <form action="\$MyURL" method="post">
564 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
565 <input type="hidden" name="num" value="\$num">
566 <input type="hidden" name="type" value="1">
568 <input type="hidden" value="\$In{action}" name="action">
569 <input type="checkbox" value="1" name="relative" checked> Make archive relative
570 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
571 (otherwise archive will contain full paths).
573 <input type="submit" value="Download Tar File" name="ignore">
578 # ------------------------------
579 $Lang{Restore_Confirm_on__host} = "BackupPC: Restore Confirm on \$host";
581 $Lang{Are_you_sure} = <<EOF;
582 \${h1("Are you sure?")}
584 You are about to start a restore directly to the machine \$In{hostDest}.
585 The following files will be restored to share \$In{shareDest}, from
588 <table class="tableStnd" border>
589 <tr class="tableheader"><td>Original file/dir</td><td>Will be restored to</td></tr>
593 <form name="RestoreForm" action="\$MyURL" method="post">
594 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
595 <input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}">
596 <input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}">
597 <input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}">
598 <input type="hidden" name="num" value="\$num">
599 <input type="hidden" name="type" value="4">
600 <input type="hidden" name="action" value="">
602 Do you really want to do this?
603 <input type="button" value="\$Lang->{Restore}"
604 onClick="document.RestoreForm.action.value='Restore';
605 document.RestoreForm.submit();">
606 <input type="submit" value="No" name="ignore">
611 # --------------------------
612 $Lang{Restore_Requested_on__hostDest} = "BackupPC: Restore Requested on \$hostDest";
613 $Lang{Reply_from_server_was___reply} = <<EOF;
616 Reply from server was: \$reply
618 Go back to <a href="\$MyURL?host=\$hostDest">\$hostDest home page</a>.
621 $Lang{BackupPC_Archive_Reply_from_server} = <<EOF;
624 Reply from server was: \$reply
628 # -------------------------
629 $Lang{Host__host_Backup_Summary} = "BackupPC: Host \$host Backup Summary";
631 $Lang{Host__host_Backup_Summary2} = <<EOF;
632 \${h1("Host \$host Backup Summary")}
639 \${h2("User Actions")}
641 <form name="StartStopForm" action="\$MyURL" method="get">
642 <input type="hidden" name="host" value="\$host">
643 <input type="hidden" name="action" value="">
645 <input type="button" value="\$Lang->{Start_Full_Backup}"
646 onClick="document.StartStopForm.action.value='Start_Full_Backup';
647 document.StartStopForm.submit();">
648 <input type="button" value="\$Lang->{Stop_Dequeue_Backup}"
649 onClick="document.StartStopForm.action.value='Stop_Dequeue_Backup';
650 document.StartStopForm.submit();">
653 \${h2("Backup Summary")}
655 Click on the backup number to browse and restore backup files.
657 <table class="tableStnd" border cellspacing="1" cellpadding="3">
658 <tr class="tableheader"><td align="center"> Backup# </td>
659 <td align="center"> Type </td>
660 <td align="center"> Filled </td>
661 <td align="center"> Level </td>
662 <td align="center"> Start Date </td>
663 <td align="center"> Duration/mins </td>
664 <td align="center"> Age/days </td>
665 <td align="center"> Server Backup Path </td>
674 \${h2("Xfer Error Summary")}
676 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
677 <tr class="tableheader"><td align="center"> Backup# </td>
678 <td align="center"> Type </td>
679 <td align="center"> View </td>
680 <td align="center"> #Xfer errs </td>
681 <td align="center"> #bad files </td>
682 <td align="center"> #bad share </td>
683 <td align="center"> #tar errs </td>
689 \${h2("File Size/Count Reuse Summary")}
691 Existing files are those already in the pool; new files are those added
693 Empty files and SMB errors aren\'t counted in the reuse and new counts.
695 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
696 <tr class="tableheader"><td colspan="2" bgcolor="#ffffff"></td>
697 <td align="center" colspan="3"> Totals </td>
698 <td align="center" colspan="2"> Existing Files </td>
699 <td align="center" colspan="2"> New Files </td>
701 <tr class="tableheader">
702 <td align="center"> Backup# </td>
703 <td align="center"> Type </td>
704 <td align="center"> #Files </td>
705 <td align="center"> Size/MB </td>
706 <td align="center"> MB/sec </td>
707 <td align="center"> #Files </td>
708 <td align="center"> Size/MB </td>
709 <td align="center"> #Files </td>
710 <td align="center"> Size/MB </td>
716 \${h2("Compression Summary")}
718 Compression performance for files already in the pool and newly
721 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
722 <tr class="tableheader"><td colspan="3" bgcolor="#ffffff"></td>
723 <td align="center" colspan="3"> Existing Files </td>
724 <td align="center" colspan="3"> New Files </td>
726 <tr class="tableheader"><td align="center"> Backup# </td>
727 <td align="center"> Type </td>
728 <td align="center"> Comp Level </td>
729 <td align="center"> Size/MB </td>
730 <td align="center"> Comp/MB </td>
731 <td align="center"> Comp </td>
732 <td align="center"> Size/MB </td>
733 <td align="center"> Comp/MB </td>
734 <td align="center"> Comp </td>
741 $Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary";
742 $Lang{Host__host_Archive_Summary2} = <<EOF;
743 \${h1("Host \$host Archive Summary")}
750 \${h2("User Actions")}
752 <form name="StartStopForm" action="\$MyURL" method="get">
753 <input type="hidden" name="archivehost" value="\$host">
754 <input type="hidden" name="host" value="\$host">
755 <input type="hidden" name="action" value="">
756 <input type="button" value="\$Lang->{Start_Archive}"
757 onClick="document.StartStopForm.action.value='Start_Archive';
758 document.StartStopForm.submit();">
759 <input type="button" value="\$Lang->{Stop_Dequeue_Archive}"
760 onClick="document.StartStopForm.action.value='Stop_Dequeue_Archive';
761 document.StartStopForm.submit();">
768 # -------------------------
769 $Lang{Error} = "BackupPC: Error";
770 $Lang{Error____head} = <<EOF;
771 \${h1("Error: \$head")}
775 # -------------------------
776 $Lang{NavSectionTitle_} = "Server";
778 # -------------------------
779 $Lang{Backup_browse_for__host} = <<EOF;
780 \${h1("Backup browse for \$host")}
782 <script language="javascript" type="text/javascript">
785 function checkAll(location)
787 for (var i=0;i<document.form1.elements.length;i++)
789 var e = document.form1.elements[i];
790 if ((e.checked || !e.checked) && e.name != \'all\') {
791 if (eval("document.form1."+location+".checked")) {
800 function toggleThis(checkbox)
802 var cb = eval("document.form1."+checkbox);
803 cb.checked = !cb.checked;
809 <form name="form0" method="post" action="\$MyURL">
810 <input type="hidden" name="num" value="\$num">
811 <input type="hidden" name="host" value="\$host">
812 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
813 <input type="hidden" name="action" value="browse">
815 <li> You are browsing backup #\$num, which started around \$backupTime
816 (\$backupAge days ago),
818 <li> Enter directory: <input type="text" name="dir" size="50" maxlength="4096" value="\${EscHTML(\$dir)}"> <input type="submit" value="\$Lang->{Go}" name="Submit">
819 <li> Click on a directory below to navigate into that directory,
820 <li> Click on a file below to restore that file,
821 <li> You can view the backup <a href="\$MyURL?action=dirHistory&host=\${EscURI(\$host)}&share=\$shareURI&dir=\$pathURI">history</a> of the current directory.
825 \${h2("Contents of \${EscHTML(\$dirDisplay)}")}
826 <form name="form1" method="post" action="\$MyURL">
827 <input type="hidden" name="num" value="\$num">
828 <input type="hidden" name="host" value="\$host">
829 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
830 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
831 <input type="hidden" name="action" value="Restore">
834 <tr><td valign="top" width="30%">
835 <table align="left" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
839 </td><td valign="top">
841 <table border width="100%" align="left" cellpadding="3" cellspacing="1">
850 This is now in the checkAll row
851 <input type="submit" name="Submit" value="Restore selected files">
856 # ------------------------------
857 $Lang{DirHistory_backup_for__host} = "BackupPC: Directory backup history for \$host";
860 # These two strings are used to build the links for directories and
861 # file versions. Files are appended with a version number.
863 $Lang{DirHistory_dirLink} = "dir";
864 $Lang{DirHistory_fileLink} = "v";
866 $Lang{DirHistory_for__host} = <<EOF;
867 \${h1("Directory backup history for \$host")}
869 This display shows each unique version of files across all
872 <li> Click on a backup number to return to the backup browser,
873 <li> Click on a directory link (\$Lang->{DirHistory_dirLink}) to navigate
875 <li> Click on a file version link (\$Lang->{DirHistory_fileLink}0,
876 \$Lang->{DirHistory_fileLink}1, ...) to download that file,
877 <li> Files with the same contents between different backups have the same
879 <li> Files or directories not present in a particular backup have an
881 <li> Files shown with the same version might have different attributes.
882 Select the backup number to see the file attributes.
885 \${h2("History of \${EscHTML(\$dirDisplay)}")}
888 <table border cellspacing="2" cellpadding="3">
889 <tr class="fviewheader"><td>Backup number</td>\$backupNumStr</tr>
890 <tr class="fviewheader"><td>Backup time</td>\$backupTimeStr</tr>
895 # ------------------------------
896 $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host";
898 $Lang{Restore___num_details_for__host2} = <<EOF;
899 \${h1("Restore #\$num Details for \$host")}
901 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="90%">
902 <tr><td class="tableheader"> Number </td><td class="border"> \$Restores[\$i]{num} </td></tr>
903 <tr><td class="tableheader"> Requested by </td><td class="border"> \$RestoreReq{user} </td></tr>
904 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
905 <tr><td class="tableheader"> Result </td><td class="border"> \$Restores[\$i]{result} </td></tr>
906 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Restores[\$i]{errorMsg} </td></tr>
907 <tr><td class="tableheader"> Source host </td><td class="border"> \$RestoreReq{hostSrc} </td></tr>
908 <tr><td class="tableheader"> Source backup num </td><td class="border"> \$RestoreReq{num} </td></tr>
909 <tr><td class="tableheader"> Source share </td><td class="border"> \$RestoreReq{shareSrc} </td></tr>
910 <tr><td class="tableheader"> Destination host </td><td class="border"> \$RestoreReq{hostDest} </td></tr>
911 <tr><td class="tableheader"> Destination share </td><td class="border"> \$RestoreReq{shareDest} </td></tr>
912 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
913 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
914 <tr><td class="tableheader"> Number of files </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr>
915 <tr><td class="tableheader"> Total size </td><td class="border"> \${MB} MB </td></tr>
916 <tr><td class="tableheader"> Transfer rate </td><td class="border"> \$MBperSec MB/sec </td></tr>
917 <tr><td class="tableheader"> TarCreate errors </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr>
918 <tr><td class="tableheader"> Xfer errors </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr>
919 <tr><td class="tableheader"> Xfer log file </td><td class="border">
920 <a href="\$MyURL?action=view&type=RestoreLOG&num=\$Restores[\$i]{num}&host=\$host">View</a>,
921 <a href="\$MyURL?action=view&type=RestoreErr&num=\$Restores[\$i]{num}&host=\$host">Errors</a>
925 \${h1("File/Directory list")}
927 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="100%">
928 <tr class="tableheader"><td>Original file/dir</td><td>Restored to</td></tr>
933 # ------------------------------
934 $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \$host";
936 $Lang{Archive___num_details_for__host2 } = <<EOF;
937 \${h1("Archive #\$num Details for \$host")}
939 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
940 <tr><td class="tableheader"> Number </td><td class="border"> \$Archives[\$i]{num} </td></tr>
941 <tr><td class="tableheader"> Requested by </td><td class="border"> \$ArchiveReq{user} </td></tr>
942 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
943 <tr><td class="tableheader"> Result </td><td class="border"> \$Archives[\$i]{result} </td></tr>
944 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Archives[\$i]{errorMsg} </td></tr>
945 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
946 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
947 <tr><td class="tableheader"> Xfer log file </td><td class="border">
948 <a href="\$MyURL?action=view&type=ArchiveLOG&num=\$Archives[\$i]{num}&host=\$host">View</a>,
949 <a href="\$MyURL?action=view&type=ArchiveErr&num=\$Archives[\$i]{num}&host=\$host">Errors</a>
955 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
956 <tr class="tableheader"><td>Host</td><td>Backup Number</td></tr>
961 # -----------------------------------
962 $Lang{Email_Summary} = "BackupPC: Email Summary";
964 # -----------------------------------
965 # !! ERROR messages !!
966 # -----------------------------------
967 $Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->new failed: check apache error_log\n";
968 $Lang{Wrong_user__my_userid_is___} =
969 "Wrong user: my userid is \$>, instead of \$uid"
970 . "(\$Conf{BackupPCUser})\n";
971 # $Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries.";
972 $Lang{Only_privileged_users_can_stop_or_start_backups} =
973 "Only privileged users can stop or start backups on"
974 . " \${EscHTML(\$host)}.";
975 $Lang{Invalid_number__num} = "Invalid number \$num";
976 $Lang{Unable_to_open__file__configuration_problem} = "Unable to open \$file: configuration problem?";
977 $Lang{Only_privileged_users_can_view_log_or_config_files} = "Only privileged users can view log or config files.";
978 $Lang{Only_privileged_users_can_view_log_files} = "Only privileged users can view log files.";
979 $Lang{Only_privileged_users_can_view_email_summaries} = "Only privileged users can view email summaries.";
980 $Lang{Only_privileged_users_can_browse_backup_files} = "Only privileged users can browse backup files"
981 . " for host \${EscHTML(\$In{host})}.";
982 $Lang{Empty_host_name} = "Empty host name.";
983 $Lang{Directory___EscHTML} = "Directory \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}"
985 $Lang{Can_t_browse_bad_directory_name2} = "Can\'t browse bad directory name"
986 . " \${EscHTML(\$relDir)}";
987 $Lang{Only_privileged_users_can_restore_backup_files} = "Only privileged users can restore backup files"
988 . " for host \${EscHTML(\$In{host})}.";
989 $Lang{Bad_host_name} = "Bad host name \${EscHTML(\$host)}";
990 $Lang{You_haven_t_selected_any_files__please_go_Back_to} = "You haven\'t selected any files; please go Back to"
991 . " select some files.";
992 $Lang{You_haven_t_selected_any_hosts} = "You haven\'t selected any hosts; please go Back to"
993 . " select some hosts.";
994 $Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any of the file names";
995 $Lang{Host__doesn_t_exist} = "Host \${EscHTML(\$In{hostDest})} doesn\'t exist";
996 $Lang{You_don_t_have_permission_to_restore_onto_host} = "You don\'t have permission to restore onto host"
997 . " \${EscHTML(\$In{hostDest})}";
998 $Lang{Can_t_open_create__openPath} = "Can\'t open/create "
999 . "\${EscHTML(\"\$openPath\")}";
1000 $Lang{Only_privileged_users_can_restore_backup_files2} = "Only privileged users can restore backup files"
1001 . " for host \${EscHTML(\$host)}.";
1002 $Lang{Empty_host_name} = "Empty host name";
1003 $Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}";
1004 $Lang{Only_privileged_users_can_view_information_about} = "Only privileged users can view information about"
1005 . " host \${EscHTML(\$host)}." ;
1006 $Lang{Only_privileged_users_can_view_archive_information} = "Only privileged users can view archive information.";
1007 $Lang{Only_privileged_users_can_view_restore_information} = "Only privileged users can view restore information.";
1008 $Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscHTML(\$host)} does"
1010 $Lang{Archive_number__num_for_host__does_not_exist} = "Archive number \$num for host \${EscHTML(\$host)} does"
1012 $Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscHTML(\$host)}";
1013 $Lang{host_is_a_DHCP_host} = <<EOF;
1014 \$host is a DHCP host, and I don\'t know its IP address. I checked the
1015 netbios name of \$ENV{REMOTE_ADDR}\$tryIP, and found that that machine
1018 Until I see \$host at a particular DHCP address, you can only
1019 start this request from the client machine itself.
1022 # ------------------------------------
1024 # ------------------------------------
1026 $Lang{Backup_requested_on_DHCP__host} = "Backup requested on DHCP \$host (\$In{hostIP}) by"
1027 . " \$User from \$ENV{REMOTE_ADDR}";
1028 $Lang{Backup_requested_on__host_by__User} = "Backup requested on \$host by \$User";
1029 $Lang{Backup_stopped_dequeued_on__host_by__User} = "Backup stopped/dequeued on \$host by \$User";
1030 $Lang{Restore_requested_to_host__hostDest__backup___num} = "Restore requested to host \$hostDest, backup #\$num,"
1031 . " by \$User from \$ENV{REMOTE_ADDR}";
1032 $Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}";
1034 # -------------------------------------------------
1035 # ------- Stuff that was forgotten ----------------
1036 # -------------------------------------------------
1038 $Lang{Status} = "Status";
1039 $Lang{PC_Summary} = "Host Summary";
1040 $Lang{LOG_file} = "LOG file";
1041 $Lang{LOG_files} = "LOG files";
1042 $Lang{Old_LOGs} = "Old LOGs";
1043 $Lang{Email_summary} = "Email summary";
1044 $Lang{Config_file} = "Config file";
1045 # $Lang{Hosts_file} = "Hosts file";
1046 $Lang{Current_queues} = "Current queues";
1047 $Lang{Documentation} = "Documentation";
1049 #$Lang{Host_or_User_name} = "<small>Host or User name:</small>";
1051 $Lang{Hosts} = "Hosts";
1052 $Lang{Select_a_host} = "Select a host...";
1054 $Lang{There_have_been_no_archives} = "<h2> There have been no archives </h2>\n";
1055 $Lang{This_PC_has_never_been_backed_up} = "<h2> This PC has never been backed up!! </h2>\n";
1056 $Lang{This_PC_is_used_by} = "<li>This PC is used by \${UserLink(\$user)}";
1058 $Lang{Extracting_only_Errors} = "(Extracting only Errors)";
1059 $Lang{XferLOG} = "XferLOG";
1060 $Lang{Errors} = "Errors";
1063 $Lang{Last_email_sent_to__was_at___subject} = <<EOF;
1064 <li>Last email sent to \${UserLink(\$user)} was at \$mailTime, subject "\$subj".
1067 $Lang{The_command_cmd_is_currently_running_for_started} = <<EOF;
1068 <li>The command \$cmd is currently running for \$host, started \$startTime.
1072 $Lang{Host_host_is_queued_on_the_background_queue_will_be_backed_up_soon} = <<EOF;
1073 <li>Host \$host is queued on the background queue (will be backed up soon).
1077 $Lang{Host_host_is_queued_on_the_user_queue__will_be_backed_up_soon} = <<EOF;
1078 <li>Host \$host is queued on the user queue (will be backed up soon).
1082 $Lang{A_command_for_host_is_on_the_command_queue_will_run_soon} = <<EOF;
1083 <li>A command for \$host is on the command queue (will run soon).
1087 $Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <<EOF;
1088 <li>Last status is state \"\$Lang->{\$StatusHost{state}}\"\$reason as of \$startTime.
1092 $Lang{Last_error_is____EscHTML_StatusHost_error} = <<EOF;
1093 <li>Last error is \"\${EscHTML(\$StatusHost{error})}\".
1097 $Lang{Pings_to_host_have_failed_StatusHost_deadCnt__consecutive_times} = <<EOF;
1098 <li>Pings to \$host have failed \$StatusHost{deadCnt} consecutive times.
1102 $Lang{Prior_to_that__pings} = "Prior to that, pings";
1105 $Lang{priorStr_to_host_have_succeeded_StatusHostaliveCnt_consecutive_times} = <<EOF;
1106 <li>\$priorStr to \$host have succeeded \$StatusHost{aliveCnt}
1110 $Lang{Because__host_has_been_on_the_network_at_least__Conf_BlackoutGoodCnt_consecutive_times___} = <<EOF;
1111 <li>Because \$host has been on the network at least \$Conf{BlackoutGoodCnt}
1112 consecutive times, it will not be backed up from \$blackoutStr.
1115 $Lang{__time0_to__time1_on__days} = "\$t0 to \$t1 on \$days";
1117 $Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
1118 <li>Backups are deferred for \$hours hours
1119 (<a href=\"\$MyURL?action=Stop_Dequeue_Backup&host=\$host\">change this number</a>).
1122 $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}";
1124 # $Lang{Host_Inhost} = "Host \$In{host}";
1126 $Lang{checkAll} = <<EOF;
1127 <tr><td class="fviewborder">
1128 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Select all
1129 </td><td colspan="5" align="center" class="fviewborder">
1130 <input type="submit" name="Submit" value="Restore selected files">
1134 $Lang{checkAllHosts} = <<EOF;
1135 <tr><td class="fviewborder">
1136 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');"> Select all
1137 </td><td colspan="2" align="center" class="fviewborder">
1138 <input type="submit" name="Submit" value="Archive selected hosts">
1142 $Lang{fileHeader} = <<EOF;
1143 <tr class="fviewheader"><td align=center> Name</td>
1144 <td align="center"> Type</td>
1145 <td align="center"> Mode</td>
1146 <td align="center"> #</td>
1147 <td align="center"> Size</td>
1148 <td align="center"> Date modified</td>
1152 $Lang{Home} = "Home";
1153 $Lang{Browse} = "Browse backups";
1154 $Lang{Last_bad_XferLOG} = "Last bad XferLOG";
1155 $Lang{Last_bad_XferLOG_errors_only} = "Last bad XferLOG (errors only)";
1157 $Lang{This_display_is_merged_with_backup} = <<EOF;
1158 <li> This display is merged with backup #\$numF.
1161 $Lang{Visit_this_directory_in_backup} = <<EOF;
1162 <li> Select the backup you wish to view: <select onChange="window.location=this.value">\$otherDirs </select>
1165 $Lang{Restore_Summary} = <<EOF;
1166 \${h2("Restore Summary")}
1168 Click on the restore number for more details.
1169 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1170 <tr class="tableheader"><td align="center"> Restore# </td>
1171 <td align="center"> Result </td>
1172 <td align="right"> Start Date</td>
1173 <td align="right"> Dur/mins</td>
1174 <td align="right"> #files </td>
1175 <td align="right"> MB </td>
1176 <td align="right"> #tar errs </td>
1177 <td align="right"> #xferErrs </td>
1184 $Lang{Archive_Summary} = <<EOF;
1185 \${h2("Archive Summary")}
1187 Click on the archive number for more details.
1188 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1189 <tr class="tableheader"><td align="center"> Archive# </td>
1190 <td align="center"> Result </td>
1191 <td align="right"> Start Date</td>
1192 <td align="right"> Dur/mins</td>
1199 $Lang{BackupPC__Documentation} = "BackupPC: Documentation";
1204 $Lang{The_directory_is_empty} = <<EOF;
1205 <tr><td bgcolor="#ffffff">The directory \${EscHTML(\$dirDisplay)} is empty
1212 $Lang{backupType_full} = "full";
1213 $Lang{backupType_incr} = "incr";
1214 $Lang{backupType_partial} = "partial";
1216 $Lang{failed} = "failed";
1217 $Lang{success} = "success";
1221 # Hosts states and reasons
1222 $Lang{Status_idle} = "idle";
1223 $Lang{Status_backup_starting} = "backup starting";
1224 $Lang{Status_backup_in_progress} = "backup in progress";
1225 $Lang{Status_restore_starting} = "restore starting";
1226 $Lang{Status_restore_in_progress} = "restore in progress";
1227 $Lang{Status_link_pending} = "link pending";
1228 $Lang{Status_link_running} = "link running";
1230 $Lang{Reason_backup_done} = "done";
1231 $Lang{Reason_restore_done} = "restore done";
1232 $Lang{Reason_archive_done} = "archive done";
1233 $Lang{Reason_nothing_to_do} = "idle";
1234 $Lang{Reason_backup_failed} = "backup failed";
1235 $Lang{Reason_restore_failed} = "restore failed";
1236 $Lang{Reason_archive_failed} = "archive failed";
1237 $Lang{Reason_no_ping} = "no ping";
1238 $Lang{Reason_backup_canceled_by_user} = "backup canceled by user";
1239 $Lang{Reason_restore_canceled_by_user} = "restore canceled by user";
1240 $Lang{Reason_archive_canceled_by_user} = "archive canceled by user";
1241 $Lang{Disabled_OnlyManualBackups} = "auto disabled";
1242 $Lang{Disabled_AllBackupsDisabled} = "disabled";
1249 $Lang{EMailNoBackupEverSubj} = "BackupPC: no backups of \$host have succeeded";
1250 $Lang{EMailNoBackupEverMesg} = <<'EOF';
1257 Your PC ($host) has never been successfully backed up by our
1258 PC backup software. PC backups should occur automatically
1259 when your PC is connected to the network. You should contact
1260 computer support if:
1262 - Your PC has been regularly connected to the network, meaning
1263 there is some configuration or setup problem preventing
1264 backups from occurring.
1266 - You don't want your PC backed up and you want these email
1269 Otherwise, please make sure your PC is connected to the network
1270 next time you are in the office.
1274 http://backuppc.sourceforge.net
1278 $Lang{EMailNoBackupRecentSubj} = "BackupPC: no recent backups on \$host";
1279 $Lang{EMailNoBackupRecentMesg} = <<'EOF';
1286 Your PC ($host) has not been successfully backed up for $days days.
1287 Your PC has been correctly backed up $numBackups times from $firstTime to $days
1288 ago. PC backups should occur automatically when your PC is connected
1291 If your PC has been connected for more than a few hours to the
1292 network during the last $days days you should contact IS to find
1293 out why backups are not working.
1295 Otherwise, if you are out of the office, there's not much you can
1296 do, other than manually copying especially critical files to other
1297 media. You should be aware that any files you have created or
1298 changed in the last $days days (including all new email and
1299 attachments) cannot be restored if your PC disk crashes.
1303 http://backuppc.sourceforge.net
1307 $Lang{EMailOutlookBackupSubj} = "BackupPC: Outlook files on \$host need to be backed up";
1308 $Lang{EMailOutlookBackupMesg} = <<'EOF';
1315 The Outlook files on your PC have $howLong.
1316 These files contain all your email, attachments, contact and calendar
1317 information. Your PC has been correctly backed up $numBackups times from
1318 $firstTime to $lastTime days ago. However, Outlook locks all its files when
1319 it is running, preventing these files from being backed up.
1321 It is recommended you backup the Outlook files when you are connected
1322 to the network by exiting Outlook and all other applications, and,
1323 using just your browser, go to this link:
1327 Select "Start Incr Backup" twice to start a new incremental backup.
1328 You can select "Return to $host page" and then hit "reload" to check
1329 the status of the backup. It should take just a few minutes to
1334 http://backuppc.sourceforge.net
1337 $Lang{howLong_not_been_backed_up} = "not been backed up successfully";
1338 $Lang{howLong_not_been_backed_up_for_days_days} = "not been backed up for \$days days";
1340 #######################################################################
1342 #######################################################################
1343 $Lang{RSS_Doc_Title} = "BackupPC Server";
1344 $Lang{RSS_Doc_Description} = "RSS feed for BackupPC";
1345 $Lang{RSS_Host_Summary} = <<EOF;
1346 Full Count: \$fullCnt;
1347 Full Age/days: \$fullAge;
1348 Full Size/GB: \$fullSize;
1349 Speed MB/sec: \$fullRate;
1350 Incr Count: \$incrCnt;
1351 Incr Age/Days: \$incrAge;
1352 State: \$host_state;
1353 Last Attempt: \$host_last_attempt;
1356 #######################################################################
1357 # Configuration editor strings
1358 #######################################################################
1360 $Lang{Only_privileged_users_can_edit_config_files} = "Only privileged users can edit configuation settings.";
1361 $Lang{CfgEdit_Edit_Config} = "Edit Config";
1362 $Lang{CfgEdit_Edit_Hosts} = "Edit Hosts";
1364 $Lang{CfgEdit_Title_Server} = "Server";
1365 $Lang{CfgEdit_Title_General_Parameters} = "General Parameters";
1366 $Lang{CfgEdit_Title_Wakeup_Schedule} = "Wakeup Schedule";
1367 $Lang{CfgEdit_Title_Concurrent_Jobs} = "Concurrent Jobs";
1368 $Lang{CfgEdit_Title_Pool_Filesystem_Limits} = "Pool Filesystem Limits";
1369 $Lang{CfgEdit_Title_Other_Parameters} = "Other Parameters";
1370 $Lang{CfgEdit_Title_Remote_Apache_Settings} = "Remote Apache Settings";
1371 $Lang{CfgEdit_Title_Program_Paths} = "Program Paths";
1372 $Lang{CfgEdit_Title_Install_Paths} = "Install Paths";
1373 $Lang{CfgEdit_Title_Email} = "Email";
1374 $Lang{CfgEdit_Title_Email_settings} = "Email settings";
1375 $Lang{CfgEdit_Title_Email_User_Messages} = "Email User Messages";
1376 $Lang{CfgEdit_Title_CGI} = "CGI";
1377 $Lang{CfgEdit_Title_Admin_Privileges} = "Admin Privileges";
1378 $Lang{CfgEdit_Title_Page_Rendering} = "Page Rendering";
1379 $Lang{CfgEdit_Title_Paths} = "Paths";
1380 $Lang{CfgEdit_Title_User_URLs} = "User URLs";
1381 $Lang{CfgEdit_Title_User_Config_Editing} = "User Config Editing";
1382 $Lang{CfgEdit_Title_Xfer} = "Xfer";
1383 $Lang{CfgEdit_Title_Xfer_Settings} = "Xfer Settings";
1384 $Lang{CfgEdit_Title_Ftp_Settings} = "FTP Settings";
1385 $Lang{CfgEdit_Title_Smb_Settings} = "Smb Settings";
1386 $Lang{CfgEdit_Title_Tar_Settings} = "Tar Settings";
1387 $Lang{CfgEdit_Title_Rsync_Settings} = "Rsync Settings";
1388 $Lang{CfgEdit_Title_Rsyncd_Settings} = "Rsyncd Settings";
1389 $Lang{CfgEdit_Title_Archive_Settings} = "Archive Settings";
1390 $Lang{CfgEdit_Title_Include_Exclude} = "Include/Exclude";
1391 $Lang{CfgEdit_Title_Smb_Paths_Commands} = "Smb Paths/Commands";
1392 $Lang{CfgEdit_Title_Tar_Paths_Commands} = "Tar Paths/Commands";
1393 $Lang{CfgEdit_Title_Rsync_Paths_Commands_Args} = "Rsync Paths/Commands/Args";
1394 $Lang{CfgEdit_Title_Rsyncd_Port_Args} = "Rsyncd Port/Args";
1395 $Lang{CfgEdit_Title_Archive_Paths_Commands} = "Archive Paths/Commands";
1396 $Lang{CfgEdit_Title_Schedule} = "Schedule";
1397 $Lang{CfgEdit_Title_Full_Backups} = "Full Backups";
1398 $Lang{CfgEdit_Title_Incremental_Backups} = "Incremental Backups";
1399 $Lang{CfgEdit_Title_Blackouts} = "Blackouts";
1400 $Lang{CfgEdit_Title_Other} = "Other";
1401 $Lang{CfgEdit_Title_Backup_Settings} = "Backup Settings";
1402 $Lang{CfgEdit_Title_Client_Lookup} = "Client Lookup";
1403 $Lang{CfgEdit_Title_Other} = "Other";
1404 $Lang{CfgEdit_Title_User_Commands} = "User Commands";
1405 $Lang{CfgEdit_Title_Hosts} = "Hosts";
1407 $Lang{CfgEdit_Hosts_Comment} = <<EOF;
1408 To add a new host, select Add and then enter the name. To start with
1409 the per-host configuration from another host, enter the host name
1410 as NEWHOST=COPYHOST. This will overwrite any existing per-host
1411 configuration for NEWHOST. You can also do this for an existing
1412 host. To delete a host, hit the Delete button. For Add, Delete,
1413 and configuration copy, changes don't take effect until you select
1414 Save. None of the deleted host's backups will be removed,
1415 so if you accidently delete a host, simply re-add it. To completely
1416 remove a host's backups, you need to manually remove the files
1417 below \$topDir/pc/HOST
1420 $Lang{CfgEdit_Header_Main} = <<EOF;
1421 \${h1("Main Configuration Editor")}
1424 $Lang{CfgEdit_Header_Host} = <<EOF;
1425 \${h1("Host \$host Configuration Editor")}
1427 Note: Check Override if you want to modify a value specific to this host.
1431 $Lang{CfgEdit_Button_Save} = "Save";
1432 $Lang{CfgEdit_Button_Insert} = "Insert";
1433 $Lang{CfgEdit_Button_Delete} = "Delete";
1434 $Lang{CfgEdit_Button_Add} = "Add";
1435 $Lang{CfgEdit_Button_Override} = "Override";
1436 $Lang{CfgEdit_Button_New_Key} = "New Key";
1438 $Lang{CfgEdit_Error_No_Save}
1439 = "Error: No save due to errors";
1440 $Lang{CfgEdit_Error__must_be_an_integer}
1441 = "Error: \$var must be an integer";
1442 $Lang{CfgEdit_Error__must_be_real_valued_number}
1443 = "Error: \$var must be a real-valued number";
1444 $Lang{CfgEdit_Error__entry__must_be_an_integer}
1445 = "Error: \$var entry \$k must be an integer";
1446 $Lang{CfgEdit_Error__entry__must_be_real_valued_number}
1447 = "Error: \$var entry \$k must be a real-valued number";
1448 $Lang{CfgEdit_Error__must_be_executable_program}
1449 = "Error: \$var must be a valid executable path";
1450 $Lang{CfgEdit_Error__must_be_valid_option}
1451 = "Error: \$var must be a valid option";
1452 $Lang{CfgEdit_Error_Copy_host_does_not_exist}
1453 = "Copy host \$copyHost doesn't exist; creating full host name \$fullHost. Delete this host if that is not what you wanted.";
1455 $Lang{CfgEdit_Log_Copy_host_config}
1456 = "\$User copied config from host \$fromHost to \$host\n";
1457 $Lang{CfgEdit_Log_Delete_param}
1458 = "\$User deleted \$p from \$conf\n";
1459 $Lang{CfgEdit_Log_Add_param_value}
1460 = "\$User added \$p to \$conf, set to \$value\n";
1461 $Lang{CfgEdit_Log_Change_param_value}
1462 = "\$User changed \$p in \$conf to \$valueNew from \$valueOld\n";
1463 $Lang{CfgEdit_Log_Host_Delete}
1464 = "\$User deleted host \$host\n";
1465 $Lang{CfgEdit_Log_Host_Change}
1466 = "\$User host \$host changed \$key from \$valueOld to \$valueNew\n";
1467 $Lang{CfgEdit_Log_Host_Add}
1468 = "\$User added host \$host: \$value\n";