added only_increment param to all action=browse links
[BackupPC.git] / lib / BackupPC / Config / Meta.pm
index 280b67e..009c6ed 100644 (file)
@@ -10,7 +10,7 @@
 #   Craig Barratt  <cbarratt@users.sourceforge.net>
 #
 # COPYRIGHT
-#   Copyright (C) 2004  Craig Barratt
+#   Copyright (C) 2004-2009  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.2.0, released 31 Jul 2010.
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -80,6 +80,7 @@ use vars qw(%ConfigMeta);
     MaxBackupPCNightlyJobs => "integer",
     BackupPCNightlyPeriod  => "integer",
     MaxOldLogFiles      => "integer",
+    CmdQueueNice        => "integer",
 
     SshPath            => {type => "execPath", undefIfEmpty => 1},
     NmbLookupPath      => {type => "execPath", undefIfEmpty => 1},
@@ -139,7 +140,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",
@@ -189,23 +195,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",
@@ -213,9 +226,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",
@@ -224,22 +240,53 @@ 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",
+    },
+    RsyncArgsExtra      => {
+           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",
+    FtpPassive          => "boolean",
+    FtpBlockSize        => "integer",
+    FtpPort             => "integer",
+    FtpTimeout          => "integer",
+    FtpFollowSymlinks   => "boolean",
 
+    ######################################################################
+    # Archive Configuration
+    ######################################################################
     ArchiveDest        => "string",
     ArchiveComp                => {
            type   => "select",
@@ -249,6 +296,9 @@ use vars qw(%ConfigMeta);
     ArchiveSplit       => "float",
     ArchiveClientCmd   => "string",
 
+    ######################################################################
+    # Other Client Configuration
+    ######################################################################
     NmbLookupCmd       => "string",
     NmbLookupFindHostCmd => "string",
 
@@ -270,6 +320,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 +351,11 @@ use vars qw(%ConfigMeta);
     CgiURL             => "string",
     Language           => {
            type   => "select",
-           values => [qw(de en es fr it nl pt_br)],
+           values => [qw(cz 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 +380,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 +406,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,6 +421,7 @@ use vars qw(%ConfigMeta);
                 XferMethod                => "boolean",
                 XferLogLevel              => "boolean",
                 ClientCharset             => "boolean",
+                ClientCharsetLegacy       => "boolean",
                 SmbShareName              => "boolean",
                 SmbShareUserName          => "boolean",
                 SmbSharePasswd            => "boolean",
@@ -376,16 +432,28 @@ 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",
+                RsyncArgsExtra            => "boolean",
                 RsyncRestoreArgs          => "boolean",
                 RsyncClientCmd            => "boolean",
+                RsyncClientPath           => "boolean",
                 RsyncClientRestoreCmd     => "boolean",
+                FtpShareName              => "boolean",
+                FtpUserName               => "boolean",
+                FtpPasswd                 => "boolean",
+                FtpBlockSize              => "boolean",
+                FtpPort                   => "boolean",
+                FtpTimeout                => "boolean",
+                FtpFollowSymlinks         => "boolean",
+                FtpRestoreEnabled         => "boolean",
                 ArchiveDest               => "boolean",
                 ArchiveComp               => "boolean",
                 ArchivePar                => "boolean",
@@ -408,6 +476,7 @@ use vars qw(%ConfigMeta);
                 ArchivePostUserCmd        => "boolean",
                 DumpPostShareCmd          => "boolean",
                 DumpPreShareCmd           => "boolean",
+                UserCmdCheckStatus        => "boolean",
                 EMailNotifyMinDays        => "boolean",
                 EMailFromUserName         => "boolean",
                 EMailAdminUserName        => "boolean",
@@ -420,6 +489,7 @@ use vars qw(%ConfigMeta);
                 EMailNotifyOldOutlookDays => "boolean",
                 EMailOutlookBackupSubj    => "boolean",
                 EMailOutlookBackupMesg    => "boolean",
+                EMailHeaders              => "boolean",
            },
     },