source: dassmodus/trunk/dassmodus/nosferatu/nosferatu/prettynames.py@ 986

Last change on this file since 986 was 986, checked in by pstorz, on Mar 29, 2012 at 2:50:16 PM

added disablebatchinsert

File size: 21.1 KB
Line 
1# -*- coding: utf-8 -*-
2# $Id: prettynames.py 12290 2011-02-10 14:02:38Z pstorz $
3import sys
4PrettyNames = {
5 '3des' : '3DES' ,
6 'abortjobonerror' : 'Abort Job On Error',
7 'accurate' : 'Accurate',
8 'aclsupport' : 'ACL Support',
9 'actiononpurge' : 'Action On Purge',
10 'addprefix' : 'Addprefix',
11 'address' : 'Address',
12 'addr' : 'Addr',
13 'addsuffix' : 'Addsuffix',
14 'admin' : 'Admin',
15 'alertcommand' : 'Alert Command',
16 'allowcompression' : 'Allow Compression',
17 'allowduplicatejobs' : 'Allow Duplicate Jobs',
18 'allowhigherduplicates' : 'Allow Higher Duplicates',
19 'allowmixedpriority' : 'Allow Mixed Priority',
20 'alwaysopen' : 'Always Open',
21 'always' : 'Always',
22 'append' : 'Append' ,
23 'archivedevice' : 'ArchiveDevice',
24 'autochanger' : 'AutoChanger',
25 'automaticmount' : 'Automatic Mount',
26 'autoprune' : 'Auto Prune',
27 'autoselect' : 'Auto Select',
28 'backup' : 'Backup',
29 'backwardspacefile' : 'Backward Space File',
30 'backwardspacerecord' : 'Backward Space Record',
31 'base' : 'Base',
32 'basejob' : 'Base Job',
33 'blockchecksum' : 'BlockChecksum',
34 'blockpositioning' : 'Blockpositioning',
35 'blowfish' : 'Blowfish' ,
36 'bootstrap' : 'Bootstrap',
37 'bsfateom' : 'BSF At EOM',
38 'cancellowerlevelduplicates' : 'Cancel Lower Level Duplicates',
39 'cancelqueuedduplicates' : 'Cancel Queued Duplicates',
40 'cancelrunningduplicates' : 'Cancel Running Duplicates',
41 'catalogacl' : 'Catalog ACL',
42 'catalog' : 'Catalog',
43 'catalogfiles' : 'Catalog Files',
44 'changercommand' : 'Changer Command',
45 'changerdevice' : 'Changer Device',
46 'checkfilechanges' : 'Check File Changes',
47 'checklabels' : 'Check Labels',
48 'cleaningprefix' : 'Cleaning Prefix',
49 'clientacl' : 'Client ACL',
50 'client' : 'Client',
51 'clientconnectwait' : 'Client Connect Wait',
52 'clientrunafterjob' : 'Client Run After Job',
53 'clientrunbeforejob' : 'Client Run Before Job',
54 'closeonpoll' : 'Close On Poll',
55 'commandacl' : 'Command ACL',
56 'command' : 'Command',
57 'compression' : 'Compression',
58 'console' : 'Console',
59 'copy' : 'Copy',
60 'copypool' : 'Copy Pool',
61 'counter' : 'Counter',
62 'data' : 'Data',
63 'dbaddress' : 'DB Address',
64 'dbdriver' : 'DB Driver',
65 'dbname' : 'DB Name',
66 'dbpassword' : 'DB Password',
67 'dbport' : 'DB Port',
68 'dbsocket' : 'DB Socket',
69 'dbuser' : 'DB User',
70 'description' : 'Description',
71 'device' : 'Device',
72 'devicetype' : 'Device Type',
73 'differential' : 'Differential',
74 'differentialpool' : 'Differential Pool',
75 'differentialbackuppool' : 'Differential Backup Pool',
76 'differentialmaxruntime' : 'Differential Max Run Time',
77 'differentialmaxwaittime' : 'Differential Max Wait Time',
78 'diraddress' : 'Dir Address',
79 'diraddresses' : 'Dir Addresses',
80 'director' : 'Director',
81 'dirport' : 'Dirport',
82 'dirsourceaddress' : 'Dir Source Address',
83 'disablebatchinsert' : 'Disable Batch Insert',
84 'disktocatalog': 'Disk To Catalog',
85 'driveindex' : 'Drive Index',
86 'drivetype' : 'Drive Type',
87 'enabled' : 'Enabled',
88 'enablevss' : 'Enable Vss',
89 'enhancedwild' : 'Enhanced Wild',
90 'encryption' : 'Encryption' ,
91 'exclude' : 'Exclude',
92 'excludedircontaining' : 'Exclude Dir Containing',
93 'failjobonerror' : 'Fail Job Onerror',
94 'fastforwardspacefile' : 'Fast Forward Spacefile',
95 'fdaddresses' : 'FD Addresses',
96 'fdaddress' : 'FD Address',
97 'fdconnecttimeout' : 'FD Connect Timeout',
98 'fdpassword' : 'FD Password',
99 'fdport' : 'FD Port',
100 'fdsourceaddress' : 'FD Source Address',
101 'filedaemon' : 'Filedaemon' ,
102 'file' : 'File' ,
103 'fileretention' : 'File Retention',
104 'filesetacl' : 'Fileset ACL',
105 'fileset' : 'Fileset',
106 'forwardspacefile' : 'Forward Space File',
107 'forwardspacerecord' : 'Forward Space Record',
108 'freespacecommand' : 'Free Space Command',
109 'fstype' : 'FS Type',
110 'full' : 'Full',
111 'fullbackuppool' : 'Full Backup Pool',
112 'fullmaxruntime' : 'Full Max Run Time',
113 'fullmaxwaittime' : 'Full Max Wait Time',
114 'fullpool' : 'Full Pool',
115 'gzip' : 'gzip',
116 'gzip1' : 'gzip1',
117 'gzip2' : 'gzip2',
118 'gzip3' : 'gzip3',
119 'gzip4' : 'gzip4',
120 'gzip5' : 'gzip5',
121 'gzip6' : 'gzip6',
122 'gzip7' : 'gzip7',
123 'gzip8' : 'gzip8',
124 'gzip9' : 'gzip9',
125 'hardlinks' : 'Hard Links',
126 'hardwareendoffile' : 'Hardware End Of File',
127 'hardwareendofmedium' : 'Hardware End Of Medium',
128 'heartbeatinterval' : 'Heartbeat Interval',
129 'hfsplussupport' : 'HFS Plus Support',
130 'historyfile' : 'Historyfile',
131 'honornodumpflag' : 'Honor Nodump Flag',
132 'ifnewer': 'If Newer',
133 'ifolder': 'If Older',
134 'ignorecase' : 'Ignore Case',
135 'ignorefilesetchanges' : 'Ignore Fileset Changes',
136 'include' : 'Include',
137 'incremental' : 'Incremental',
138 'incrementalpool' : 'Incremental Pool',
139 'incrementalbackuppool' : 'Incremental Backup Pool',
140 'incrementalmaxruntime' : 'Incremental Maxrun Time',
141 'incrementalmaxwaittime' : 'Incremental Max Wait Time',
142 'initcatalog':'Init Catalog',
143 'ip' : 'IP' ,
144 'ipv4' : 'IPv4',
145 'ipv6' : 'IPv6',
146 'jobacl' : 'Job ACL',
147 'jobdefs' : 'JobDefs',
148 'job' : 'Job',
149 'jobretention' : 'Job Retention',
150 'jobtoverify' : 'Job To Verify',
151 'keepatime' : 'Keep atime',
152 'labelformat' : 'Label Format',
153 'labelmedia' : 'Label Media',
154 'labeltype' : 'Label Type',
155 'level' : 'Level',
156 'lzo' : 'lzo',
157 'mailcommand' : 'Mail Command',
158 'mail' : 'Mail' ,
159 'mailonerror' : 'Mail On Error' ,
160 'mailonsuccess' : 'Mail On Success',
161 'maxdiffinterval' : 'Max Diff Interval',
162 'maxfullinterval' : 'Max Full Interval',
163 'maximumblocksize' : 'Maximum Block Size',
164 'maximumchangerwait' : 'Maximum Changer Wait',
165 'maximumconcurrentjobs' : 'Maximum Concurrent Jobs',
166 'maximumconsoleconnections' : 'Maximum Console Connections',
167 'maximumfilesize' : 'Maximum File Size',
168 'maximumjobspoolsize' : 'Maximum Job Spool Size',
169 'maximum' : 'Maximum',
170 'maximumnetworkbuffersize' : 'Maximum Network Buffer Size',
171 'maximumopenvolumes' : 'Maximum Open Volumes',
172 'maximumopenwait' : 'Maximum Open Wait',
173 'maximumpartsize' : 'Maximum Part Size',
174 'maximumrewindwait' : 'Maximum Rewind Wait',
175 'maximumspoolsize' : 'Maximum Spool Size',
176 'maximumvolumebytes' : 'Maximum Volume Bytes',
177 'maximumvolumefiles' : 'Maximum Volume Files',
178 'maximumvolumejobs' : 'Maximum Volume Jobs',
179 'maximumvolumesize' : 'Maximum Volume Size',
180 'maximumvolumes' : 'Maximum Volumes',
181 'maxrunschedtime' : 'Max Run Sched Time',
182 'maxruntime' : 'Max Run Time',
183 'maxstartdelay' : 'Max Start Delay',
184 'maxwaittime' : 'Max Wait Time',
185 'md5' : 'md5' ,
186 'mediatype' : 'Media Type',
187 'messages' : 'Messages',
188 'migrate' : 'Migrate',
189 'migrationhighbytes' : 'Migration High Bytes',
190 'migrationlowbytes' : 'Migration Low Bytes',
191 'migrationtime' : 'Migration Time',
192 'minimumblocksize' : 'Minimum Block Size',
193 'minimum' : 'Minimum',
194 'monitor' : 'Monitor',
195 'mountcommand' : 'Mount Command',
196 'mountpoint' : 'Mount Point',
197 'mtimeonly' : 'mtime only',
198 'multipleconnections' : 'Multiple Connections',
199 'name' : 'Name',
200 'never':'never',
201 'nextpool' : 'Nextpool',
202 'no': 'No',
203 'noatime' : 'no atime',
204 'oldestvolume': 'Oldest Volume',
205 'offlineonunmount' : 'Offline On Unmount',
206 'onefs' : 'one FS',
207 'operatorcommand' : 'Operator Command' ,
208 'operator' : 'Operator' ,
209 'options' : 'Options' ,
210 'password' : 'Password',
211 'piddirectory' : 'Pid Directory',
212 'pkiencryption' : 'Pki Encryption',
213 'pkikeypair' : 'Pki Keypair',
214 'pkimasterkey' : 'Pki Masterkey',
215 'pkisignatures' : 'Pki Signatures',
216 'pkisigner' : 'Pki Signer',
217 'plugindirectory' : 'Plugin Directory',
218 'pluginoptionsacl' : 'Plugin Options ACL',
219 'pluginoptions' : 'Plugin Options',
220 'plugin' : 'Plugin',
221 'poolacl' : 'Pool ACL',
222 'pool' : 'Pool',
223 'pooloccupancy':'Pool Occupancy',
224 'pooltime':'Pool Time',
225 'pooltype' : 'Pool Type',
226 'pooluncopiedjobs':'Pool Uncopied Jobs',
227 'portable' : 'Portable',
228 'port' : 'Port',
229 'prefermountedvolumes' : 'Prefer Mounted Volumes',
230 'prefixlinks' : 'Prefix Links',
231 'priority' : 'Priority',
232 'prunefiles' : 'Prune Files',
233 'prunejobs' : 'Prune Jobs',
234 'prunevolumes' : 'Prune Volumes',
235 'purgeoldestvolume' : 'Purge Oldest Volume',
236 'queryfile' : 'Query File',
237 'randomaccess' : 'Random Access',
238 'rcfile' : 'Rcfile',
239 'readfifo' : 'Read Fifo',
240 'recurse' : 'Recurse',
241 'recyclecurrentvolume' : 'Recycle Current Volume',
242 'recycleoldestvolume' : 'Recycle Oldest Volume',
243 'recyclepool' : 'Recycle Pool',
244 'recycle' : 'Recycle',
245 'regexdir' : 'Regex Dir',
246 'regexfile' : 'Regex File',
247 'regex' : 'Regex',
248 'regexwhere' : 'Regex Where',
249 'removablemedia' : 'Removable Media',
250 'replace' : 'Replace',
251 'requiresmount' : 'Requires Mount',
252 'rerunfailedlevels' : 'Rerunfailed Levels',
253 'restore': 'Restore',
254 'rescheduleinterval' : 'Reschedule Interval',
255 'rescheduleonerror' : 'Reschedule On Error',
256 'rescheduletimes' : 'Reschedule Times',
257 'runacl' : 'Run ACL',
258 'runafterfailedjob' : 'Run After Failed Job',
259 'runafterjob' : 'Run After Job',
260 'runbeforejob' : 'Run Before Job',
261 'run' : 'Run',
262 'runscript' : 'RunScript',
263 'runsonclient' : 'Runs On Client',
264 'runsonfailure' : 'Runs On Failure',
265 'runsonsuccess' : 'Runs On Success',
266 'runswhen' : 'Runs When',
267 'saved' : 'saved' ,
268 'scheduleacl' : 'Schedule ACL',
269 'schedule' : 'Schedule',
270 'scratchpool' : 'Scratch Pool',
271 'scriptsdirectory' : 'Scripts Directory',
272 'sdaddresses' : 'SD Addresses',
273 'sdaddress' : 'SD Address',
274 'sdconnecttimeout' : 'SD Connect Timeout',
275 'sddport' : 'SD port',
276 'sdpassword' : 'SD Password',
277 'sdport' : 'SD Port',
278 'selectionpattern' : 'Selection Pattern',
279 'selectiontype' : 'Selection Type',
280 'sha1' : 'sha1' ,
281 'sha256' : 'sha256' ,
282 'sha512' : 'sha512' ,
283 'since' :'Since',
284 'signature' : 'Signature',
285 'skipped' : 'skipped',
286 'smallestvolume': 'Smallest Volume',
287 'sparse' : 'Sparse',
288 'spoolattributes' : 'Spool Attributes',
289 'spooldata' : 'Spool Data',
290 'spooldirectory' : 'Spool Directory',
291 'spoolsize' : 'Spool Size',
292 'sqlquery':'SQL Query',
293 'statisticsretention' : 'Statistics Retention',
294 'started' : 'started' ,
295 'stderr' : 'stderr',
296 'stdout' : 'stdout',
297 'storageacl' : 'Storage ACL',
298 'storage' : 'Storage',
299 'strippath' : 'Strip Path',
300 'stripprefix' : 'Strip Prefix',
301 'subsysdirectory' : 'Subsys Directory',
302 'syslog' : 'Syslog',
303 'target' : 'Target',
304 'tlsallowedcn' : 'TLS Allowed CN',
305 'tlsauthenticate' : 'TLS Authenticate',
306 'tlscacertificatedir' : 'TLS CA Certificate Dir',
307 'tlscacertificatefile' : 'TLS CA Certificate File',
308 'tlscertificate' : 'TLS Certificate',
309 'tlsdhfile' : 'TLS DH File',
310 'tlsenable' : 'TLS Enable',
311 'tlskey' : 'TLS Key',
312 'tlsrequire' : 'TLS Require',
313 'tlsverifypeer' : 'TLS Verify Peer',
314 'twoeof' : 'Two EOF',
315 'type' : 'Type',
316 'unmountcommand' : 'Unmount Command',
317 'usecatalog' : 'Use Catalog',
318 'usemtiocget' : 'Use Mtiocget',
319 'user' : 'User',
320 'usevolumeonce' : 'Use Volume Once',
321 'verid' : 'VerID',
322 'verifyjob' : 'Verify Job',
323 'verify' : 'Verify',
324 'virtualfull': 'Virtual Full',
325 'volume':'Volume',
326 'volumecapacity' : 'Volume Capacity',
327 'volumepollinterval' : 'Volume Poll Interval',
328 'volumeretention' : 'Volume Retention',
329 'volumetocatalog' : 'Volume To Catalog' ,
330 'volumeuseduration' : 'Volume Useduration',
331 'whereacl' : 'Where ACL',
332 'where' : 'Where',
333 'wilddir' : 'wilddir',
334 'wildfile' : 'wildfile',
335 'wild' : 'wild',
336 'workingdirectory' : 'Working Directory',
337 'wrapcounter' : 'Wrap Counter',
338 'writebootstrap' : 'Write Bootstrap',
339 'writepartafterjob' : 'Write Part After Job',
340 'writepartcommand' : 'Write Partcommand',
341 'writeverifylist' : 'Write Verify List',
342 'xattrsupport' : 'xattrsupport',
343 'yes': 'Yes',
344
345 }
346
347# Format internal name to pretty name
348def prettyName(name):
349 if not PrettyNames.has_key(name):
350 print >> sys.stderr, 'warning: no key %s' % (name)
351 return PrettyNames.get(name, name)
352#
Note: See TracBrowser for help on using the repository browser.