8 Unicode in Win32 Thorsten Engel (done)
9 VSS Thorsten Engel (in beta testing)
10 Version 1.37 Kern (see below)
11 ========================================================
13 Final items for 1.37 before release:
14 1. Fix the remaining bugs that I am aware of and new ones that come up
16 - --without-openssl breaks at least on Solaris.
17 - bsr-opt-test fails. bsr deleted. Fix.
18 - Allow cancel of unknown Job
19 - State not saved when closing Win32 FD by icon
20 - Move Python daemon variables from Job to Bacula object.
21 WorkingDir, ConfigFile
23 3. Document all the new features (about half done).
24 7. Write a bacula-web document
25 8. Take one more try at making DVD writing work.
26 9. Run the regression scripts on Solaris and FreeBSD
27 - Figure out how to package docs and gui programs.
31 - Document cleaning up the spool files.
32 - Add better documentation on how restores can be done
33 - Document details of ANSI/IBM labels
34 - Document that Bootstrap files can be written with cataloging
36 - Pruning with Admin job.
38 1) ADIC, DLT, FastStor 4000, 7*20GB
39 2) Sun, DDS, (Suns name unknown - Archive Python DDS drive), 1.2GB
40 3) Wangtek, QIC, 6525ES, 525MB (fixed block size 1k, block size etc.
41 driver dependent - aic7xxx works, ncr53c8xx with problems)
42 4) HP, DDS-2, C1553A, 6*4GB
44 to activate, check or disable the hardware compression feature on my
45 exb-8900 i use the exabyte "MammothTool" you can get it here:
46 http://www.exabyte.com/support/online/downloads/index.cfm
47 There is a solaris version of this tool. With option -C 0 or 1 you can
48 disable or activate compression. Start this tool without any options for
50 - Linux Sony LIB-D81, AIT-3 library works.
51 - Document PostgreSQL performance problems bug 131.
53 - Document that ChangerDevice is used for Alert command.
54 - Document new CDROM directory.
55 - Document Heartbeat Interval in the dealing with firewalls section.
56 - Document the multiple-drive-changer.txt script.
57 - On Win32 working directory must have drive letter ????
58 - On Win32 working directory must be writable by SYSTEM to
65 #3 Migration (Move, Copy, Archive Jobs)
66 #7 Single Job Writing to Multiple Storage Devices
67 - Reserve blocks other restore jobs when first cannot connect
68 to SD -- no way to cancel in SD if Dir job canceled.
69 - Add true/false to conf same as yes/no
70 - For Windows disaster recovery see http://unattended.sf.net/
71 - regardless of the retention period, Bacula will not prune the
72 last Full, Diff, or Inc File data until a month after the
73 retention period for the last Full backup that was done.
74 - update volume=xxx --- add status=Full
75 - Remove old spool files on startup.
76 - Exclude SD spool/working directory.
77 - Refuse to prune last valid Full backup. Same goes for Catalog.
79 - Make a callback when Rerun failed levels is called.
80 - Give Python program access to Scheduled jobs.
81 - Add setting Volume State via Python.
82 - Python script to save with Python, not save, save with Bacula.
83 - Python script to do backup.
85 - Change the Priority, Client, Storage, JobStatus (error)
86 at the start of a job.
87 - Why is SpoolDirectory = /home/bacula/spool; not reported
88 as an error when writing a DVD?
89 - Make bootstrap file handle multiple MediaTypes (SD)
90 - Remove all old Device resource code in Dir and code to pass it
91 back in SD -- better, rework it to pass back device statistics.
92 - Check locking of resources -- be sure to lock devices where previously
93 resources were locked.
94 - The last part is left in the spool dir.
97 - In restore don't compare byte count on a raw device -- directory
98 entry does not contain bytes.
99 - To mark files as deleted, run essentially a Verify to disk, and
100 when a file is found missing (MarkId != JobId), then create
101 a new File record with FileIndex == -1. This could be done
102 by the FD at the same time as the backup.
106 MA = (last_MA * 3 + rate) / 4
107 rate = (bytes - last_bytes) / (runtime - last_runtime)
108 - Max Vols limit in Pool off by one?
109 - Implement Files/Bytes,... stats for restore job.
110 - Implement Total Bytes Written, ... for restore job.
111 - Despool attributes simultaneously with data in a separate
112 thread, rejoined at end of data spooling.
113 - 7. Implement new Console commands to allow offlining/reserving drives,
114 and possibly manipulating the autochanger (much asked for).
115 - Add start/end date editing in messages (%t %T, %e?) ...
116 - Add ClientDefs similar to JobDefs.
117 - Print more info when bextract -p accepts a bad block.
118 - Fix FD JobType to be set before RunBeforeJob in FD.
119 - Look at adding full Volume and Pool information to a Volume
120 label so that bscan can get *all* the info.
121 - If the user puts "Purge Oldest Volume = yes" or "Recycle Oldest Volume = yes"
122 and there is only one volume in the pool, refuse to do it -- otherwise
123 he fills the Volume, then immediately starts reusing it.
124 - Implement copies and stripes.
125 - Add history file to console.
126 - Each file on tape creates a JobMedia record. Peter has 4 million
127 files spread over 10000 tape files and four tapes. A restore takes
128 16 hours to build the restore list.
129 - Add and option to check if the file size changed during backup.
130 - Make sure SD deletes spool files on error exit.
131 - Delete old spool files when SD starts.
132 - When labeling tapes, if you enter 000026, Bacula uses
133 the tape index rather than the Volume name 000026.
134 - Add offline tape command to Bacula console.
136 Enter MediaId or Volume name: 32
137 Enter new Volume name: DLT-20Dec04
138 Automatically selected Pool: Default
139 Connecting to Storage daemon DLTDrive at 192.168.68.104:9103 ...
140 Sending relabel command from "DLT-28Jun03" to "DLT-20Dec04" ...
141 block.c:552 Write error at 0:0 on device /dev/nst0. ERR=Bad file descriptor.
142 Error writing final EOF to tape. This tape may not be readable.
143 dev.c:1207 ioctl MTWEOF error on /dev/nst0. ERR=Permission denied.
144 askdir.c:219 NULL Volume name. This shouldn't happen!!!
145 3912 Failed to label Volume: ERR=dev.c:1207 ioctl MTWEOF error on /dev/nst0. ERR=Permission denied.
146 Label command failed for Volume DLT-20Dec04.
147 Do not forget to mount the drive!!!
148 - Bug: if a job is manually scheduled to run later, it does not appear
149 in any status report and cannot be cancelled.
151 ==== Keeping track of deleted files ====
152 My "trick" for keeping track of deletions is the following.
153 Assuming the user turns on this option, after all the files
154 have been backed up, but before the job has terminated, the
155 FD will make a pass through all the files and send their
156 names to the DIR (*exactly* the same as what a Verify job
157 currently does). This will probably be done at the same
158 time the files are being sent to the SD avoiding a second
159 pass. The DIR will then compare that to what is stored in
160 the catalog. Any files in the catalog but not in what the
161 FD sent will receive a catalog File entry that indicates
162 that at that point in time the file was deleted.
164 During a restore, any file initially picked up by some
165 backup (Full, ...) then subsequently having a File entry
166 marked "delete" will be removed from the tree, so will not
167 be restored. If a file with the same name is later OK it
168 will be inserted in the tree -- this already happens. All
169 will be consistent except for possible changes during the
172 Since I'm on the subject, some of you may be wondering what
173 the utility of the in memory tree is if you are going to
174 restore everything (at least it comes up from time to time
175 on the list). Well, it is still *very* useful because it
176 allows only the last item found for a particular filename
177 (full path) to be entered into the tree, and thus if a file
178 is backed up 10 times, only the last copy will be restored.
179 I recently (last Friday) restored a complete directory, and
180 the Full and all the Differential and Incremental backups
181 spanned 3 Volumes. The first Volume was not even mounted
182 because all the files had been updated and hence backed up
183 since the Full backup was made. In this case, the tree
184 saved me a *lot* of time.
186 Make sure this information is stored on the tape too so
187 that it can be restored directly from the tape.
191 - Add Pool/Storage override regression test.
192 - Add delete JobId to regression.
193 - Add a regression test for dbcheck.
194 - New test to add bscan to four-concurrent-jobs regression,
195 i.e. after the four-concurrent jobs zap the
196 database as is done in the bscan-test, then use bscan to
197 restore the database, do a restore and compare with the
199 - Add restore of specific JobId to regression (item 3
200 on the restore prompt)
201 - Add IPv6 to regression
202 - Add database test to regression. Test each function like delete,
205 - AntiVir can slow down backups on Win32 systems.
206 - Win32 systems with FAT32 can be much slower than NTFS for
207 more than 1000 files per directory.
211 - A HOLD command to stop all jobs from starting.
212 - A PAUSE command to pause all running jobs ==> release the
214 - Media Type = LTO,LTO-2,LTO-3
215 Media Type Read = LTO,LTO2,LTO3
216 Media Type Write = LTO2, LTO3
218 === From Carsten Menke <bootsy52@gmx.net>
220 Following is a list of what I think in the situations where I'm faced with,
221 could be a usefull enhancement to bacula, which I'm certain other users will
222 benefit from as well.
224 1. NextJob/NextJobs Directive within a Job Resource in the form of
225 NextJobs = job1,job2.
228 I currently solved the problem with running multiple jobs each after each
229 by setting the Max Wait Time for a job to 8 hours, and give
230 the jobs different Priorities. However, there scenarios where
231 1 Job is directly depending on another job, so if the former job fails,
232 the job after it needn't to be run
233 while maybe other jobs should run despite of that
236 A Backup Job and a Verify job, if the backup job fails there is no need to run
237 the verify job, as the backup job already failed. However, one may like
238 to backup the Catalog to disk despite of that the main backup job failed.
241 I see that this is related to the Event Handlers which are on the ToDo
242 list, also it is maybe a good idea to check for the return value and
243 execute different actions based on the return value
246 3. offline capability to bconsole
249 Currently I use a script which I execute within the last Job via the
250 RunAfterJob Directive, to release and eject the tape.
251 So I have to call bconsole "release=Storage-Name" and afterwards
252 mt -f /dev/nst0 eject to get the tape out.
254 If I have multiple Storage Devices, than these may not be /dev/nst0 and
255 I have to modify the script or call it with parameters etc.
256 This would actually not be needed, as everything is already defined
257 in bacula-sd.conf and if I can invoke bconsole with the
258 storage name via $1 in the script than I'm done and information is
261 4. %s for Storage Name added to the chars being substituted in "RunAfterJob"
265 For the reason mentioned in 3. to have the ability to call a
266 script with /scripts/foobar %s and in the script use $1
267 to pass the Storage Name to bconsole
269 5. Setting Volume State within a Job Resource
272 Instead of using "Maximum Volume Jobs" in the Pool Resource,
273 I would have the possibilty to define
274 in a Job Resource that after this certain job is run, the Volume State
275 should be set to "Volume State = Used", this give more flexibility (IMHO).
277 6. Localization of Bacula Messages
280 Unfortunatley many,many people I work with don't speak english very well.
281 So if at least the Reporting messages would be localized then they
282 would understand that they have to change the tape,etc. etc.
284 I volunteer to do the german translations, and if I can convince my wife also
285 french and Morre (western african language).
287 7. OK, this is evil, probably bound to security risks and maybe not possible
288 due to the design of bacula.
290 Implementation of Backtics ( `command` ) for shell comand execution to
291 the "Label Format" Directive.
295 Currently I have defined BACULA_DAY_OF_WEEK="day1|day2..." resulting in
296 Label Format = "HolyBackup-${BACULA_DAY_OF_WEEK[${WeekDay}]}". If I could
297 use backticks than I could use "Label Format = HolyBackup-`date +%A` to have
298 the localized name for the day of the week appended to the
299 format string. Then I have the tape labeled automatically with weekday
300 name in the correct language.
302 - Yes, that is surely the case. I probably should turn those into Warning
303 errors. In addition, you just made me think that it might not be bad to
304 add an option to check the file size after backing up the file and
305 report if it changes. This would be done as an option because it would
308 Kern, good idea. If you do do that, mention in the output: file
309 shrunk, or file expanded, just to make it obvious to the user
310 (without having to the refer to file size), just how the file size
313 Would this option be for all file, or just one file? Or a fileset?
314 - Make output from status use html table tags for nicely
315 presenting in a browser.
316 - Can one write tapes faster with 8192 byte block sizes?
317 - Document security problems with the same password for everyone in
318 rpm and Win32 releases.
319 - Browse generations of files.
320 - I've seen an error when my catalog's File table fills up. I
321 then have to recreate the File table with a larger maximum row
322 size. Relevant information is at
323 http://dev.mysql.com/doc/mysql/en/Full_table.html ; I think the
324 "Installing and Configuring MySQL" chapter should talk a bit
325 about this potential problem, and recommend a solution.
326 - For Solaris must use POSIX awk.
327 - Want speed of writing to tape while despooling.
328 - Supported autochanger:
336 Wangtek 6525ES (SCSI-1 QIC drive, 525MB), under Linux 2.4.something,
337 bacula 1.36.0/1 works with blocksize 16k INSIDE bacula-sd.conf.
338 - Add regex from http://www.pcre.org to Bacula for Win32.
339 - Use only shell tools no make in CDROM package.
340 - Include within include does it work?
341 - Implement a Pool of type Cleaning?
342 - Implement VolReadTime and VolWriteTime in SD
343 - Modify Backing up Your Database to include a bootstrap file.
344 - Think about making certain database errors fatal.
345 - Look at correcting the time jump in the scheduler for daylight
346 savings time changes.
347 - Add a "real" timer to network connections.
348 - Promote to Full = Time period
349 - Check dates entered by user for correctness (month/day/... ranges)
350 - Compress restore Volume listing by date and first file.
351 - Look at patches/bacula_db.b2z postgresql that loops during restore.
353 - Perhaps add read/write programs and/or plugins to FileSets.
354 - How to handle backing up portables ...
355 - Add some sort of guaranteed Interval for upgrading jobs.
356 - Can we write the state file after every job terminates? On Win32
357 the system crashes and the state file is not updated.
360 Documentation to do: (any release a little bit at a time)
361 - Doc to do unmount before removing magazine.
362 - Alternative to static linking "ldd prog" save all binaries listed,
363 restore them and point LD_LIBRARY_PATH to them.
364 - Document add "</dev/null >/dev/null 2>&1" to the bacula-fd command line
365 - Document query file format.
366 - Add more documentation for bsr files.
367 - Document problems with Verify and pruning.
368 - Document how to use multiple databases.
369 - VXA drives have a "cleaning required"
370 indicator, but Exabyte recommends preventive cleaning after every 75
373 In this context, it should be noted that Exabyte has a command-line
374 vxatool utility available for free download. (The current version is
375 vxatool-3.72.) It can get diagnostic info, read, write and erase tapes,
376 test the drive, unload tapes, change drive settings, flash new firmware,
378 Of particular interest in this context is that vxatool <device> -i will
379 report, among other details, the time since last cleaning in tape motion
380 minutes. This information can be retrieved (and settings changed, for
381 that matter) through the generic-SCSI device even when Bacula has the
382 regular tape device locked. (Needless to say, I don't recommend
383 changing tape settings while a job is running.)
384 - Lookup HP cleaning recommendations.
385 - Lookup HP tape replacement recommendations (see trouble shooting autochanger)
386 - Document doing table repair
389 ===================================
390 - Add macro expansions in JobDefs.
391 Run Before Job = "SomeFile %{Level} %{Client}"
392 Write Bootstrap="/some/dir/%{JobName}_%{Client}.bsr"
393 - Use non-blocking network I/O but if no data is available, use
395 - Use gather write() for network I/O.
396 - Autorestart on crash.
397 - Add bandwidth limiting.
398 - Add acks every once and a while from the SD to keep
399 the line from timing out.
400 - When an error in input occurs and conio beeps, you can back
401 up through the prompt.
402 - Detect fixed tape block mode during positioning by looking at
403 block numbers in btape "test". Possibly adjust in Bacula.
404 - Fix list volumes to output volume retention in some other
405 units, perhaps via a directive.
406 - If opening a tape in read/write mode fails attempt to open
407 it in read-only mode, and mark the tape for read only.
408 - Allow Simultaneous Priorities = yes => run up to Max concurrent jobs even
409 with multiple priorities.
410 - If you use restore replace=never, the directory attributes for
411 non-existent directories will not be restored properly.
413 - see lzma401.zip in others directory for new compression
415 - Minimal autochanger handling in Bacula and in btape.
416 - Look into how tar does not save sockets and the possiblity of
417 not saving them in Bacula (Martin Simmons reported this).
418 - Fix restore jobs so that multiple jobs can run if they
419 are not using the same tape(s).
420 - Allow the user to select JobType for manual pruning/purging.
421 - bscan does not put first of two volumes back with all info in
423 - Implement the FreeBSD nodump flag in chflags.
424 - Figure out how to make named console messages go only to that
425 console and to the non-restricted console (new console class?).
426 - Make restricted console prompt for password if *ask* is set or
427 perhaps if password is undefined.
428 - Implement "from ISO-date/time every x hours/days/weeks/months" in
431 ==== from Marc Schoechlin
432 - the help-command should be more verbose
433 (it should explain the paramters of the different
435 -> its time-comsuming to consult the manual anytime
436 you need a special parameter
437 -> maybe its more easy to maintain this, if the
438 descriptions of that commands are outsourced to
440 - the cd-command should allow complete paths
441 i.e. cd /foo/bar/foo/bar
442 -> if a customer mails me the path to a certain file,
443 its faster to enter the specified directory
444 - if the password is not configured in bconsole.conf
445 you should be asked for it.
446 -> sometimes you like to do restore on a customer-machine
447 which shouldnt know the password for bacula.
448 -> adding the password to the file favours admins
449 to forget to remove the password after usage
451 the protection of that file is less important
452 - long-listed-output of commands should be scrollable
453 like the unix more/less-command does
454 -> if someone runs 200 and more machines, the lists could
455 be a little long and complex
456 - command-output should be shown column by column
457 to reduce scrolling and to increase clarity
459 - lsmark should list the selected files with full
461 - wildcards for selecting and file and directories would be nice
462 - any actions should be interuptable with STRG+C
463 - command-expansion would be pretty cool
465 - When the replace Never option is set, new directory permissions
466 are not restored. See bug 213. To fix this requires creating a
467 list of newly restored directories so that those directory
468 permissions *can* be restored.
469 - Compaction of Disk space by "migrating" Volumes that have pruned
470 Jobs (what criteria? size, #jobs, time).
471 - Add prune all command
472 - Document fact that purge can destroy a part of a restore by purging
473 one volume while others remain valid -- perhaps mark Jobs.
474 - Add multiple-media-types.txt
475 - look at mxt-changer.html
476 - Make ? do a help command (no return needed).
477 - Implement restore directory.
478 - Document streams and how to implement them.
479 - Try not to re-backup a file if a new hard link is added.
480 - Add feature to backup hard links only, but not the data.
481 - Fix stream handling to be simpler.
482 - Add Priority and Bootstrap to Run a Job.
483 - Eliminate Restore "Run Restore Job" prompt by allowing new "run command
485 - Remove View FileSet button from Run a Job dialog.
486 - Handle prompt for restore job at end of Restore command.
487 - Add display of total selected files to Restore window.
488 - Add tree pane to left of window.
489 - Add progress meter.
490 - Max wait time or max run time causes seg fault -- see runtime-bug.txt
491 - Document writing to a CD/DVD with Bacula.
492 - Add a "base" package to the window installer for pthreadsVCE.dll
493 which is needed by all packages.
494 - Add message to user to check for fixed block size when the forward
495 space test fails in btape.
496 - When unmarking a directory check if all files below are unmarked and
497 then remove the + flag -- in the restore tree.
498 - Possibly implement: Action = Unmount Device="TapeDrive1" in Admin jobs.
499 - Setup lrrd graphs: (http://www.linpro.no/projects/lrrd/) Mike Acar.
500 - Revisit the question of multiple Volumes (disk) on a single device.
501 - Add a block copy option to bcopy.
502 - Investigate adding Mac Resource Forks.
503 - Finish work on Gnome restore GUI.
504 - Fix "llist jobid=xx" where no fileset or client exists.
505 - For each job type (Admin, Restore, ...) require only the really necessary
506 fields.- Pass Director resource name as an option to the Console.
507 - Add a "batch" mode to the Console (no unsolicited queries, ...).
508 - Add a .list all files in the restore tree (probably also a list all files)
509 Do both a long and short form.
510 - Allow browsing the catalog to see all versions of a file (with
511 stat data on each file).
512 - Restore attributes of directory if replace=never set but directory
514 - Use SHA1 on authentication if possible.
515 - See comtest-xxx.zip for Windows code to talk to USB.
516 - Add John's appended files:
517 Appended = { /files/server/logs/http/*log }
518 and such files would be treated as follows.On a FULL backup, they would
519 be backed up like any other file.On an INCREMENTAL backup, where a
520 previous INCREMENTAL or FULL was already in thecatalogue and the length
521 of the file wasgreater than the length of the last backup, only thedata
522 added since the last backup will be dumped.On an INCREMENTAL backup, if
523 the length of the file is less than thelength of the file with the same
524 name last backed up, the completefile is dumped.On Windows systems, with
525 creation date of files, we can be evensmarter about this and not count
526 entirely upon the length.On a restore, the full and all incrementals
527 since it will beapplied in sequence to restore the file.
528 - Check new HAVE_WIN32 open bits.
529 - Check if the tape has moved before writing.
530 - Handling removable disks -- see below:
531 - Keep track of tape use time, and report when cleaning is necessary.
532 - Add FromClient and ToClient keywords on restore command (or
533 BackupClient RestoreClient).
534 - Implement a JobSet, which groups any number of jobs. If the
535 JobSet is started, all the jobs are started together.
536 Allow Pool, Level, and Schedule overrides.
537 - Enhance cancel to timeout BSOCK packets after a specific delay.
538 - Do scheduling by UTC using gmtime_r() in run_conf, scheduler, and
539 ua_status.!!! Thanks to Alan Brown for this tip.
540 - Look at updating Volume Jobs so that Max Volume Jobs = 1 will work
541 correctly for multiple simultaneous jobs.
542 - Correct code so that FileSet MD5 is calculated for < and | filename
544 - Implement the Media record flag that indicates that the Volume does disk
546 - Implement VolAddr, which is used when Volume is addressed like a disk,
547 and form it from VolFile and VolBlock.
548 - Make multiple restore jobs for multiple media types specifying
549 the proper storage type.
550 - Fix fast block rejection (stored/read_record.c:118). It passes a null
551 pointer (rec) to try_repositioning().
552 - Look at extracting Win data from BackupRead.
553 - Implement RestoreJobRetention? Maybe better "JobRetention" in a Job,
554 which would take precidence over the Catalog "JobRetention".
555 - Implement Label Format in Add and Label console commands.
556 - Possibly up network buffers to 65K. Put on variable.
557 - Put email tape request delays on one or more variables. User wants
558 to cancel the job after a certain time interval. Maximum Mount Wait?
559 - Job, Client, Device, Pool, or Volume?
560 Is it possible to make this a directive which is *optional* in multiple
561 resources, like Level? If so, I think I'd make it an optional directive
562 in Job, Client, and Pool, with precedence such that Job overrides Client
563 which in turn overrides Pool.
565 - New Storage specifications:
566 - Want to write to multiple storage devices simultaneously
567 - Want to write to multiple storage devices sequentially (in one job)
568 - Want to read/write simultaneously
569 - Key is MediaType -- it must match
571 Passed to SD as a sort of BSR record called Storage Specification
575 MediaType -> Next MediaType
577 Device -> Next Device
579 Allow multiple Storage specifications
587 Allow Multiple Pool specifications (note, Pool currently
589 Allow Multiple MediaType specifications in Dir conf
590 Allow Multiple Device specifications in Dir conf
591 Perhaps keep this in a single SSR
592 Tie a Volume to a specific device by using a MediaType that
593 is contained in only one device.
594 In SD allow Device to have Multiple MediaTypes
596 - Ideas from Jerry Scharf:
597 First let's point out some big pluses that bacula has for this
599 more importantly it's active. Thank you so much for that
600 even more important, it's not flaky
601 it has an open access catalog, opening many possibilities
602 it's pushing toward heterogeneous systems capability
604 Macintosh file client
605 macs are an interesting niche, but I fear a server is a rathole
606 working bare iron recovery for windows
607 the option for inc/diff backups not reset on fileset revision
608 a) use both change and inode update time against base time
609 b) do the full catalog check (expensive but accurate)
610 sizing guide (how much system is needed to back up N systems/files)
611 consultants on using bacula in building a disaster recovery system
613 or how to get at fancy things that one could do with bacula
614 logwatch code for bacula logs (or similar)
615 linux distro inclusion of bacula (brings good and bad, but necessary)
616 win2k/XP server capability (icky but you asked)
617 support for Oracle database ??
619 - Look at adding SQL server and Exchange support for Windows.
620 - Make dev->file and dev->block_num signed integers so that -1 can
621 be an invalid value which happens with BSR.
622 - Create VolAddr for disk files in place of VolFile and VolBlock. This
623 is needed to properly specify ranges.
624 - Add progress of files/bytes to SD and FD.
625 - Print warning message if FileId > 4 billion
626 - do a "messages" before the first prompt in Console
627 - Client does not show busy during Estimate command.
628 - Implement Console mtx commands.
629 - Implement a Mount Command and an Unmount Command where
630 the users could specify a system command to be performed
631 to do the mount, after which Bacula could attempt to
632 read the device. This is for Removeable media such as a CDROM.
633 - Most likely, this mount command would be invoked explicitly
634 by the user using the current Console "mount" and "unmount"
635 commands -- the Storage Daemon would do the right thing
636 depending on the exact nature of the device.
637 - As with tape drives, when Bacula wanted a new removable
638 disk mounted, it would unmount the old one, and send a message
639 to the user, who would then use "mount" as described above
640 once he had actually inserted the disk.
641 - Implement dump/print label to UA
642 - Spool to disk only when the tape is full, then when a tape is hung move
644 - bextract is sending everything to the log file ****FIXME****
645 - Allow multiple Storage specifications (or multiple names on
646 a single Storage specification) in the Job record. Thus a job
647 can be backed up to a number of storage devices.
648 - Implement some way for the File daemon to contact the Director
649 to start a job or pass its DHCP obtained IP number.
650 - Implement a query tape prompt/replace feature for a console
651 - Copy console @ code to gnome2-console
652 - Make AES the only encryption algorithm see
653 http://csrc.nist.gov/CryptoToolkit/aes/). It's
654 an officially adopted standard, has survived peer
655 review, and provides keys up to 256 bits.
656 - Take a careful look at SetACL http://setacl.sourceforge.net
657 - Make tree walk routines like cd, ls, ... more user friendly
658 by handling spaces better.
659 - Make sure that Bacula rechecks the tape after the 20 min wait.
660 - Set IO_NOWAIT on Bacula TCP/IP packets.
661 - Try doing a raw partition backup and restore by mounting a
664 Yes, it would allow to highly automatic the request for new tapes. If a
665 tape is empty, bacula reads the barcodes (native or simulated), and if
666 an unused tape is found, it runs the label command with all the
667 necessary parameters.
669 By the way can bacula automatically "move" an empty/purged volume say
670 in the "short" pool to the "long" pool if this pool runs out of volume
672 - What to do about "list files job=xxx".
673 - Get and test MySQL 4.0
674 - Look at how fuser works and /proc/PID/fd that is how Nic found the
675 file descriptor leak in Bacula.
676 - Implement WrapCounters in Counters.
677 - Add heartbeat from FD to SD if hb interval expires.
678 - Can we dynamically change FileSets?
679 - If pool specified to label command and Label Format is specified,
680 automatically generate the Volume name.
681 - Why can't SQL do the filename sort for restore?
682 - Add ExhautiveRestoreSearch
683 - Look at the possibility of loading only the necessary
684 data into the restore tree (i.e. do it one directory at a
685 time as the user walks through the tree).
686 - Possibly use the hash code if the user selects all for a restore command.
687 - Fix "restore all" to bypass building the tree.
688 - Prohibit backing up archive device (findlib/find_one.c:128)
689 - Implement Release Device in the Job resource to unmount a drive.
690 - Implement Acquire Device in the Job resource to mount a drive,
691 be sure this works with admin jobs so that the user can get
692 prompted to insert the correct tape. Possibly some way to say to
693 run the job but don't save the files.
694 - Make things like list where a file is saved case independent for
697 - Use autochanger to handle multiple devices.
698 - On Windows with very long path names, it may be impossible to create
699 a file (and thus restore it) because the total length is too long.
700 We must cd into the directory then create the file without the
702 - Implement a Recycle command
703 - Test a second language e.g. french.
704 - Start working on Base jobs.
705 - Implement UnsavedFiles DB record.
706 - From Phil Stracchino:
707 It would probably be a per-client option, and would be called
708 something like, say, "Automatically purge obsoleted jobs". What it
709 would do is, when you successfully complete a Differential backup of a
710 client, it would automatically purge all Incremental backups for that
711 client that are rendered redundant by that Differential. Likewise,
712 when a Full backup on a client completed, it would automatically purge
713 all Differential and Incremental jobs obsoleted by that Full backup.
714 This would let people minimize the number of tapes they're keeping on
715 hand without having to master the art of retention times.
716 - When doing a Backup send all attributes back to the Director, who
717 would then figure out what files have been deleted.
718 - Currently in mount.c:236 the SD simply creates a Volume. It should have
719 explicit permission to do so. It should also mark the tape in error
720 if there is an error.
721 - Cancel waiting for Client connect in SD if FD goes away.
723 - Implement timeout in response() when it should come quickly.
724 - Implement a Slot priority (loaded/not loaded).
725 - Implement "vacation" Incremental only saves.
726 - Implement create "FileSet"?
727 - Add prefixlinks to where or not where absolute links to FD.
728 - Issue message to mount a new tape before the rewind.
729 - Simplified client job initiation for portables.
730 - If SD cannot open a drive, make it periodically retry.
731 - Add more of the config info to the tape label.
733 - If tape is marked read-only, then try opening it read-only rather than
734 failing, and remember that it cannot be written.
735 - Refine SD waiting output:
736 Device is being positioned
737 > Device is being positioned for append
738 > Device is being positioned to file x
740 - Figure out some way to estimate output size and to avoid splitting
741 a backup across two Volumes -- this could be useful for writing CDROMs
742 where you really prefer not to have it split -- not serious.
743 - Have SD compute MD5 or SHA1 and compare to what FD computes.
744 - Make VolumeToCatalog calculate an MD5 or SHA1 from the
745 actual data on the Volume and compare it.
746 - Implement Bacula plugins -- design API
747 - Make bcopy read through bad tape records.
748 - Program files (i.e. execute a program to read/write files).
749 Pass read date of last backup, size of file last time.
750 - Add Signature type to File DB record.
751 - CD into subdirectory when open()ing files for backup to
752 speed up things. Test with testfind().
753 - Priority job to go to top of list.
754 - Why are save/restore of device different sizes (sparse?) Yup! Fix it.
755 - Implement some way for the Console to dynamically create a job.
756 - Solaris -I on tar for include list
757 - Need a verbose mode in restore, perhaps to bsr.
758 - bscan without -v is too quiet -- perhaps show jobs.
759 - Add code to reject whole blocks if not wanted on restore.
760 - Check if we can increase Bacula FD priorty in Win2000
761 - Make sure the MaxVolFiles is fully implemented in SD
762 - Check if both CatalogFiles and UseCatalog are set to SD.
763 - Possibly add email to Watchdog if drive is unmounted too
764 long and a job is waiting on the drive.
765 - After unmount, if restore job started, ask to mount.
766 - Add UA rc and history files.
767 - put termcap (used by console) in ./configure and
768 allow -with-termcap-dir.
769 - Fix Autoprune for Volumes to respect need for full save.
770 - Compare tape to Client files (attributes, or attributes and data)
771 - Make all database Ids 64 bit.
772 - Allow console commands to detach or run in background.
773 - Fix status delay on storage daemon during rewind.
774 - Add SD message variables to control operator wait time
775 - Maximum Operator Wait
776 - Minimum Message Interval
777 - Maximum Message Interval
778 - Send Operator message when cannot read tape label.
779 - Verify level=Volume (scan only), level=Data (compare of data to file).
780 Verify level=Catalog, level=InitCatalog
782 - Add keyword search to show command in Console.
783 - Events : tape has more than xxx bytes.
784 - Complete code in Bacula Resources -- this will permit
785 reading a new config file at any time.
786 - Handle ctl-c in Console
787 - Implement script driven addition of File daemon to config files.
788 - Think about how to make Bacula work better with File (non-tape) archives.
789 - Write Unix emulator for Windows.
790 - Put memory utilization in Status output of each daemon
791 if full status requested or if some level of debug on.
792 - Make database type selectable by .conf files i.e. at runtime
793 - Set flag for uname -a. Add to Volume label.
794 - Restore files modified after date
795 - SET LD_RUN_PATH=$HOME/mysql/lib/mysql
796 - Remove duplicate fields from jcr (e.g. jcr.level and jcr.jr.Level, ...).
797 - Timout a job or terminate if link goes down, or reopen link and query.
798 - Concept of precious tapes (cannot be reused).
799 - Make bcopy copy with a single tape drive.
800 - Permit changing ownership during restore.
803 > My suggestion: Add a feature on the systray menu-icon menu to request
804 > an immediate backup now. This would be useful for laptop users who may
805 > not be on the network when the regular scheduled backup is run.
807 > My wife's suggestion: Add a setting to the win32 client to allow it to
808 > shut down the machine after backup is complete (after, of course,
809 > displaying a "System will shut down in one minute, click here to cancel"
810 > warning dialog). This would be useful for sites that want user
811 > woorkstations to be shut down overnight to save power.
814 - Autolabel should be specified by DIR instead of SD.
817 - AutoScan (check checksum of tape)
818 - Format command = "format /dev/nst0"
822 - Seek resolution (usually corresponds to buffer size)
823 - EODErrorCode=ENOSPC or code
824 - Partial Read error code
825 - Partial write error code
826 - Nonformatted read error
827 - Nonformatted write error
828 - WriteProtected error
832 - IgnoreCloseErrors=yes
842 - FD sends unsaved file list to Director at end of job (see
844 - File daemon should build list of files skipped, and then
845 at end of save retry and report any errors.
846 - Write a Storage daemon that uses pipes and
847 standard Unix programs to write to the tape.
849 - Need something that monitors the JCR queue and
850 times out jobs by asking the deamons where they are.
851 - Enhance Jmsg code to permit buffering and saving to disk.
852 - device driver = "xxxx" for drives.
854 - Ensure that /dev/null works
855 - Need report class for messages. Perhaps
856 report resource where report=group of messages
857 - enhance scan_attrib and rename scan_jobtype, and
858 fill in code for "since" option
859 - Director needs a time after which the report status is sent
860 anyway -- or better yet, a retry time for the job.
861 - Don't reschedule a job if previous incarnation is still running.
862 - Some way to automatically backup everything is needed????
863 - Need a structure for pending actions:
865 - termination status (part of buffered msgs?)
867 Read, Write, Clean, Delete
868 - Login to Bacula; Bacula users with different permissions:
869 owner, group, user, quotas
870 - Store info on each file system type (probably in the job header on tape.
871 This could be the output of df; or perhaps some sort of /etc/mtab record.
873 ========= ideas ===============
874 From: "Jerry K. Schieffer" <jerry@skylinetechnology.com>
875 To: <kern@sibbald.com>
876 Subject: RE: [Bacula-users] future large programming jobs
877 Date: Thu, 26 Feb 2004 11:34:54 -0600
879 I noticed the subject thread and thought I would offer the following
880 merely as sources of ideas, i.e. something to think about, not even as
881 strong as a request. In my former life (before retiring) I often
882 dealt with backups and storage management issues/products as a
883 developer and as a consultant. I am currently migrating my personal
884 network from amanda to bacula specifically because of the ability to
885 cross media boundaries during storing backups.
886 Are you familiar with the commercial product called ADSM (I think IBM
887 now sells it under the Tivoli label)? It has a couple of interesting
888 ideas that may apply to the following topics.
890 1. Migration: Consider that when you need to restore a system, there
891 may be pressure to hurry. If all the information for a single client
892 can eventually end up on the same media (and in chronological order),
893 the restore is facillitated by not having to search past information
894 from other clients. ADSM has the concept of "client affinity" that
895 may be associated with it's storage pools. It seems to me that this
896 concept (as an optional feature) might fit in your architecture for
899 ADSM also has the concept of defining one or more storage pools as
900 "copy pools" (almost mirrors, but only in the sense of contents).
901 These pools provide the ability to have duplicte data stored both
902 onsite and offsite. The copy process can be scheduled to be handled
903 by their storage manager during periods when there is no backup
904 activity. Again, the migration process might be a place to consider
905 implementing something like this.
908 > It strikes me that it would be very nice to be able to do things
910 > have the Job(s) backing up the machines run, and once they have all
911 > completed, start a migration job to copy the data from disks Volumes
913 > a tape library and then to offsite storage. Maybe this can already
915 > done with some careful scheduling and Job prioritzation; the events
916 > mechanism described below would probably make it very easy.
918 This is the goal. In the first step (before events), you simply
920 the Migration to tape later.
922 2. Base jobs: In ADSM, each copy of each stored file is tracked in
923 the database. Once a file (unique by path and metadata such as dates,
924 size, ownership, etc.) is in a copy pool, no more copies are made. In
925 other words, when you start ADSM, it begins like your concept of a
926 base job. After that it is in the "incremental" mode. You can
927 configure the number of "generations" of files to be retained, plus a
928 retention date after which even old generations are purged. The
929 database tracks the contents of media and projects the percentage of
930 each volume that is valid. When the valid content of a volume drops
931 below a configured percentage, the valid data are migrated to another
932 volume and the old volume is marked as empty. Note, this requires
933 ADSM to have an idea of the contents of a client, i.e. marking the
934 database when an existing file was deleted, but this would solve your
935 issue of restoring a client without restoring deleted files.
937 This is pretty far from what bacula now does, but if you are going to
938 rip things up for Base jobs,.....
939 Also, the benefits of this are huge for very large shops, especially
940 with media robots, but are a pain for shops with manual media
944 > Base jobs sound pretty useful, but I'm not dying for them.
946 Nobody is dying for them, but when you see what it does, you will die
949 3. Restoring deleted files: Since I think my comments in (2) above
950 have low probability of implementation, I'll also suggest that you
951 could approach the issue of deleted files by a mechanism of having the
952 fd report to the dir, a list of all files on the client for every
953 backup job. The dir could note in the database entry for each file
954 the date that the file was seen. Then if a restore as of date X takes
955 place, only files that exist from before X until after X would be
956 restored. Probably the major cost here is the extra date container in
957 each row of the files table.
959 Thanks for "listening". I hope some of this helps. If you want to
960 contact me, please send me an email - I read some but not all of the
961 mailing list traffic and might miss a reply there.
963 Please accept my compliments for bacula. It is doing a great job for
964 me!! I sympathize with you in the need to wrestle with excelence in
965 execution vs. excelence in feature inclusion.
970 ==============================
973 - Design at hierarchial storage for Bacula. Migration and Clone.
974 - Implement FSM (File System Modules).
975 - Audit M_ error codes to ensure they are correct and consistent.
976 - Add variable break characters to lex analyzer.
977 Either a bit mask or a string of chars so that
978 the caller can change the break characters.
979 - Make a single T_BREAK to replace T_COMMA, etc.
980 - Ensure that File daemon and Storage daemon can
981 continue a save if the Director goes down (this
982 is NOT currently the case). Must detect socket error,
983 buffer messages for later.
984 - Enhance time/duration input to allow multiple qualifiers e.g. 3d2h
985 - Add ability to backup to two Storage devices (two SD sessions) at
986 the same time -- e.g. onsite, offsite.
987 - Add the ability to consolidate old backup sets (basically do a restore
988 to tape and appropriately update the catalog). Compress Volume sets.
989 Might need to spool via file is only one drive is available.
990 - Compress or consolidate Volumes of old possibly deleted files. Perhaps
991 someway to do so with every volume that has less than x% valid
995 Migration: Move a backup from one Volume to another
996 Clone: Copy a backup -- two Volumes
998 Bacula Migration is based on Jobs (apparently Networker is file by file).
1000 Migration triggered by:
1004 Highwater mark (keep total size)
1009 ======================================================
1011 It is somewhat like a Full save becomes an incremental since
1012 the Base job (or jobs) plus other non-base files.
1014 - A Base backup is same as Full backup, just different type.
1015 - New BaseFiles table that contains:
1017 BaseJobId - Base JobId referenced for this FileId (needed ???)
1018 JobId - JobId currently running
1019 FileId - File not backed up, exists in Base Job
1020 FileIndex - FileIndex from Base Job.
1021 i.e. for each base file that exists but is not saved because
1022 it has not changed, the File daemon sends the JobId, BaseId,
1023 FileId, FileIndex back to the Director who creates the DB entry.
1024 - To initiate a Base save, the Director sends the FD
1025 the FileId, and full filename for each file in the Base.
1026 - When the FD finds a Base file, he requests the Director to
1027 send him the full File entry (stat packet plus MD5), or
1028 conversely, the FD sends it to the Director and the Director
1029 says yes or no. This can be quite rapid if the FileId is kept
1030 by the FD for each Base Filename.
1031 - It is probably better to have the comparison done by the FD
1032 despite the fact that the File entry must be sent across the
1034 - An alternative would be to send the FD the whole File entry
1035 from the start. The disadvantage is that it requires a lot of
1036 space. The advantage is that it requires less communications
1038 - The Job record must be updated to indicate that one or more
1040 - At end of Job, FD returns:
1041 1. Count of base files/bytes not written to tape (i.e. matches)
1042 2. Count of base file that were saved i.e. had changed.
1043 - No tape record would be written for a Base file that matches, in the
1044 same way that no tape record is written for Incremental jobs where
1045 the file is not saved because it is unchanged.
1046 - On a restore, all the Base file records must explicitly be
1047 found from the BaseFile tape. I.e. for each Full save that is marked
1048 to have one or more Base Jobs, search the BaseFile for all occurrences
1050 - An optimization might be to make the BaseFile have:
1056 This would avoid the need to explicitly fetch each File record for
1057 the Base job. The Base Job record will be fetched to get the
1058 VolSessionId and VolSessionTime.
1059 =========================================================
1062 ==========================================================
1064 For each Incremental job that is run, there may be files that
1065 were found but not saved because they were locked (this applies
1066 only to Windows). Such a system could send back to the Director
1067 a list of Unsaved files.
1069 - New UnSavedFiles table that contains:
1073 - Then in the next Incremental job, the list of Unsaved Files will be
1074 feed to the FD, who will ensure that they are explicitly chosen even
1075 if standard date/time check would not have selected them.
1076 =============================================================
1080 Multiple drive autochanger data: see Alan Brown
1081 mtx -f xxx unloadStorage Element 1 is Already Full(drive 0 was empty)
1082 Unloading Data Transfer Element into Storage Element 1...source Element
1083 Address 480 is Empty
1085 (drive 0 was empty and so was slot 1)
1086 > mtx -f xxx load 15 0
1087 no response, just returns to the command prompt when complete.
1088 > mtx -f xxx status Storage Changer /dev/changer:2 Drives, 60 Slots ( 2 Import/Export )
1089 Data Transfer Element 0:Full (Storage Element 15 Loaded):VolumeTag = HX001
1090 Data Transfer Element 1:Empty
1091 Storage Element 1:Empty
1092 Storage Element 2:Full :VolumeTag=HX002
1093 Storage Element 3:Full :VolumeTag=HX003
1094 Storage Element 4:Full :VolumeTag=HX004
1095 Storage Element 5:Full :VolumeTag=HX005
1096 Storage Element 6:Full :VolumeTag=HX006
1097 Storage Element 7:Full :VolumeTag=HX007
1098 Storage Element 8:Full :VolumeTag=HX008
1099 Storage Element 9:Full :VolumeTag=HX009
1100 Storage Element 10:Full :VolumeTag=HX010
1101 Storage Element 11:Empty
1102 Storage Element 12:Empty
1103 Storage Element 13:Empty
1104 Storage Element 14:Empty
1105 Storage Element 15:Empty
1106 Storage Element 16:Empty....
1107 Storage Element 28:Empty
1108 Storage Element 29:Full :VolumeTag=CLNU01L1
1109 Storage Element 30:Empty....
1110 Storage Element 57:Empty
1111 Storage Element 58:Full :VolumeTag=NEX261L2
1112 Storage Element 59 IMPORT/EXPORT:Empty
1113 Storage Element 60 IMPORT/EXPORT:Empty
1115 Unloading Data Transfer Element into Storage Element 15...done
1117 (just to verify it remembers where it came from, however it can be
1118 overrriden with mtx unload {slotnumber} to go to any storage slot.)
1120 There needs to be a table of drive # to devices somewhere - If there are
1121 multiple changers or drives there may not be a 1:1 correspondance between
1122 changer drive number and system device name - and depending on the way the
1123 drives are hooked up to scsi busses, they may not be linearly numbered
1124 from an offset point either.something like
1126 Autochanger drives = 2
1127 Autochanger drive 0 = /dev/nst1
1128 Autochanger drive 1 = /dev/nst2
1129 IMHO, it would be _safest_ to use explicit mtx unload commands at all
1130 times, not just for multidrive changers. For a 1 drive changer, that's
1136 MTX's manpage (1.2.15):
1137 unload [<slotnum>] [ <drivenum> ]
1138 Unloads media from drive <drivenum> into slot
1139 <slotnum>. If <drivenum> is omitted, defaults to
1140 drive 0 (as do all commands). If <slotnum> is
1141 omitted, defaults to the slot that the drive was
1142 loaded from. Note that there's currently no way
1143 to say 'unload drive 1's media to the slot it
1144 came from', other than to explicitly use that
1145 slot number as the destination.AB
1151 undef# camcontrol devlist
1152 <WANGTEK 51000 SCSI M74H 12B3> at scbus0 target 2 lun 0 (pass0,sa0)
1153 <ARCHIVE 4586XX 28887-XXX 4BGD> at scbus0 target 4 lun 0 (pass1,sa1)
1154 <ARCHIVE 4586XX 28887-XXX 4BGD> at scbus0 target 4 lun 1 (pass2)
1156 tapeinfo -f /dev/sg0 with a bad tape in drive 1:
1157 [kern@rufus mtx-1.2.17kes]$ ./tapeinfo -f /dev/sg0
1158 Product Type: Tape Drive
1160 Product ID: 'C5713A '
1162 Attached Changer: No
1163 TapeAlert[3]: Hard Error: Uncorrectable read/write error.
1164 TapeAlert[20]: Clean Now: The tape drive neads cleaning NOW.
1171 Medium Type: Not Loaded
1174 DataCompEnabled: yes
1175 DataCompCapable: yes
1176 DataDeCompEnabled: yes
1183 Handling removable disks
1185 From: Karl Cunningham <karlc@keckec.com>
1187 My backups are only to hard disk these days, in removable bays. This is my
1188 idea of how a backup to hard disk would work more smoothly. Some of these
1189 things Bacula does already, but I mention them for completeness. If others
1190 have better ways to do this, I'd like to hear about it.
1192 1. Accommodate several disks, rotated similar to how tapes are. Identified
1193 by partition volume ID or perhaps by the name of a subdirectory.
1194 2. Abort & notify the admin if the wrong disk is in the bay.
1195 3. Write backups to different subdirectories for each machine to be backed
1197 4. Volumes (files) get created as needed in the proper subdirectory, one
1199 5. When a disk is recycled, remove or zero all old backup files. This is
1200 important as the disk being recycled may be close to full. This may be
1201 better done manually since the backup files for many machines may be
1202 scattered in many subdirectories.
1207 - Save mount point for directories not traversed with onefs=yes.
1208 - Add seconds to start and end times in the Job report output.
1209 - if 2 concurrent backups are attempted on the same tape
1210 drive (autoloader) into different tape pools, one of them will exit
1211 fatally instead of halting until the drive is idle
1212 - Update StartTime if job held in Job Queue.
1213 - Look at www.nu2.nu/pebuilder as a helper for full windows
1214 bare metal restore. (done by Scott)
1215 - Fix orphanned buffers:
1216 Orphaned buffer: 24 bytes allocated at line 808 of rufus-dir job.c
1217 Orphaned buffer: 40 bytes allocated at line 45 of rufus-dir alist.c
1218 - Implement Preben's suggestion to add
1219 File System Types = ext2, ext3
1220 to FileSets, thus simplifying backup of *all* local partitions.
1221 - Try to open a device on each Job if it was not opened
1222 when the SD started.
1223 - Add dump of VolSessionId/Time and FileIndex with bls.
1224 - If Bacula does not find the right tape in the Autochanger,
1225 then mark the tape in error and move on rather than asking
1226 for operator intervention.
1227 - Cancel command should include JobId in list of Jobs.
1228 - Add performance testing hooks
1229 - Bootstrap from JobMedia records.
1230 - Implement WildFile and WildDir to solve problem of
1231 saving only *.doc files.
1233 Please use the "label" command to create a new Volume for:
1234 Storage: DDS-4-changer
1238 The defined Storage resources are:
1239 - Copy Changer Device and Changer Command from Autochanger
1240 to Device resource in SD if none given in Device resource.
1241 - 1. Automatic use of more than one drive in an autochanger (done)
1242 - 2. Automatic selection of the correct drive for each Job (i.e.
1243 selects a drive with an appropriate Volume for the Job) (done)
1244 - 6. Allow multiple simultaneous Jobs referencing the same pool write
1245 to several tapes (some new directive(s) are are probably needed for
1248 - Key on Storage rather than Pool (done)
1249 - Allow multiple drives to use same Pool (change jobq.c DIR) (done).
1250 - Synchronize multiple drives so that not more
1251 than one loads a tape and any time (done)
1252 - 4. Use Changer Device and Changer Command specified in the
1253 Autochanger resource, if none is found in the Device resource.
1254 You can continue to specify them in the Device resource if you want
1255 or need them to be different for each device.
1256 - 5. Implement a new Device directive (perhaps "Autoselect = yes/no")
1257 that can allow a Device be part of an Autochanger, and hence the changer
1258 script protected, but if set to no, will prevent the Device from being
1259 automatically selected from the changer. This allows the device to
1260 be directly accessed through its Device name, but not through the
1262 #6 Select one from among Multiple Storage Devices for Job
1263 #5 Events that call a Python program
1264 (Implemented in Dir/SD)
1265 - Make sure the Device name is in the Query packet returned.
1266 - Don't start a second file job if one is already running.
1267 - Implement EOF/EOV labels for ANSI labels
1268 - Implement IBM labels.
1269 - When Python creates a new label, the tape is immediately
1270 recycled and no label created. This happens when using
1271 autolabeling -- even when Python doesn't generate the name.
1272 - Scratch Pool where the volumes can be re-assigned to any Pool.
1273 - 28-Mar 23:19 rufus-sd: acquire.c:379 Device "DDS-4" (/dev/nst0)
1274 is busy reading. Job 6 canceled.
1275 - Remove separate thread for opening devices in SD. On the other
1276 hand, don't block waiting for open() for devices.
1277 - Fix code to either handle updating NumVol or to calculate it in
1279 - Ensure that you cannot exclude a directory or a file explicitly
1281 #4 Embedded Python Scripting
1282 (Implemented in Dir/SD/FD)
1283 - Add Python writable variable for changing the Priority,
1284 Client, Storage, JobStatus (error), ...
1287 - Add disk seeking on restore; turn off seek on tapes.
1289 - Look at dird_conf.c:1000: warning: `int size'
1290 might be used uninitialized in this function
1291 - Indicate when a Job is purged/pruned during restore.
1292 - Implement some way to turn off automatic pruning in Jobs.
1293 - Implement a way an Admin Job can prune, possibly multiple
1294 clients -- Python script?
1295 - Look at Preben's acl.c error handling code.
1296 - SD crashes after a tape restore then doing a backup.
1297 - If drive is opened read/write, close it and re-open
1298 read-only if doing a restore, and vice-versa.
1300 data-fd: RestoreFiles.2004-12-07_15.56.42 Error:
1301 > ..\findlib\../../findlib/create_file.c:275 Could not open e:/: ERR=Der
1302 > Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen
1303 > Prozess verwendet wird.
1304 Restore restores all files, but then fails at the end trying
1305 to set the attributes of e:
1306 from failed jobs.- Resolve the problem between Device name and Archive name,
1307 and fix SD messages.
1308 - Tell the "restore" user when browsing is no longer possible.
1309 - Add a restore directory-x
1310 - Write non-optimized bsrs from the JobMedia and Media records,
1311 even after Files are pruned.
1312 - Delete Stripe and Copy from VolParams to save space.
1313 - Fix option 2 of restore -- list where file is backed up -- require Client,
1314 then list last 20 backups.
1315 - Finish implementation of passing all Storage and Device needs to
1317 - Move test for max wait time exceeded in job.c up -- Peter's idea.
1318 ## Consider moving docs to their own project.
1319 ## Move rescue to its own project.
1320 - Add client version to the Client name line that prints in
1322 - Fix the Rescue CDROM.
1323 - By the way: on page http://www.bacula.org/?page=tapedrives , at the
1324 bottom, the link to "Tape Testing Chapter" is broken. It goes to
1325 /html-manual/... while the others point to /rel-manual/...
1326 - Device resource needs the "name" of the SD.
1327 - Specify a single directory to restore.
1328 - Implement MediaType keyword in bsr?
1329 - Add a date and time stamp at the beginning of every line in the
1330 Job report (Volker Sauer).
1331 - Add level to estimate command.
1332 - Add "limit=n" for "list jobs"
1333 - Make bootstrap filename unique.
1334 - Make Dmsg look at global before calling subroutine.
1336 it seems to be complaining about 12:00pm which should be a valid 12
1337 hour time. I changed the time to 11:59am and everything works fine.
1338 Also 12:00am works fine. 0:00pm also works (which I don't think
1339 should). None of the values 12:00pm - 12:59pm work for that matter.
1340 - Require restore via the restore command or make a restore Job
1341 get the bootstrap file.
1342 - Implement Maximum Job Spool Size
1343 - Fix 3993 error in SD. It forgets to look at autochanger
1344 resource for device command, ...
1345 - 3. Prevent two drives requesting the same Volume in any given
1346 autochanger, by checking if a Volume is mounted on another drive
1348 - Upgrade to MySQL 4.1.12 See:
1349 http://dev.mysql.com/doc/mysql/en/Server_SQL_mode.html
1350 - Add # Job Level date to bsr file
1351 - Implement "PreferMountedVolumes = yes|no" in Job resource.
1352 ## Integrate web-bacula into a new Bacula project with
1354 - Cleaning tapes should have Status "Cleaning" rather than append.
1355 - Make sure that Python has access to Client address/port so that
1356 it can check if Clients are alive.
1357 - Review all items in "restore".
1358 - Fix PostgreSQL GROUP BY problems in restore.
1359 - Fix PostgreSQL sql problems in bugs.
1361 04-Jul 13:01 MainSD: Rufus.2005-07-04_01.05.02 Warning: Director wanted Volume
1363 Current Volume "DLT-04Jul05" not acceptable because:
1364 1997 Volume "DLT-13Feb04" not in catalog.
1365 04-Jul 13:01 MainSD: Please mount Volume "DLT-04Jul05" on Storage Device
1366 "HP DLT 80" (/dev/nst0) for Job Rufus.2005-07-04_01.05.02
1367 ## Create a new GUI chapter explaining all the GUI programs.
1368 - Make "update slots" when pointing to Autochanger, remove
1369 all Volumes from other drives. "update slots all-drives"?
1370 No, this is done by modifying mtx-changer to list what is
1372 - Finish TLS implementation.
1373 - Port limiting -m in iptables to prevent DoS attacks
1374 could cause broken pipes on Bacula.
1375 6. Build and test the Volume Shadow Copy (VSS) for Win32.