Kern's ToDo List
- 06 March 2008
+ 02 May 2008
Document:
+- This patch will give Bacula the option to specify files in
+ FileSets which can be dropped in directories which are Included
+ which will cause that directory not the be backed up.
+
+ For example, my FileSet contains:
+ # List of files to be backed up
+ FileSet {
+ Name = "Remote Specified1"
+ Include {
+ Options {
+ signature = MD5
+ }
+ File = "\\</etc/bacula-include"
+ IgnoreDir = .notthisone
+ }
+ Exclude {
+ File = "\\</etc/bacula-exclude"
+ }
+ }
+
+ And /etc/bacula-include contains:
+
+ /home
+
+ But in /home, there are hundreds of directories of users and some
+ people want to indicate that they don't want to have certain
+ directories backed-up:
+
+ /home/edwin/www/cache
+ /home/edwin/temp
+
+ So I can put them in /etc/bacula-exclude, but that is a system
+ file and not editable for mortal users. To make it possible for
+ users to make it clear to the system that certain directories
+ don't need to be backed up, they now can create file called
+ .notthisone:
+
+ /home/edwin/www/cache/.notthisone
+ /home/edwin/temp/.notthisone
+
+ so that the backup system will be clear of rubbish like stuff in
+ these two directories but still that I as administrator of the
+ system don't have to be involved in it.
- !!! Cannot restore two jobs a the same time that were
written simultaneously unless they were totally spooled.
- Document cleaning up the spool files:
Priority:
================
-Tom Ivar Helbekkmo <tih@hamartun.priv.no>
-> There's definitely something fishy in the recording of start and
-> end blocks in the JOBMEDIA table.
-> - If several jobs start spooling at the same time, they will all get the
-> current tape position noted as the StartFile/StartBlock for the job.
-> If they end up despooling to the file that was current when they
-> started spooling, this is what will end up in the JOBMEDIA table. If
-> there is a file change before they despool, the setting of NewFile in
-> the dcr structure will fix this up later, but the "start of session"
-> label is already in the spool file, of course, so it holds the wrong
-> information anyway.
->
-> - If the job is longer than the maximum spool size, it will get its
-> first spool session despooled, and then start spooling again after the
-> first despooling is over. The last blocks despooled to tape from the
-> first session will not have been recorded, but they will be flushed
-> later, when the next session despools. However, if another job has
-> been despooling while this one is spooling its second round, the
-> session label written to the spool file at its close will cause the
-> EndFile/Endblock to be set to wherever the tape is at that time. When
-> the dangling record is flushed to JOBMEDIA, it gets this wrong
-> information. Both session labels in the spool file will be wrong,
-> too, of course, because they reflect the state of the tape during
-> spooling, not during despooling.
->
-> I would have to study the code much more closely to work out what's the
-> proper fix -- but it seems clear that it should involve creating the
-> session labels only when something is actually written to the archive
-> device, not during spooling. I'm tempted to try making do_append_data()
-> not create session labels if we're spooling, and add the making of them
-> to despool_data() in stored/spool.c. Sound reasonable?
-===========
-
-
+- Change calling sequence to delete_job_id_range() in ua_cmds.c
+ the preceding strtok() is done inside the subroutine only once.
+- Dangling softlinks are not restored properly. For example, take a
+ soft link such as src/testprogs/install-sh, which points to /usr/share/autoconf...
+ move the directory to another machine where the file /usr/share/autoconf does
+ not exist, back it up, then try a full restore. It fails.
+- Check for FD compatibility -- eg .nobackup ...
- Re-check new dcr->reserved_volume
- Softlinks that point to non-existent file are not restored in restore all,
but are restored if the file is individually selected. BUG!
- Implement unmount of USB volumes.
- Use "./config no-idea no-mdc2 no-rc5" on building OpenSSL for
Win32 to avoid patent problems.
+- Implement multiple jobid specification for the cancel command,
+ similar to what is permitted on the update slots command.
- Implement Bacula plugins -- design API
- modify pruning to keep a fixed number of versions of a file,
if requested.
i.e. cd /foo/bar/foo/bar
-> if a customer mails me the path to a certain file,
its faster to enter the specified directory
-- Fix bpipe.c so that it does not modify results pointer.
- ***FIXME*** calling sequence should be changed.
- Make tree walk routines like cd, ls, ... more user friendly
by handling spaces better.
=== rate design
in only one catalog -- currently Pools are "global".
- Add TLS to bat (should be done).
=== Duplicate jobs ===
+- Done, but implemented somewhat differently than described below!!!
+
hese apply only to backup jobs.
1. Allow Duplicate Jobs = Yes | No | Higher (Yes)
}
===
+- Fix bpipe.c so that it does not modify results pointer.
+ ***FIXME*** calling sequence should be changed.