⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 en.pm

📁 老外写的linux下的文件备份软件
💻 PM
📖 第 1 页 / 共 4 页
字号:
EOF$Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary";$Lang{Host__host_Archive_Summary2} = <<EOF;\${h1("Host \$host Archive Summary")}<p>\$warnStr<ul>\$statusStr</ul>\${h2("User Actions")}<p><form name="StartStopForm" action="\$MyURL" method="get"><input type="hidden" name="archivehost" value="\$host"><input type="hidden" name="host" value="\$host"><input type="hidden" name="action" value=""><input type="button" value="\$Lang->{Start_Archive}" onClick="document.StartStopForm.action.value='Start_Archive';          document.StartStopForm.submit();"><input type="button" value="\$Lang->{Stop_Dequeue_Archive}" onClick="document.StartStopForm.action.value='Stop_Dequeue_Archive';          document.StartStopForm.submit();"></form>\$ArchiveStrEOF# -------------------------$Lang{Error} = "BackupPC: Error";$Lang{Error____head} = <<EOF;\${h1("Error: \$head")}<p>\$mesg</p>EOF# -------------------------$Lang{NavSectionTitle_} = "Server";# -------------------------$Lang{Backup_browse_for__host} = <<EOF;\${h1("Backup browse for \$host")}<script language="javascript" type="text/javascript"><!--    function checkAll(location)    {      for (var i=0;i<document.form1.elements.length;i++)      {        var e = document.form1.elements[i];        if ((e.checked || !e.checked) && e.name != \'all\') {            if (eval("document.form1."+location+".checked")) {            	e.checked = true;            } else {            	e.checked = false;            }        }      }    }        function toggleThis(checkbox)    {       var cb = eval("document.form1."+checkbox);       cb.checked = !cb.checked;	    }//--></script><form name="form0" method="post" action="\$MyURL"><input type="hidden" name="num" value="\$num"><input type="hidden" name="host" value="\$host"><input type="hidden" name="share" value="\${EscHTML(\$share)}"><input type="hidden" name="action" value="browse"><ul><li> You are browsing backup #\$num, which started around \$backupTime        (\$backupAge days ago),\$filledBackup<li> Enter directory: <input type="text" name="dir" size="50" maxlength="4096" value="\${EscHTML(\$dir)}"> <input type="submit" value="\$Lang->{Go}" name="Submit"><li> Click on a directory below to navigate into that directory,<li> Click on a file below to restore that file,<li> You can view the backup <a href="\$MyURL?action=dirHistory&host=\${EscURI(\$host)}&share=\$shareURI&dir=\$pathURI">history</a> of the current directory.</ul></form>\${h2("Contents of \${EscHTML(\$dirDisplay)}")}<form name="form1" method="post" action="\$MyURL"><input type="hidden" name="num" value="\$num"><input type="hidden" name="host" value="\$host"><input type="hidden" name="share" value="\${EscHTML(\$share)}"><input type="hidden" name="fcbMax" value="\$checkBoxCnt"><input type="hidden" name="action" value="Restore"><br><table width="100%"><tr><td valign="top" width="30%">    <table align="left" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">    \$dirStr    </table></td><td width="3%"></td><td valign="top">    <br>        <table border width="100%" align="left" cellpadding="3" cellspacing="1">        \$fileHeader        \$topCheckAll        \$fileStr        \$checkAll        </table>    </td></tr></table><br><!--This is now in the checkAll row<input type="submit" name="Submit" value="Restore selected files">--></form>EOF# ------------------------------$Lang{DirHistory_backup_for__host} = "BackupPC: Directory backup history for \$host";## These two strings are used to build the links for directories and# file versions.  Files are appended with a version number.#$Lang{DirHistory_dirLink}  = "dir";$Lang{DirHistory_fileLink} = "v";$Lang{DirHistory_for__host} = <<EOF;\${h1("Directory backup history for \$host")}<p>This display shows each unique version of files across allthe backups:<ul><li> Click on a backup number to return to the backup browser,<li> Click on a directory link (\$Lang->{DirHistory_dirLink}) to navigate     into that directory,<li> Click on a file version link (\$Lang->{DirHistory_fileLink}0,     \$Lang->{DirHistory_fileLink}1, ...) to download that file,<li> Files with the same contents between different backups have the same     version number,<li> Files or directories not present in a particular backup have an     empty box.<li> Files shown with the same version might have different attributes.     Select the backup number to see the file attributes.</ul>\${h2("History of \${EscHTML(\$dirDisplay)}")}<br><table border cellspacing="2" cellpadding="3"><tr class="fviewheader"><td>Backup number</td>\$backupNumStr</tr><tr class="fviewheader"><td>Backup time</td>\$backupTimeStr</tr>\$fileStr</table>EOF# ------------------------------$Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host";$Lang{Restore___num_details_for__host2} = <<EOF;\${h1("Restore #\$num Details for \$host")}<p><table class="tableStnd" border cellspacing="1" cellpadding="3" width="90%"><tr><td class="tableheader"> Number </td><td class="border"> \$Restores[\$i]{num} </td></tr><tr><td class="tableheader"> Requested by </td><td class="border"> \$RestoreReq{user} </td></tr><tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr><tr><td class="tableheader"> Result </td><td class="border"> \$Restores[\$i]{result} </td></tr><tr><td class="tableheader"> Error Message </td><td class="border"> \$Restores[\$i]{errorMsg} </td></tr><tr><td class="tableheader"> Source host </td><td class="border"> \$RestoreReq{hostSrc} </td></tr><tr><td class="tableheader"> Source backup num </td><td class="border"> \$RestoreReq{num} </td></tr><tr><td class="tableheader"> Source share </td><td class="border"> \$RestoreReq{shareSrc} </td></tr><tr><td class="tableheader"> Destination host </td><td class="border"> \$RestoreReq{hostDest} </td></tr><tr><td class="tableheader"> Destination share </td><td class="border"> \$RestoreReq{shareDest} </td></tr><tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr><tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr><tr><td class="tableheader"> Number of files </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr><tr><td class="tableheader"> Total size </td><td class="border"> \${MB} MB </td></tr><tr><td class="tableheader"> Transfer rate </td><td class="border"> \$MBperSec MB/sec </td></tr><tr><td class="tableheader"> TarCreate errors </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr><tr><td class="tableheader"> Xfer errors </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr><tr><td class="tableheader"> Xfer log file </td><td class="border"><a href="\$MyURL?action=view&type=RestoreLOG&num=\$Restores[\$i]{num}&host=\$host">View</a>,<a href="\$MyURL?action=view&type=RestoreErr&num=\$Restores[\$i]{num}&host=\$host">Errors</a></tr></tr></table></p>\${h1("File/Directory list")}<p><table class="tableStnd" border cellspacing="1" cellpadding="3" width="100%"><tr class="tableheader"><td>Original file/dir</td><td>Restored to</td></tr>\$fileListStr</table>EOF# ------------------------------$Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \$host";$Lang{Archive___num_details_for__host2 } = <<EOF;\${h1("Archive #\$num Details for \$host")}<p><table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"><tr><td class="tableheader"> Number </td><td class="border"> \$Archives[\$i]{num} </td></tr><tr><td class="tableheader"> Requested by </td><td class="border"> \$ArchiveReq{user} </td></tr><tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr><tr><td class="tableheader"> Result </td><td class="border"> \$Archives[\$i]{result} </td></tr><tr><td class="tableheader"> Error Message </td><td class="border"> \$Archives[\$i]{errorMsg} </td></tr><tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr><tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr><tr><td class="tableheader"> Xfer log file </td><td class="border"><a href="\$MyURL?action=view&type=ArchiveLOG&num=\$Archives[\$i]{num}&host=\$host">View</a>,<a href="\$MyURL?action=view&type=ArchiveErr&num=\$Archives[\$i]{num}&host=\$host">Errors</a></tr></tr></table><p>\${h1("Host list")}<p><table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%"><tr class="tableheader"><td>Host</td><td>Backup Number</td></tr>\$HostListStr</table>EOF# -----------------------------------$Lang{Email_Summary} = "BackupPC: Email Summary";# -----------------------------------#  !! ERROR messages !!# -----------------------------------$Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->new failed: check apache error_log\n";$Lang{Wrong_user__my_userid_is___} =                "Wrong user: my userid is \$>, instead of \$uid"            . "(\$Conf{BackupPCUser})\n";# $Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries.";$Lang{Only_privileged_users_can_stop_or_start_backups} =                   "Only privileged users can stop or start backups on"		. " \${EscHTML(\$host)}.";$Lang{Invalid_number__num} = "Invalid number \$num";$Lang{Unable_to_open__file__configuration_problem} = "Unable to open \$file: configuration problem?";$Lang{Only_privileged_users_can_view_log_or_config_files} = "Only privileged users can view log or config files.";$Lang{Only_privileged_users_can_view_log_files} = "Only privileged users can view log files.";$Lang{Only_privileged_users_can_view_email_summaries} = "Only privileged users can view email summaries.";$Lang{Only_privileged_users_can_browse_backup_files} = "Only privileged users can browse backup files"                . " for host \${EscHTML(\$In{host})}.";$Lang{Empty_host_name} = "Empty host name.";$Lang{Directory___EscHTML} = "Directory \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}"		    . " is empty";$Lang{Can_t_browse_bad_directory_name2} = "Can\'t browse bad directory name"	            . " \${EscHTML(\$relDir)}";$Lang{Only_privileged_users_can_restore_backup_files} = "Only privileged users can restore backup files"                . " for host \${EscHTML(\$In{host})}.";$Lang{Bad_host_name} = "Bad host name \${EscHTML(\$host)}";$Lang{You_haven_t_selected_any_files__please_go_Back_to} = "You haven\'t selected any files; please go Back to"                . " select some files.";$Lang{You_haven_t_selected_any_hosts} = "You haven\'t selected any hosts; please go Back to"                . " select some hosts.";$Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any of the file names";$Lang{Host__doesn_t_exist} = "Host \${EscHTML(\$In{hostDest})} doesn\'t exist";$Lang{You_don_t_have_permission_to_restore_onto_host} = "You don\'t have permission to restore onto host"		    . " \${EscHTML(\$In{hostDest})}";$Lang{Can_t_open_create__openPath} = "Can\'t open/create "		. "\${EscHTML(\"\$openPath\")}";$Lang{Only_privileged_users_can_restore_backup_files2} = "Only privileged users can restore backup files"                . " for host \${EscHTML(\$host)}.";$Lang{Empty_host_name} = "Empty host name";$Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}";$Lang{Only_privileged_users_can_view_information_about} = "Only privileged users can view information about"                . " host \${EscHTML(\$host)}." ;$Lang{Only_privileged_users_can_view_archive_information} = "Only privileged users can view archive information.";$Lang{Only_privileged_users_can_view_restore_information} = "Only privileged users can view restore information.";$Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscHTML(\$host)} does"	        . " not exist.";$Lang{Archive_number__num_for_host__does_not_exist} = "Archive number \$num for host \${EscHTML(\$host)} does"                . " not exist.";$Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscHTML(\$host)}";$Lang{host_is_a_DHCP_host} = <<EOF;\$host is a DHCP host, and I don\'t know its IP address.  I checked thenetbios name of \$ENV{REMOTE_ADDR}\$tryIP, and found that that machineis not \$host.<p>Until I see \$host at a particular DHCP address, you can onlystart this request from the client machine itself.EOF# ------------------------------------# !! Server Mesg !!# ------------------------------------$Lang{Backup_requested_on_DHCP__host} = "Backup requested on DHCP \$host (\$In{hostIP}) by"		                      . " \$User from \$ENV{REMOTE_ADDR}";$Lang{Backup_requested_on__host_by__User} = "Backup requested on \$host by \$User";$Lang{Backup_stopped_dequeued_on__host_by__User} = "Backup stopped/dequeued on \$host by \$User";$Lang{Restore_requested_to_host__hostDest__backup___num} = "Restore requested to host \$hostDest, backup #\$num,"	     . " by \$User from \$ENV{REMOTE_ADDR}";$Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}";# -------------------------------------------------# ------- Stuff that was forgotten ----------------# -------------------------------------------------$Lang{Status} = "Status";$Lang{PC_Summary} = "Host Summary";$Lang{LOG_file} = "LOG file";$Lang{LOG_files} = "LOG files";$Lang{Old_LOGs} = "Old LOGs";$Lang{Email_summary} = "Email summary";$Lang{Config_file} = "Config file";# $Lang{Hosts_file} = "Hosts file";$Lang{Current_queues} = "Current queues";$Lang{Documentation} = "Documentation";#$Lang{Host_or_User_name} = "<small>Host or User name:</small>";$Lang{Go} = "Go";$Lang{Hosts} = "Hosts";$Lang{Select_a_host} = "Select a host...";$Lang{There_have_been_no_archives} = "<h2> There have been no archives </h2>\n";$Lang{This_PC_has_never_been_backed_up} = "<h2> This PC has never been backed up!! </h2>\n";$Lang{This_PC_is_used_by} = "<li>This PC is used by \${UserLink(\$user)}";$Lang{Extracting_only_Errors} = "(Extracting only Errors)";$Lang{XferLOG} = "XferLOG";$Lang{Errors}  = "Errors";# ------------$Lang{Last_email_sent_to__was_at___subject} = <<EOF;<li>Last email sent to \${UserLink(\$user)} was at \$mailTime, subject "\$subj".EOF# ------------$Lang{The_command_cmd_is_currently_running_for_started} = <<EOF;<li>The command \$cmd is currently running for \$host, started \$startTime.EOF# -----------$Lang{Host_host_is_queued_on_the_background_queue_will_be_backed_up_soon} = <<EOF;<li>Host \$host is queued on the background queue (will be backed up soon).EOF# ----------$Lang{Host_host_is_queued_on_the_user_queue__will_be_backed_up_soon} = <<EOF;<li>Host \$host is queued on the user queue (will be backed up soon).EOF# ---------$Lang{A_command_for_host_is_on_the_command_queue_will_run_soon} = <<EOF;<li>A command for \$host is on the command queue (will run soon).EOF# --------$Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <<EOF;<li>Last status is state \"\$Lang->{\$StatusHost{state}}\"\$reason as of \$startTime.EOF# --------$Lang{Last_error_is____EscHTML_StatusHost_error} = <<EOF;<li>Last error is \"\${EscHTML(\$StatusHost{error})}\".EOF# ------$Lang{Pings_to_host_have_failed_StatusHost_deadCnt__consecutive_times} = <<EOF;<li>Pings to \$host have failed \$StatusHost{deadCnt} consecutive times.EOF# -----$Lang{Prior_to_that__pings} = "Prior to that, pings";# -----$Lang{priorStr_to_host_have_succeeded_StatusHostaliveCnt_consecutive_times} = <<EOF;<li>\$priorStr to \$host have succeeded \$StatusHost{aliveCnt}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -