X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FConfig%2FMeta.pm;h=17833c78f511a08cfe592acb89c5970acbbdefc0;hp=fb134b970079c6c325e38321b4d9a6fba4debc2a;hb=5b79f9a3c01bca16dd4d211e76fc53daa549e421;hpb=df717077755b9331fa245f72933ef03add7a3710 diff --git a/lib/BackupPC/Config/Meta.pm b/lib/BackupPC/Config/Meta.pm index fb134b9..17833c7 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.0beta1, released 30 Jul 2006. +# Version 3.1.1, released 22 Dec 2008. # # See http://backuppc.sourceforge.net. # @@ -194,23 +194,30 @@ use vars qw(%ConfigMeta); ###################################################################### XferMethod => { type => "select", - values => [qw(archive rsync rsyncd smb tar)], + values => [qw(archive ftp rsync rsyncd smb tar)], }, XferLogLevel => "integer", ClientCharset => "string", + ClientCharsetLegacy => "string", + ###################################################################### + # Smb Configuration + ###################################################################### SmbShareName => { type => "list", child => "string", }, 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}, + ###################################################################### + # Tar Configuration + ###################################################################### TarShareName => { type => "list", child => "string", @@ -218,9 +225,12 @@ use vars qw(%ConfigMeta); TarClientCmd => "string", TarFullArgs => "string", TarIncrArgs => "string", - TarClientRestoreCmd => "string", + TarClientRestoreCmd => {type => "string", undefIfEmpty => 1}, TarClientPath => {type => "string", undefIfEmpty => 1}, + ###################################################################### + # Rsync Configuration + ###################################################################### RsyncShareName => { type => "list", child => "string", @@ -229,28 +239,58 @@ use vars qw(%ConfigMeta); RsyncClientCmd => "string", RsyncClientRestoreCmd => "string", + ###################################################################### + # Rsyncd Configuration + ###################################################################### RsyncdClientPort => "integer", RsyncdUserName => "string", RsyncdPasswd => "string", RsyncdAuthRequired => "boolean", + ###################################################################### + # Rsync(d) Options + ###################################################################### 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", }, + ###################################################################### + # FTP Configuration + ###################################################################### + FtpShareName => { + type => "list", + child => "string", + }, + FtpUserName => "string", + FtpPasswd => "string", + FtpBlockSize => "integer", + FtpPort => "integer", + FtpTimeout => "integer", + FtpFollowSymlinks => "boolean", + + ###################################################################### + # BackupPCd Configuration + ###################################################################### + BackupPCdShareName => { + type => "list", + child => "string", + }, BackupPCdCmd => "string", BackupPCdPath => "string", - BackupPCdShareName => "string", BackupPCdRestoreCmd => "string", + ###################################################################### + # Archive Configuration + ###################################################################### ArchiveDest => "string", ArchiveComp => { type => "select", @@ -260,6 +300,9 @@ use vars qw(%ConfigMeta); ArchiveSplit => "float", ArchiveClientCmd => "string", + ###################################################################### + # Other Client Configuration + ###################################################################### NmbLookupCmd => "string", NmbLookupFindHostCmd => "string", @@ -312,11 +355,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 => { @@ -341,6 +384,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", @@ -372,6 +417,7 @@ use vars qw(%ConfigMeta); ArchiveInfoKeepCnt => "boolean", BackupFilesOnly => "boolean", BackupFilesExclude => "boolean", + BackupsDisable => "boolean", BlackoutBadPingLimit => "boolean", BlackoutGoodCnt => "boolean", BlackoutPeriods => "boolean", @@ -379,6 +425,7 @@ use vars qw(%ConfigMeta); XferMethod => "boolean", XferLogLevel => "boolean", ClientCharset => "boolean", + ClientCharsetLegacy => "boolean", SmbShareName => "boolean", SmbShareUserName => "boolean", SmbSharePasswd => "boolean", @@ -389,16 +436,29 @@ use vars qw(%ConfigMeta); 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", + FtpShareName => "boolean", + FtpUserName => "boolean", + FtpPasswd => "boolean", + FtpBlockSize => "boolean", + FtpPort => "boolean", + FtpTimeout => "boolean", + BackupPCdShareName => "boolean", + BackupPCdCmd => "boolean", + BackupPCdPath => "boolean", + BackupPCdRestoreCmd => "boolean", ArchiveDest => "boolean", ArchiveComp => "boolean", ArchivePar => "boolean",