On 1/17/06, Arno Lehmann <[EMAIL PROTECTED]> wrote:
You might try to manually select the jobs to restore, starting with the
latest full backups, and adding the diff/inc ones that apply.
(Admittedly, that's what Bacula *should* do automatically.) Compare that
job list with the one from the automatic selection, and compare which
files it offers to restore.
If there really is a discrepancy, you should file a bug report.
This is what bconsole reports when I choose to do a restore and select option 5 for the most recent backup:
Automatically selected FileSet: Full Set
+-------+-------+----------+---------------------+----------------+-----------+--------------+----------------+
| JobId | Level | JobFiles | StartTime | VolumeName | StartFile | VolSessionId | VolSessionTime |
+-------+-------+----------+---------------------+----------------+-----------+--------------+----------------+
| 120 | F | 306,607 | 2005-12-05 10:09:52 | Luna-Full-0002 | 0 | 34 | 1,133,188,252 |
| 120 | F | 306,607 | 2005-12-05 10:09:52 | Luna-Full-0002 | 0 | 34 | 1,133,188,252 |
| 295 | D | 11,525 | 2006-01-08 23:23:47 | Luna-Diff-0001 | 0 | 28 | 1,136,312,616 |
| 300 | I | 3,884 | 2006-01-09 23:35:27 | Luna-Inc-0003 | 0 | 33 | 1,136,312,616 |
| 305 | I | 3,942 | 2006-01-10 23:21:12 | Luna-Inc-0003 | 0 | 38 | 1,136,312,616 |
| 310 | I | 3,919 | 2006-01-11 23:21:11 | Luna-Inc-0004 | 0 | 43 | 1,136,312,616 |
+-------+-------+----------+---------------------+----------------+-----------+--------------+----------------+
You have selected the following JobIds: 120,295,300,305,310
Building directory tree for JobId 120 ...
Building directory tree for JobId 295 ... +
Building directory tree for JobId 300 ...
Building directory tree for JobId 305 ...
Building directory tree for JobId 310 ...
5 Jobs, 11,690 files inserted into the tree.
This makes sense until you read the last line. Why does it say "5 Jobs, 11,690 files inserted into the tree."? Shouldn't have a file count closer to the file count of the full backup (120) above? Why does job ID 120 show up twice?
Of course you double-checked that the directories you mention below are
included in your backups, right?
Yes, I have four partitions per machine not counting the swap partition: /, /boot, /u, /appl.
This is a snippet of the FileSet used by all my clients from bacula-dir.conf:
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
compression = GZIP9
}
#
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitons such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula build
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
File = /
File = /boot
File = /u
File = /appl
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
When I use bls to look at what's on the Volumes, everything appears to be there. Does this mean my catalog is corrupted? If so, how do I fix it?