X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FConfig%2FMeta.pm;h=a4f54c21a0ea356fdc29caa27c2867febe234023;hp=3001e454c93a11209b459281d559a5d129d6d9fc;hb=2726b96b1a7026dc3f82250afbfe5ae27ab1c75f;hpb=5b3e6091d542c2e7445d5dd511cdf6e20aec8b8d diff --git a/lib/BackupPC/Config/Meta.pm b/lib/BackupPC/Config/Meta.pm index 3001e45..a4f54c2 100644 --- a/lib/BackupPC/Config/Meta.pm +++ b/lib/BackupPC/Config/Meta.pm @@ -10,7 +10,7 @@ # Craig Barratt # # COPYRIGHT -# Copyright (C) 2004 Craig Barratt +# Copyright (C) 2004-2007 Craig Barratt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ # #======================================================================== # -# Version 3.0.0alpha, released 23 Jan 2006. +# Version 3.1.0beta1, released 23 Sep 2007. # # See http://backuppc.sourceforge.net. # @@ -139,7 +139,12 @@ use vars qw(%ConfigMeta); IncrKeepCnt => "integer", IncrKeepCntMin => "integer", IncrAgeMax => "float", + IncrLevels => { + type => "shortlist", + child => "integer", + }, PartialAgeMax => "float", + BackupsDisable => "integer", IncrFill => "boolean", RestoreInfoKeepCnt => "integer", ArchiveInfoKeepCnt => "integer", @@ -194,6 +199,7 @@ use vars qw(%ConfigMeta); XferLogLevel => "integer", ClientCharset => "string", + ClientCharsetLegacy => "string", SmbShareName => { type => "list", @@ -201,10 +207,10 @@ use vars qw(%ConfigMeta); }, SmbShareUserName => "string", SmbSharePasswd => "string", - SmbClientPath => {type => "string", undefIfEmpty => 1}, + SmbClientPath => {type => "execPath", undefIfEmpty => 1}, SmbClientFullCmd => "string", SmbClientIncrCmd => "string", - SmbClientRestoreCmd => "string", + SmbClientRestoreCmd => {type => "string", undefIfEmpty => 1}, TarShareName => { type => "list", @@ -213,7 +219,7 @@ use vars qw(%ConfigMeta); TarClientCmd => "string", TarFullArgs => "string", TarIncrArgs => "string", - TarClientRestoreCmd => "string", + TarClientRestoreCmd => {type => "string", undefIfEmpty => 1}, TarClientPath => {type => "string", undefIfEmpty => 1}, RsyncShareName => { @@ -225,21 +231,28 @@ use vars qw(%ConfigMeta); RsyncClientRestoreCmd => "string", RsyncdClientPort => "integer", + RsyncdUserName => "string", RsyncdPasswd => "string", RsyncdAuthRequired => "boolean", RsyncCsumCacheVerifyProb => "float", RsyncArgs => { - type => "list", - emptyOk => 1, - child => "string", + type => "list", + emptyOk => 1, + child => "string", }, RsyncRestoreArgs => { - type => "list", - emptyOk => 1, - child => "string", + type => "list", + emptyOk => 1, + undefIfEmpty => 1, + child => "string", }, + BackupPCdCmd => "string", + BackupPCdPath => "string", + BackupPCdShareName => "string", + BackupPCdRestoreCmd => "string", + ArchiveDest => "string", ArchiveComp => { type => "select", @@ -270,6 +283,7 @@ use vars qw(%ConfigMeta); RestorePostUserCmd => {type => "string", undefIfEmpty => 1}, ArchivePreUserCmd => {type => "string", undefIfEmpty => 1}, ArchivePostUserCmd => {type => "string", undefIfEmpty => 1}, + UserCmdCheckStatus => "boolean", ClientNameAlias => {type => "string", undefIfEmpty => 1}, @@ -300,11 +314,11 @@ use vars qw(%ConfigMeta); CgiURL => "string", Language => { type => "select", - values => [qw(de en es fr it nl pt_br)], + values => [qw(de en es fr it nl pl pt_br zh_CN)], }, CgiUserHomePageCheck => "string", CgiUserUrlCreate => "string", - CgiDateFormatMMDD => "boolean", + CgiDateFormatMMDD => "integer", CgiNavBarAdminAllHosts => "boolean", CgiSearchBoxEnable => "boolean", CgiNavBarLinks => { @@ -329,6 +343,8 @@ use vars qw(%ConfigMeta); Reason_no_ping => "string", Reason_backup_canceled_by_user => "string", Status_backup_in_progress => "string", + Disabled_OnlyManualBackups => "string", + Disabled_AllBackupsDisabled => "string", }, }, CgiHeaders => "bigstring", @@ -353,12 +369,14 @@ use vars qw(%ConfigMeta); IncrKeepCnt => "boolean", IncrKeepCntMin => "boolean", IncrAgeMax => "boolean", + IncrLevels => "boolean", PartialAgeMax => "boolean", IncrFill => "boolean", RestoreInfoKeepCnt => "boolean", ArchiveInfoKeepCnt => "boolean", BackupFilesOnly => "boolean", BackupFilesExclude => "boolean", + BackupsDisable => "boolean", BlackoutBadPingLimit => "boolean", BlackoutGoodCnt => "boolean", BlackoutPeriods => "boolean", @@ -366,29 +384,53 @@ use vars qw(%ConfigMeta); XferMethod => "boolean", XferLogLevel => "boolean", ClientCharset => "boolean", + ClientCharsetLegacy => "boolean", SmbShareName => "boolean", SmbShareUserName => "boolean", SmbSharePasswd => "boolean", + SmbClientFullCmd => "boolean", + SmbClientIncrCmd => "boolean", + SmbClientRestoreCmd => "boolean", TarShareName => "boolean", TarFullArgs => "boolean", TarIncrArgs => "boolean", + TarClientCmd => "boolean", + TarClientPath => "boolean", + TarClientRestoreCmd => "boolean", RsyncShareName => "boolean", RsyncdClientPort => "boolean", + RsyncdUserName => "boolean", RsyncdPasswd => "boolean", RsyncdAuthRequired => "boolean", RsyncCsumCacheVerifyProb => "boolean", RsyncArgs => "boolean", RsyncRestoreArgs => "boolean", + RsyncClientCmd => "boolean", + RsyncClientPath => "boolean", + RsyncClientRestoreCmd => "boolean", ArchiveDest => "boolean", ArchiveComp => "boolean", ArchivePar => "boolean", ArchiveSplit => "boolean", + ArchiveClientCmd => "boolean", FixedIPNetBiosNameCheck => "boolean", PingMaxMsec => "boolean", + NmbLookupCmd => "boolean", + NmbLookupFindHostCmd => "boolean", + PingCmd => "boolean", ClientTimeout => "boolean", MaxOldPerPCLogFiles => "boolean", CompressLevel => "boolean", ClientNameAlias => "boolean", + DumpPreUserCmd => "boolean", + DumpPostUserCmd => "boolean", + RestorePreUserCmd => "boolean", + RestorePostUserCmd => "boolean", + ArchivePreUserCmd => "boolean", + ArchivePostUserCmd => "boolean", + DumpPostShareCmd => "boolean", + DumpPreShareCmd => "boolean", + UserCmdCheckStatus => "boolean", EMailNotifyMinDays => "boolean", EMailFromUserName => "boolean", EMailAdminUserName => "boolean", @@ -401,6 +443,7 @@ use vars qw(%ConfigMeta); EMailNotifyOldOutlookDays => "boolean", EMailOutlookBackupSubj => "boolean", EMailOutlookBackupMesg => "boolean", + EMailHeaders => "boolean", }, },